summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-02-18 09:27:58 +0000
committerChristian Heim <phreak@gentoo.org>2006-02-18 09:27:58 +0000
commit56f1b1da936dc5beae4268d806de6521273086c4 (patch)
tree9ac971792f6c93a2c9897132077cdb6f63cbde2b /sys-cluster/vzctl
parentAdded virtual/libintl to RDEPEND, bug #123102 (diff)
downloadgentoo-2-56f1b1da936dc5beae4268d806de6521273086c4.tar.gz
gentoo-2-56f1b1da936dc5beae4268d806de6521273086c4.tar.bz2
gentoo-2-56f1b1da936dc5beae4268d806de6521273086c4.zip
Version bump; Modifying the ebuild to remove /etc/sysconfig; Its completly unnecessary on Gentoo
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-cluster/vzctl')
-rw-r--r--sys-cluster/vzctl/ChangeLog10
-rw-r--r--sys-cluster/vzctl/Manifest28
-rw-r--r--sys-cluster/vzctl/files/digest-vzctl-2.7.0.24-r16
-rw-r--r--sys-cluster/vzctl/files/digest-vzctl-2.7.0.25-r16
-rw-r--r--sys-cluster/vzctl/vzctl-2.7.0.24-r1.ebuild76
-rw-r--r--sys-cluster/vzctl/vzctl-2.7.0.25-r1.ebuild73
6 files changed, 185 insertions, 14 deletions
diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog
index 6c484095b64a..df4e844be290 100644
--- a/sys-cluster/vzctl/ChangeLog
+++ b/sys-cluster/vzctl/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-cluster/vzctl
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.11 2006/02/18 09:18:22 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.12 2006/02/18 09:27:58 phreak Exp $
+
+*vzctl-2.7.0.25-r1 (18 Feb 2006)
+*vzctl-2.7.0.24-r1 (18 Feb 2006)
+
+ 18 Feb 2006; Christian Heim <phreak@gentoo.org> +vzctl-2.7.0.24-r1.ebuild,
+ +vzctl-2.7.0.25-r1.ebuild:
+ Modifying the ebuild to remove /etc/sysconfig; Its completly unnecessary
+ on Gentoo
18 Feb 2006; Christian Heim <phreak@gentoo.org>
-files/vzctl-2.7.0.23-gentoo_etc_vz.patch, -files/vzctl-2.7.0-amd64.patch,
diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest
index 016b3f25fbc3..fbae94841a64 100644
--- a/sys-cluster/vzctl/Manifest
+++ b/sys-cluster/vzctl/Manifest
@@ -1,31 +1,33 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3d6fe5df8fb2372eb2ca554595b29280 ChangeLog 2132
-RMD160 b7cad5312a3f83672334c080af781c117cac6232 ChangeLog 2132
-SHA256 f63614e3dee9c70d6647a56758d58e4529f68dc6525f66fc96ac71222a62c68e ChangeLog 2132
+MD5 8b4b31545a0899bf92f7d66620c51bf8 ChangeLog 2390
+RMD160 e4cf23c78e3d71753e0667328beb17d91196f155 ChangeLog 2390
+SHA256 ca29aafb896625caacbf59a6f3491fceaaddc68ab8854797ea1c8ff96684a411 ChangeLog 2390
MD5 3236a2f9ce3ca6d1b4bd679a1a9f7d23 files/digest-vzctl-2.7.0.24 518
RMD160 7583c7394f5774b22756ca351b7e1905cab5a918 files/digest-vzctl-2.7.0.24 518
SHA256 163bc729b5ce1ee15d1f284baf29c2b780304a89f36cfcf0f3b5ac4f448e8441 files/digest-vzctl-2.7.0.24 518
+MD5 d63787772c99ecfe42f933a90f0beb1e files/digest-vzctl-2.7.0.24-r1 518
+RMD160 9605a262e34562dcff8eb7cb7804e2ec6247eef5 files/digest-vzctl-2.7.0.24-r1 518
+SHA256 e86f3a9ce76be0542e407f8368e5b701ddf8f765d9a0b74c88109c018b6ab589 files/digest-vzctl-2.7.0.24-r1 518
MD5 c6ced3cddbb3dda9a60336e82e68e52f files/digest-vzctl-2.7.0.25 518
RMD160 96b6b1293ccff487df49dcab044152842f480216 files/digest-vzctl-2.7.0.25 518
SHA256 9324d6f79c8c7052d3c6fc5f37675ec8ca360c14b7357840f36f37a68f4c7c9d files/digest-vzctl-2.7.0.25 518
+MD5 8a5cf57aeb5239ee46115ea7b8ff1d0a files/digest-vzctl-2.7.0.25-r1 518
+RMD160 cd28fbb5a7604891067d85e7850cfd623d8d5f2d files/digest-vzctl-2.7.0.25-r1 518
+SHA256 7a5d89078fc63b84906cf27401bcf87f8b7f5520cfeed2c857a6ef7d2c9659e1 files/digest-vzctl-2.7.0.25-r1 518
MD5 a2de79b189da1c2d3fd01fa2116bcea9 files/vz.initd 5465
RMD160 303e4877e95db9f90d512b37d67cdaa94e823d52 files/vz.initd 5465
SHA256 63c17d2783cfd01fcfb66aa8b0c572ea6bf366d59a72c10f1728091c7eaa5fc0 files/vz.initd 5465
MD5 e5ba31c20aa49371e645a8950abd1054 metadata.xml 231
RMD160 532e75c33676f402571b5033faf42b7d0dbb9d28 metadata.xml 231
SHA256 018942ba3f2ac5b93ec2576f55ff8d85b7808b35b751bfabb1879957f4f6c442 metadata.xml 231
+MD5 2698d082c81573d55293b535402790ad vzctl-2.7.0.24-r1.ebuild 1784
+RMD160 ca41519b326bba776466f0cf4583237a7f999cbf vzctl-2.7.0.24-r1.ebuild 1784
+SHA256 f080f1515a79d3bf1bfd6f83e0d9ef31b20fffaa1ed9906f401d7900ecce6e30 vzctl-2.7.0.24-r1.ebuild 1784
MD5 d4d7a8e7cb9d9f35dbcdd4a4b03b5a17 vzctl-2.7.0.24.ebuild 1885
RMD160 21e6c867203bfffecbd01355991e0267d1ce2a3f vzctl-2.7.0.24.ebuild 1885
SHA256 b26a6c6adaff7530dcd5c9cd15ab03451cf94c38ff68cd775a4955554e1657e7 vzctl-2.7.0.24.ebuild 1885
+MD5 bf2b6ffe357f2f45e47484d691e22bec vzctl-2.7.0.25-r1.ebuild 1704
+RMD160 bf884075b4196673d03b2686c07e6cfa77811371 vzctl-2.7.0.25-r1.ebuild 1704
+SHA256 3f65f4c718737d73070cdbb178bdb1c0a67ccd3ff3bf2113926b4575c4c948c9 vzctl-2.7.0.25-r1.ebuild 1704
MD5 c8da668a1a0d9703651ff9b2b7b8de0f vzctl-2.7.0.25.ebuild 1821
RMD160 c486f836679bc2eb8c319c1aaef7fb82fe28d197 vzctl-2.7.0.25.ebuild 1821
SHA256 9a47021cb788e622d78f0e0e59f0ad9504ad0c2493eddaf97472dd147a56d171 vzctl-2.7.0.25.ebuild 1821
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
-
-iD8DBQFD9uZuflZ8QqxhrsMRAgOrAJ9uHfYppwUjhxPAsqON2unVTyWfxQCgvg3y
-BezddybshKBYJwMACfqZdVc=
-=txFJ
------END PGP SIGNATURE-----
diff --git a/sys-cluster/vzctl/files/digest-vzctl-2.7.0.24-r1 b/sys-cluster/vzctl/files/digest-vzctl-2.7.0.24-r1
new file mode 100644
index 000000000000..cbcfae4f0906
--- /dev/null
+++ b/sys-cluster/vzctl/files/digest-vzctl-2.7.0.24-r1
@@ -0,0 +1,6 @@
+MD5 89bca7cc0936156905b1f01f778b09ff vzctl-2.7.0-24.tar.bz2 97877
+RMD160 6550566690360f157373314f23cc1f434fdaf8fa vzctl-2.7.0-24.tar.bz2 97877
+SHA256 438e254a3f5b1e2ad275b0aff67d8c6d12fe8dcf1714f7e786bb6ed266559a85 vzctl-2.7.0-24.tar.bz2 97877
+MD5 8f1ac45ecb2a1cfb14ec985ed0e9cd4e vzctl-2.7.0.24-patches-r1.tar.bz2 4704
+RMD160 3be8c27407684f87731fa98801963cde5214d302 vzctl-2.7.0.24-patches-r1.tar.bz2 4704
+SHA256 bd50a59f9719e7622bc222f5f4fd0e691dcb4c7ebda53ab4f1adfc291e9f7a71 vzctl-2.7.0.24-patches-r1.tar.bz2 4704
diff --git a/sys-cluster/vzctl/files/digest-vzctl-2.7.0.25-r1 b/sys-cluster/vzctl/files/digest-vzctl-2.7.0.25-r1
new file mode 100644
index 000000000000..e5e8cc713277
--- /dev/null
+++ b/sys-cluster/vzctl/files/digest-vzctl-2.7.0.25-r1
@@ -0,0 +1,6 @@
+MD5 4b588927a590c8e91b185ba9442f97d6 vzctl-2.7.0-25.tar.bz2 98704
+RMD160 0de2485e9041a23c8d164f42f2e0582a9ae12e1a vzctl-2.7.0-25.tar.bz2 98704
+SHA256 1082fdbad27f8c849379b596fc5abadec1171448afdf77017dafe4b93b7d2f50 vzctl-2.7.0-25.tar.bz2 98704
+MD5 531f6e7dfaac93fe55505500cdd5a90d vzctl-2.7.0.25-patches-r1.tar.bz2 3911
+RMD160 d8c3668b48cf4157ba86fb714002aa83bcce8162 vzctl-2.7.0.25-patches-r1.tar.bz2 3911
+SHA256 fe160b8b5fb4848211242f678786e25da045cb03f4e8eb9779144a6cc2bae37d vzctl-2.7.0.25-patches-r1.tar.bz2 3911
diff --git a/sys-cluster/vzctl/vzctl-2.7.0.24-r1.ebuild b/sys-cluster/vzctl/vzctl-2.7.0.24-r1.ebuild
new file mode 100644
index 000000000000..941cfe5d0c95
--- /dev/null
+++ b/sys-cluster/vzctl/vzctl-2.7.0.24-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-2.7.0.24-r1.ebuild,v 1.1 2006/02/18 09:27:58 phreak Exp $
+
+inherit eutils toolchain-funcs versionator linux-info
+
+VVER="$(get_version_component_range 1-3 ${PV})"
+VREL="$(get_version_component_range 4 ${PV})"
+MY_PV="${VVER}-${VREL}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="OpenVZ VPS control utility"
+HOMEPAGE="http://openvz.org/"
+SRC_URI="http://download.openvz.org/utils/${PN}/${MY_PV}/src/${MY_P}.tar.bz2
+ http://dev.gentoo.org/~phreak/distfiles/${P}-patches-${PR}.tar.bz2
+ http://dev.gentoo.org/~hollow/distfiles/${P}-patches-${PR}.tar.bz2"
+
+LICENSE="QPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-admin/logrotate
+ app-shells/bash
+ sys-apps/sed
+ sys-apps/ed
+ sys-apps/grep
+ sys-apps/gawk
+ sys-apps/coreutils
+ net-firewall/iptables
+ app-arch/tar
+ sys-fs/vzquota
+ sys-process/procps
+ sys-apps/iproute2"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+CONFIG_CHECK="FAIRSCHED VE VE_CALLS VE_NETDEV VE_IPTABLES"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ check_kernel_built
+}
+
+src_unpack() {
+ unpack ${A} || die
+ cd "${S}" || die
+
+ epatch "${WORKDIR}"/patches/vzctl-2.7.0-gentoo_conf_d.patch
+ epatch "${WORKDIR}"/patches/vzctl-2.7.0.23-gentoo_etc_vz.patch
+
+ # fix hardcoded lib paths
+ use amd64 && epatch "${WORKDIR}"/patches/vzctl-2.7.0-amd64.patch
+
+ # fix PIC
+ epatch "${WORKDIR}"/patches/vzctl-2.7.0.24-pic.patch
+}
+
+src_compile() {
+ emake VZKERNEL_HEADERS=${KV_DIR}/include || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" VZCONFDIR=/etc/conf.d/ install || die "make install failed"
+
+ # sysconfig is vendor specific
+ rm -rf ${D}/etc/sysconfig
+
+ # Install gentoo specific init script
+ rm -f ${D}/etc/init.d/*
+ newinitd ${FILESDIR}/vz.initd vz
+
+ # Fix permissions on cron.d files
+ chmod 0644 ${D}/etc/cron.d/*
+}
diff --git a/sys-cluster/vzctl/vzctl-2.7.0.25-r1.ebuild b/sys-cluster/vzctl/vzctl-2.7.0.25-r1.ebuild
new file mode 100644
index 000000000000..1b02e0da70e6
--- /dev/null
+++ b/sys-cluster/vzctl/vzctl-2.7.0.25-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-2.7.0.25-r1.ebuild,v 1.1 2006/02/18 09:27:58 phreak Exp $
+
+inherit eutils toolchain-funcs versionator linux-info
+
+VVER="$(get_version_component_range 1-3 ${PV})"
+VREL="$(get_version_component_range 4 ${PV})"
+MY_PV="${VVER}-${VREL}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="OpenVZ VPS control utility"
+HOMEPAGE="http://openvz.org/"
+SRC_URI="http://download.openvz.org/utils/${PN}/${MY_PV}/src/${MY_P}.tar.bz2
+ http://dev.gentoo.org/~phreak/distfiles/${P}-patches-${PR}.tar.bz2
+ http://dev.gentoo.org/~hollow/distfiles/${P}-patches-${PR}.tar.bz2"
+
+LICENSE="QPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-admin/logrotate
+ app-shells/bash
+ sys-apps/sed
+ sys-apps/ed
+ sys-apps/grep
+ sys-apps/gawk
+ sys-apps/coreutils
+ net-firewall/iptables
+ app-arch/tar
+ sys-fs/vzquota
+ sys-process/procps
+ sys-apps/iproute2"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+CONFIG_CHECK="FAIRSCHED VE VE_CALLS VE_NETDEV VE_IPTABLES"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ check_kernel_built
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${WORKDIR}"/patches/vzctl-2.7.0-gentoo_conf_d.patch
+ epatch "${WORKDIR}"/patches/vzctl-2.7.0.23-gentoo_etc_vz.patch
+
+ # fix hardcoded lib paths
+ use amd64 && epatch "${WORKDIR}"/patches/vzctl-2.7.0-amd64.patch
+}
+
+src_compile() {
+ emake VZKERNEL_HEADERS=${KV_DIR}/include || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" VZCONFDIR=/etc/conf.d/ install || die "make install failed"
+
+ # sysconfig is vendor specific
+ rm -rf ${D}/etc/sysconfig
+
+ # Install gentoo specific init script
+ rm -f ${D}/etc/init.d/*
+ newinitd ${FILESDIR}/vz.initd vz
+
+ # Fix permissions on cron.d files
+ chmod 0644 ${D}/etc/cron.d/*
+}