From: Christian Heim Date: Thu, 18 Jan 2007 09:40:04 +0000 (+0000) Subject: Initial ebuild for 3.0.14, including a build-time fix (thanks to Kir Kolyshkin ). Package-Manager: portage-2.1.2 --- diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog index 50366ff86fd8..18bf532f562e 100644 --- a/sys-cluster/vzctl/ChangeLog +++ b/sys-cluster/vzctl/ChangeLog @@ -1,6 +1,13 @@ # 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.39 2006/12/03 08:33:48 hollow Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.40 2007/01/18 09:40:03 phreak Exp $ + +*vzctl-3.0.14 (18 Jan 2007) + + 18 Jan 2007; Christian Heim + +files/vzctl-3.0.14-ndsend.c.patch, +vzctl-3.0.14.ebuild: + Initial ebuild for 3.0.14, including a build-time fix (thanks to Kir + Kolyshkin ). 03 Dec 2006; Benedikt Böhm vzctl-3.0.13.ebuild: ovz bug #254 has been solved; add ~ppc64 and ~sparc; cleanup diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest index b9ed1dca5984..f6de24ba4c71 100644 --- a/sys-cluster/vzctl/Manifest +++ b/sys-cluster/vzctl/Manifest @@ -9,9 +9,14 @@ AUX vz.initd 5465 RMD160 303e4877e95db9f90d512b37d67cdaa94e823d52 SHA1 967cc1a9d MD5 a2de79b189da1c2d3fd01fa2116bcea9 files/vz.initd 5465 RMD160 303e4877e95db9f90d512b37d67cdaa94e823d52 files/vz.initd 5465 SHA256 63c17d2783cfd01fcfb66aa8b0c572ea6bf366d59a72c10f1728091c7eaa5fc0 files/vz.initd 5465 +AUX vzctl-3.0.14-ndsend.c.patch 333 RMD160 0a1fda036be77bfc5b4569ba5c0df395deb0ec7a SHA1 d0c99f4d6535425031f7b840a6667d77be36b120 SHA256 8fef90a7b4c8193c0df7b8460fc5345bf7eca5b07d7a00691a7468fe45967418 +MD5 10807ba11492d1d129a88aaa5259912c files/vzctl-3.0.14-ndsend.c.patch 333 +RMD160 0a1fda036be77bfc5b4569ba5c0df395deb0ec7a files/vzctl-3.0.14-ndsend.c.patch 333 +SHA256 8fef90a7b4c8193c0df7b8460fc5345bf7eca5b07d7a00691a7468fe45967418 files/vzctl-3.0.14-ndsend.c.patch 333 DIST vzctl-3.0.0-8.tar.bz2 115033 RMD160 5bba4d678ea617f05220b4aca921ea62cd355e98 SHA1 f6dc12f3572897cbc9f0ebf8b4f438756b320983 SHA256 7322bebc6f6b476cd2c8a1f9a3e601f9e723142ee317eb3304d40d0e068fc632 DIST vzctl-3.0.0.8-patches-r0.tar.bz2 3816 RMD160 33fa63aa9749beedf6bd7dfd03f11658edfa6266 SHA1 727e323d73c3505ebc47221850df7f695f7bc43d SHA256 f1ac3df3a9f6f0f62ef97dd0b770cee800c37e3a267105c8fddc2f68dd05d535 DIST vzctl-3.0.13.tar.bz2 129562 RMD160 8d161c1249c90d817044c0638da0bbae4d3041b1 SHA1 f7b4ea671146f43e7fdd9876b8e963211208a2a2 SHA256 c087a6ac18249e9050825fc371b324757ef2ff26de747e25bcaacf591bbd8b76 +DIST vzctl-3.0.14.tar.bz2 356300 RMD160 529b4e3bb1fbcf673831d2891becedf6e003dcd8 SHA1 c773b495d688ee6b172d1c0941a5a57e2c188c57 SHA256 86be0231fd12f97e45bae8dae86fadc466e631051d4ee04569d40bb8f82d8b83 EBUILD vzctl-3.0.0.8.ebuild 1720 RMD160 1a4021b5cbecc80d523d5c207911ab558bb08393 SHA1 a3d5124f6e47ff95f5b7fc5359533f88e893542e SHA256 05e79597417cca500073db713bed3da8c4ea95ed4f0788279c7235dc789fbe3c MD5 8c19abdd920fd9bc4734c496aae0bec4 vzctl-3.0.0.8.ebuild 1720 RMD160 1a4021b5cbecc80d523d5c207911ab558bb08393 vzctl-3.0.0.8.ebuild 1720 @@ -20,10 +25,14 @@ EBUILD vzctl-3.0.13.ebuild 1870 RMD160 466079e348d8796b00d6db46268414c2940d2de3 MD5 e808e31e8cf567e1f0a63a06b68ead49 vzctl-3.0.13.ebuild 1870 RMD160 466079e348d8796b00d6db46268414c2940d2de3 vzctl-3.0.13.ebuild 1870 SHA256 740161da009861f899deedfc69dadc94960f5d21dea597b89c80aaa665c5f10d vzctl-3.0.13.ebuild 1870 -MISC ChangeLog 7169 RMD160 a1c1b46ef656342127aed9287a54013f66dbf291 SHA1 f0f66ade0cf7ba4528321f81937abd1ff384384a SHA256 ee563dbe1bb462c4ba37f63897b28abb99b921e4c457e9f66c08ed0573475464 -MD5 9832f66b308eeea3f1ad3125118fa544 ChangeLog 7169 -RMD160 a1c1b46ef656342127aed9287a54013f66dbf291 ChangeLog 7169 -SHA256 ee563dbe1bb462c4ba37f63897b28abb99b921e4c457e9f66c08ed0573475464 ChangeLog 7169 +EBUILD vzctl-3.0.14.ebuild 1705 RMD160 ee294b00faa5d859ac4e13690229ead6ae2b0db5 SHA1 7df5daea34229a006925c6d9ad72fa0cb0b15192 SHA256 a087017898439444c51c6003bf61e4a9efb4b32a5f758bc187b7aa633e7f2b97 +MD5 b272bdd95f4a705ed45ac77e144b572a vzctl-3.0.14.ebuild 1705 +RMD160 ee294b00faa5d859ac4e13690229ead6ae2b0db5 vzctl-3.0.14.ebuild 1705 +SHA256 a087017898439444c51c6003bf61e4a9efb4b32a5f758bc187b7aa633e7f2b97 vzctl-3.0.14.ebuild 1705 +MISC ChangeLog 7411 RMD160 20c45f3568a5245c8bada27cc52f6c7b1d88b8d7 SHA1 61fcba23a8524df3aebd303c4493b26a594ac38d SHA256 efc775040eb4c9bb31e0db07bd1ebe50dd95ff7762d15462dec6526a2a4e22bc +MD5 af1a46710687999db0feaef8ed9abec9 ChangeLog 7411 +RMD160 20c45f3568a5245c8bada27cc52f6c7b1d88b8d7 ChangeLog 7411 +SHA256 efc775040eb4c9bb31e0db07bd1ebe50dd95ff7762d15462dec6526a2a4e22bc ChangeLog 7411 MISC metadata.xml 231 RMD160 532e75c33676f402571b5033faf42b7d0dbb9d28 SHA1 5e2b3b183660e76e9a8d93b7aeab6ce5857581c1 SHA256 018942ba3f2ac5b93ec2576f55ff8d85b7808b35b751bfabb1879957f4f6c442 MD5 e5ba31c20aa49371e645a8950abd1054 metadata.xml 231 RMD160 532e75c33676f402571b5033faf42b7d0dbb9d28 metadata.xml 231 @@ -34,10 +43,13 @@ SHA256 dc1dba3fb70c9a7212de8916eaaeb3c2b4a6b847702d90e0c58d06c62e9b3dc2 files/di MD5 aaaf174fe27349eec16072c6523280ed files/digest-vzctl-3.0.13 241 RMD160 b6e8fa07379d2c8c884ac9025d8720addab2eb88 files/digest-vzctl-3.0.13 241 SHA256 335b6a51a7ca25cc81b1106514f4ef55a1016edf9393aeaca6b5dcf1281889a0 files/digest-vzctl-3.0.13 241 +MD5 604d30b9c731718babaeebabb624dd01 files/digest-vzctl-3.0.14 241 +RMD160 f2ada0ab328e14ff8b97255c320a6fdc82b9f89a files/digest-vzctl-3.0.14 241 +SHA256 f31d206d22b741c4a7e5b5acee694512e153e1d7f8c4e61e1e9d31c9d633d611 files/digest-vzctl-3.0.14 241 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFcov3mPFBzbX68WERAt57AJoCmUJi41eTRzKO3rxeKTZQSME71gCgjTvj -Z6A4k8RJrd/3BYe7+ZOVqqY= -=BtPN +iD8DBQFFr0BYyuNVb5qfaOYRAl57AKCIRXoNvoqWEOrmy3ociSQ8HvCBzgCfVnhZ +pl0h5Xw9mcFAhOavZJGP3oM= +=O4Pk -----END PGP SIGNATURE----- diff --git a/sys-cluster/vzctl/files/digest-vzctl-3.0.14 b/sys-cluster/vzctl/files/digest-vzctl-3.0.14 new file mode 100644 index 000000000000..07b13a27600b --- /dev/null +++ b/sys-cluster/vzctl/files/digest-vzctl-3.0.14 @@ -0,0 +1,3 @@ +MD5 c0e3a15f711e5161b504f77b52898906 vzctl-3.0.14.tar.bz2 356300 +RMD160 529b4e3bb1fbcf673831d2891becedf6e003dcd8 vzctl-3.0.14.tar.bz2 356300 +SHA256 86be0231fd12f97e45bae8dae86fadc466e631051d4ee04569d40bb8f82d8b83 vzctl-3.0.14.tar.bz2 356300 diff --git a/sys-cluster/vzctl/files/vzctl-3.0.14-ndsend.c.patch b/sys-cluster/vzctl/files/vzctl-3.0.14-ndsend.c.patch new file mode 100644 index 000000000000..f41d65bf9deb --- /dev/null +++ b/sys-cluster/vzctl/files/vzctl-3.0.14-ndsend.c.patch @@ -0,0 +1,12 @@ +Index: vzctl-3.0.14/src/ndsend.c +=================================================================== +--- vzctl-3.0.14.orig/src/ndsend.c ++++ vzctl-3.0.14/src/ndsend.c +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + #include + #include + diff --git a/sys-cluster/vzctl/vzctl-3.0.14.ebuild b/sys-cluster/vzctl/vzctl-3.0.14.ebuild new file mode 100644 index 000000000000..3c769d65d8df --- /dev/null +++ b/sys-cluster/vzctl/vzctl-3.0.14.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.14.ebuild,v 1.1 2007/01/18 09:40:03 phreak Exp $ + +inherit bash-completion eutils flag-o-matic multilib + +DESCRIPTION="OpenVZ VPS control utility" +HOMEPAGE="http://openvz.org/" +SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~sparc ~x86" +IUSE="bash-completion logrotate udev" + +RDEPEND="logrotate? ( app-admin/logrotate ) + net-firewall/iptables + sys-apps/ed + sys-apps/iproute2 + sys-fs/vzquota + udev? ( sys-fs/udev ) + virtual/cron" + +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${P}-ndsend.c.patch +} + +src_compile() { + econf --libdir=/usr/$(get_libdir) || die "econf failed!" + emake CFLAGS="${CFLAGS}" || die "emake failed!" +} + +src_install() { + make DESTDIR="${D}" install install-gentoo || die "make install failed" + + # Remove udev files unless USE=udev + use udev || rm -rf "${D}"/etc/udev + + # Remove the bash-completion and use dobashcompletion to install it in the + # right place! + dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh.in vzctl + + # Remove the logrotate entry unless USE=logrotate + use logrotate || rm -rf "${D}"/etc/logrotate.d +} + +pkg_postinst() { + if has_version "<3.0.10"; then + ewarn + ewarn "The location of some vzctl files have changed. Most notably," + ewarn "VE configuration files and samples directory has changed from" + ewarn "/etc/vz to /etc/vz/conf. In order to be able to work with" + ewarn "your VEs, please do the following:" + ewarn + ewarn "bash# mv /etc/vz/[0-9]*.conf /etc/vz/conf/" + ewarn + fi +}