diff options
author | Peter Volkov <pva@gentoo.org> | 2009-11-21 12:30:27 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-11-21 12:30:27 +0000 |
commit | bc8175e2360e7218996f668a07ecf526edb4b854 (patch) | |
tree | 710e8469a03fea283710cf7cca25dfa005fcef2f /sys-cluster | |
parent | version bump (diff) | |
download | historical-bc8175e2360e7218996f668a07ecf526edb4b854.tar.gz historical-bc8175e2360e7218996f668a07ecf526edb4b854.tar.bz2 historical-bc8175e2360e7218996f668a07ecf526edb4b854.zip |
Drop old.
Package-Manager: portage-2.1.7.5/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/vzctl/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/vzctl/Manifest | 11 | ||||
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.22-adjust-meminfo.patch | 42 | ||||
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.22-capability-fix.patch | 31 | ||||
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.22-document-disable-modules.patch | 27 | ||||
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.22-glibc28.patch | 23 | ||||
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.22-workaround-gentoo-add_ip.patch | 31 | ||||
-rw-r--r-- | sys-cluster/vzctl/metadata.xml | 3 | ||||
-rw-r--r-- | sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild | 81 |
9 files changed, 11 insertions, 248 deletions
diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog index 2b466e43012e..13e8a32bcced 100644 --- a/sys-cluster/vzctl/ChangeLog +++ b/sys-cluster/vzctl/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-cluster/vzctl # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.67 2009/11/06 13:12:44 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.68 2009/11/21 12:30:27 pva Exp $ + + 21 Nov 2009; Peter Volkov <pva@gentoo.org> -vzctl-3.0.22-r2.ebuild, + -files/vzctl-3.0.22-adjust-meminfo.patch, + -files/vzctl-3.0.22-capability-fix.patch, + -files/vzctl-3.0.22-document-disable-modules.patch, + -files/vzctl-3.0.22-glibc28.patch, + -files/vzctl-3.0.22-workaround-gentoo-add_ip.patch, metadata.xml: + Drop old. 06 Nov 2009; Peter Volkov <pva@gentoo.org> vzctl-9999.ebuild: Rename VE -> CT (like upstream already did). diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest index d98c8dd19a6c..3fbd58db9f4d 100644 --- a/sys-cluster/vzctl/Manifest +++ b/sys-cluster/vzctl/Manifest @@ -1,8 +1,3 @@ -AUX vzctl-3.0.22-adjust-meminfo.patch 1521 RMD160 e414657c8dc723b254b86dc05f80bf505fe847e2 SHA1 caae359fff43efdaa54cc29810adfbbcb2fac922 SHA256 65e1536a7695b2387d9b228882bcb436490a668301e4b590104deac78d2b34d3 -AUX vzctl-3.0.22-capability-fix.patch 1037 RMD160 d244af55f1eaf249d1db04e53ab452aeec5e32f5 SHA1 bb6699627ddedaa524e4858e3c46e3bce50fb1f1 SHA256 977eea8154c3276fbab5a091cd30cf5072e26e7a9957b3aaa4428eacd3be0e56 -AUX vzctl-3.0.22-document-disable-modules.patch 843 RMD160 635e9417e3bbdef88d447f65e7d8007b89ba52ad SHA1 b6c1bc340ed29efe9ebf99d50b214b4c03e23379 SHA256 e2f4d5b3d3447eb6a4086ec3ff1ab5e8cc10797afe4febc3f06847a94430e6d5 -AUX vzctl-3.0.22-glibc28.patch 758 RMD160 633a9feb1a7101a166aa8e090fac4b5720546d0c SHA1 d19fb01c59366eb97da8178864ddda88010b7110 SHA256 36021ca9dabe548075ca016db047131f3536f916b2fa620ed61b00c41545e19e -AUX vzctl-3.0.22-workaround-gentoo-add_ip.patch 1250 RMD160 d77d99b74ed55894a947d6651f3a8471f3f582ff SHA1 a3da293f85076cc8c86f68c128733e57ddba8b56 SHA256 b5d52398a85d947ceebcd7db17fbd6ec602bb03c338ec4af5b202a814e226730 AUX vzctl-3.0.23-UBC-parameter-swappages.patch 5482 RMD160 81ec766ef3263caf59e3e1c6048f632498949f5d SHA1 d1b0462ced780602cfcb850993f75a8a724b299d SHA256 c4ce00e8cddc8f3334847a3f8e700ab34a39b5dbfff8613a145de0f68147b2b0 AUX vzctl-3.0.23-cronjobs-dstdir-check.patch 2119 RMD160 60b3d0b76e6cb393e04a8859eebf05d3da389247 SHA1 9429b33d2e276e0d80a07aa58555788ac7f31af1 SHA256 a896154cbcae99acdcfa5daae9b4a2f8dc5b6cccfd3aa20e9f0d9056cda459f3 AUX vzctl-3.0.23-cronjobs-issue-warning.patch 1754 RMD160 0edc43b16922c975270c79b955e0c9d4e3aacec8 SHA1 b653c70f67681b6f0349a232b411a144cc214d2a SHA256 22f87a84e1a044766935745ec74967ca0490bc1a64a33fa64f5a3397db063c95 @@ -15,10 +10,8 @@ AUX vzctl-3.0.23-ppp-feature.patch 1648 RMD160 371662db2df2f9308a10a07469b00fc8a AUX vzctl-3.0.23-ve-unlimited.conf-sample.patch 6820 RMD160 22f36eb040cc0d7c4e5234202d5f6ac8e30dadfb SHA1 bec42c124cb4770aa68c798f8f1e1c9ce5adc40a SHA256 33727682809532feb195249f655759468da05ef879d854c841de98e5cfa3b192 AUX vzctl-3.0.23-vzarp-on-ifup.patch 3404 RMD160 d08123addc176a5532bfd8b264b4e5470fd49b72 SHA1 39c7254e2e0e0800e3714eaadd9c8cb26e2508c7 SHA256 ddaed5b15ad397f29643fec51b0720b0bf1ca1fcb218613c05c9d115f46b6ce7 AUX vzctl-3.0.23-vznetaddbr.in-no-bashisms.patch 2773 RMD160 f808e49ad253124bb1edf32ff31773eb2f3026ab SHA1 59845fa8f10fcda7f2a390205858ccb032eaaf6b SHA256 2225bcf154ca629ce9ef5d390eed19b5fbdbee4b902e203cfca9854c951a3035 -DIST vzctl-3.0.22.tar.bz2 360012 RMD160 53353981fefea94d997b3555600583f4c5818833 SHA1 58e5c55855aebf9e4ca032b325d8960a3836d648 SHA256 20f75e8342b85909d6bf01d0db47acaa088125da7f203b5e6e6169aa4c139166 DIST vzctl-3.0.23.tar.bz2 361403 RMD160 6436843d4d7de8c98de3ec57c8003e3b625529ef SHA1 b94545dd5608bb48389abcb93e3fc8c91141461a SHA256 3ca7da609ee07b0a8d6b21f05c76b35ba8febc6b5c251b67c759bcbb3bf76eea -EBUILD vzctl-3.0.22-r2.ebuild 2633 RMD160 416a8558e8c3b288b881471afc0993d100f3dcd7 SHA1 c42b7522a90ec4ef62c25e46c5b1714cd5f1c9c9 SHA256 90515e307ea9a494a6e3b726967117f14b5013ab9e8282925948ff7857c35281 EBUILD vzctl-3.0.23-r2.ebuild 2999 RMD160 1b0a21d0bf1b815a467c5d82535d9229860614b7 SHA1 56d478571bdbde2214b80ae255c89df93ad67a43 SHA256 35b495874f09fe1757d3cc24879cb936008d7ef8e5398396c90a6db3db70e23b EBUILD vzctl-9999.ebuild 3137 RMD160 064c0a045357cd10717feebc3cc6e611573b407c SHA1 fcd09e6f67fcc0c03d58ba2ae557d68ddc04af89 SHA256 52a623051cb875c11aa9d81e8dd5bcf584ba50f399af5d79062823763217735c -MISC ChangeLog 13980 RMD160 395a13b1d15e2b7778ee77fbf4c01e0fbc448936 SHA1 68afb75ef3fab5e33a09c98950530bc78d354bdb SHA256 bc2b691cd220f2275012ba67302a607c3dd2714789d578aa0e16349fcfd9679d -MISC metadata.xml 332 RMD160 b40e74088fb74ddb66a5eda7f46bf63742e2258a SHA1 719e3d0e91af2df78aa7478990ef65c307fb0c31 SHA256 30e1f46e13b10bc59d15c29e986bf8d8aab98ce8338c33d6f37650f399ebb4b2 +MISC ChangeLog 14310 RMD160 16b2b972d8ba5f19efbe78e24a922d50da85ca07 SHA1 d31865b6c6ca15abd3f1d088906187c0258c6b3f SHA256 518d09ca825227564560b3e53a32a4890b1f32d745caee8c2f8146e53716f93e +MISC metadata.xml 250 RMD160 859a9aa257ba731f151779434edc614d186d86cf SHA1 0e65923b7b0996ac7e063048e2fe5814453407b7 SHA256 70752023c9e02de0ce3540c4c09bc3256c72568be427bb5c7e9886745b5d2215 diff --git a/sys-cluster/vzctl/files/vzctl-3.0.22-adjust-meminfo.patch b/sys-cluster/vzctl/files/vzctl-3.0.22-adjust-meminfo.patch deleted file mode 100644 index f26a789b6fd9..000000000000 --- a/sys-cluster/vzctl/files/vzctl-3.0.22-adjust-meminfo.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Igor Sukhih <igor@openvz.org> -Date: Thu, 30 Oct 2008 13:00:46 +0000 (+0300) -Subject: vzctl: adjust /proc/meminfo when privvmpages or --meminfo changes -X-Git-Tag: vzctl-3.0.23~1 -X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff_plain;h=17705858ad37d34c2caa3f89d3af5bf2ad34073a;hp=372cd4f09f58a62a3dc05152ae288ad2b083a5b2 - -vzctl: adjust /proc/meminfo when privvmpages or --meminfo changes - -Fixes http://bugzilla.openvz.org/623 ---- - -diff --git a/src/lib/meminfo.c b/src/lib/meminfo.c -index 6c686ad..c4102c0 100644 ---- a/src/lib/meminfo.c -+++ b/src/lib/meminfo.c -@@ -51,13 +51,20 @@ int vps_meminfo_set(vps_handler *h, envid_t veid, meminfo_param *gparam, - /* update meminfo on --privvmpages, --meminfo */ - if (param->mode < 0 && privvmpages == NULL) - return 0; -- if (gparam->mode < 0 && vps_p->g_param != NULL) { -- param = &vps_p->g_param->res.meminfo; -- if (param->mode != VE_MEMINFO_PRIVVMPAGES) -- return 0; -+ if (vps_p->g_param != NULL) { -+ if (privvmpages == NULL) -+ /* use privvmpages from VE.conf on --meminfo */ -+ privvmpages = vps_p->g_param->res.ub.privvmpages; -+ -+ if (param->mode < 0) { -+ /* use meminfo from VE.conf on --privvmpages */ -+ param = &vps_p->g_param->res.meminfo; -+ if (param->mode < 0) -+ param = &default_param; -+ if (param->mode != VE_MEMINFO_PRIVVMPAGES) -+ return 0; -+ } - } -- if (privvmpages == NULL && vps_p->g_param != NULL) -- privvmpages = vps_p->g_param->res.ub.privvmpages; - } - if (param->mode < 0) - param = &default_param; diff --git a/sys-cluster/vzctl/files/vzctl-3.0.22-capability-fix.patch b/sys-cluster/vzctl/files/vzctl-3.0.22-capability-fix.patch deleted file mode 100644 index b653387a9416..000000000000 --- a/sys-cluster/vzctl/files/vzctl-3.0.22-capability-fix.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Kir Kolyshkin <kir@openvz.org> -Date: Sat, 7 Jun 2008 14:16:46 +0000 (+0400) -Subject: Fix inability to start a container -X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff_plain;h=0d6bfad92c7cb6a193801ce8dac3a0dc64396ca8;hp=3223b438683eba695ecaff2be65d08cb231bb471 - -Fix inability to start a container - -Container start could fail with the following message: - - Unable to set capability: Invalid argument - -It is caused by changed value of LINUX_CAPABILITY_VERSION -(defined in /usr/include/linux/capability.h). - -The fix is to get this version from kernel (as libcap-2.0.0 does). - -Signed-off-by: Kir Kolyshkin <kir@openvz.org> ---- - -diff --git a/src/lib/cap.c b/src/lib/cap.c -index 428bd43..67d95e3 100644 ---- a/src/lib/cap.c -+++ b/src/lib/cap.c -@@ -165,6 +165,7 @@ static int set_cap(envid_t veid, cap_t mask, int pid) - - memset(&header, 0, sizeof(header)); - header.version = _LINUX_CAPABILITY_VERSION; -+ capget(&header, NULL); /* Get linux capability version from kernel */ - header.pid = pid; - - memset(&data, 0, sizeof(data)); diff --git a/sys-cluster/vzctl/files/vzctl-3.0.22-document-disable-modules.patch b/sys-cluster/vzctl/files/vzctl-3.0.22-document-disable-modules.patch deleted file mode 100644 index 2a766753b895..000000000000 --- a/sys-cluster/vzctl/files/vzctl-3.0.22-document-disable-modules.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Kir Kolyshkin <kir@openvz.org> -Date: Mon, 9 Jun 2008 10:38:13 +0000 (+0400) -Subject: etc/vz/vz.conf: document MODULES_DISABLED -X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff_plain;h=626325d26903279dbe64a966eed5199be4316aa0;hp=d5fba5eee206a84557c0654a7998edf133039e36 - -etc/vz/vz.conf: document MODULES_DISABLED - -Original report and patch by Peter <pva@gentoo.org> - -Fixes http://bugzilla.openvz.org/888 -Signed-off-by: Kir Kolyshkin <kir@openvz.org> - ---- - ---- etc/vz.conf 2008-07-14 06:02:01 +0000 -+++ etc/vz.conf 2008-07-14 06:02:14 +0000 -@@ -14,6 +14,9 @@ - DISK_QUOTA=yes - VZFASTBOOT=no - -+# Disable module loading. If set, vz initscript do not load any modules. -+#MODULES_DISABLED=yes -+ - # The name of the device whose ip address will be used as source ip for VE. - # By default automatically assigned. - #VE_ROUTE_SRC_DEV="eth0" - diff --git a/sys-cluster/vzctl/files/vzctl-3.0.22-glibc28.patch b/sys-cluster/vzctl/files/vzctl-3.0.22-glibc28.patch deleted file mode 100644 index ca66ce43000a..000000000000 --- a/sys-cluster/vzctl/files/vzctl-3.0.22-glibc28.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -Nru vzctl-3.0.22.orig/src/lib/config.c vzctl-3.0.22/src/lib/config.c ---- vzctl-3.0.22.orig/src/lib/config.c 2008-06-18 20:12:15.000000000 -0400 -+++ vzctl-3.0.22/src/lib/config.c 2008-06-18 20:12:58.000000000 -0400 -@@ -29,6 +29,7 @@ - #include <linux/vzcalluser.h> - #include <unistd.h> - #include <fcntl.h> -+#include <limits.h> - - #include "logger.h" - #include "list.h" -diff -Nru vzctl-3.0.22.orig/src/lib/util.c vzctl-3.0.22/src/lib/util.c ---- vzctl-3.0.22.orig/src/lib/util.c 2008-06-18 20:12:15.000000000 -0400 -+++ vzctl-3.0.22/src/lib/util.c 2008-06-18 20:14:08.000000000 -0400 -@@ -28,7 +28,7 @@ - #include <fcntl.h> - #include <arpa/inet.h> - #include <stdarg.h> --#include <linux/limits.h> -+#include <limits.h> - #include <dirent.h> - - #include "util.h" diff --git a/sys-cluster/vzctl/files/vzctl-3.0.22-workaround-gentoo-add_ip.patch b/sys-cluster/vzctl/files/vzctl-3.0.22-workaround-gentoo-add_ip.patch deleted file mode 100644 index 7184feefbd0b..000000000000 --- a/sys-cluster/vzctl/files/vzctl-3.0.22-workaround-gentoo-add_ip.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Daniel Robbins <drobbins@funtoo.org> -Date: Thu, 13 Mar 2008 07:17:31 +0000 (+0300) -Subject: gentoo-add_ip.sh: fix the case then config_venet0 is commented out -X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff_plain;h=fa72a4fdc14db95b24cfb757f6506e89ad2268df - -gentoo-add_ip.sh: fix the case then config_venet0 is commented out - -I had some config entries commented out in /etc/conf.d/net which -caused the add ip script (/etc/vz/dists/scripts/gentoo-add_ip.sh) to -fail. I fixed this by adding a "^" to the beginning of the grep -qw -command, as below.... - -There are still other potential problems with parsing the scripts in -the way you do, but this at least will deal with the situation where -someone has commented-out config_venet0 lines in their -/etc/conf.d/net. ---- - -diff --git a/etc/dists/scripts/gentoo-add_ip.sh b/etc/dists/scripts/gentoo-add_ip.sh -index f660da3..b5dfd27 100755 ---- a/etc/dists/scripts/gentoo-add_ip.sh -+++ b/etc/dists/scripts/gentoo-add_ip.sh -@@ -71,7 +71,7 @@ function add_ip() - fi - - for ip in ${IP_ADDR}; do -- grep -qw "config_${VENET_DEV}=\(.*\"${ip}[\"\/].*\)" ${IFCFG} || -+ grep -qw "^config_${VENET_DEV}=\(.*\"${ip}[\"\/].*\)" ${IFCFG} || - add_param3 "${IFCFG}" "config_${VENET_DEV}" "${ip}/32" - done - diff --git a/sys-cluster/vzctl/metadata.xml b/sys-cluster/vzctl/metadata.xml index f41ac6361986..1301c983d813 100644 --- a/sys-cluster/vzctl/metadata.xml +++ b/sys-cluster/vzctl/metadata.xml @@ -6,7 +6,4 @@ <email>pva@gentoo.org</email> <name>Peter Volkov</name> </maintainer> - <use> - <flag name='logrotate'>Enable logrotate file installation</flag> - </use> </pkgmetadata> diff --git a/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild b/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild deleted file mode 100644 index b40a01a78b5a..000000000000 --- a/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild,v 1.2 2009/03/31 09:16:33 pva Exp $ - -inherit bash-completion eutils - -DESCRIPTION="OpenVZ VE 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 ~ia64 ~ppc64 ~sparc x86" -IUSE="bash-completion logrotate" - -RDEPEND="logrotate? ( app-admin/logrotate ) - net-firewall/iptables - sys-apps/ed - sys-apps/iproute2 - sys-fs/vzquota - virtual/cron" - -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-capability-fix.patch" - epatch "${FILESDIR}/${P}-glibc28.patch" - epatch "${FILESDIR}/${P}-document-disable-modules.patch" - epatch "${FILESDIR}/${P}-workaround-gentoo-add_ip.patch" - epatch "${FILESDIR}/${P}-adjust-meminfo.patch" -} - -src_compile() { - econf --localstatedir=/var \ - --enable-cron \ - --enable-udev \ - $(use_enable bash-completion bashcomp) \ - $(use_enable logrotate) || die "econf failed!" - - emake || die "emake failed!" -} - -src_install() { - make DESTDIR="${D}" install install-gentoo || die "make install failed" - - # install the bash-completion script into the right location - rm -rf "${D}"/etc/bash_completion.d - dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh vzctl - - # We need to keep some dirs - keepdir /vz/{dump,lock,root,private,template/cache} - keepdir /etc/vz/names /var/lib/vzctl/veip -} - -pkg_postinst() { - bash-completion_pkg_postinst - ewarn - if has_version "<sys-cluster/vzctl-3.0.10"; then - 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 - ewarn "NOTE: Starting with vzctl-3.0.22 the mechanism for choosing the" - ewarn "interfaces to send ARP requests to has been improved (see description" - ewarn "of NEIGHBOUR_DEVS in vz.conf(5) man page). In case VE IP addresses" - ewarn "are not on the same subnet as HN IPs, it may lead to such VEs being" - ewarn "unreachable from the outside world." - ewarn - ewarn "The solution is to set up a device route(s) for the network your VEs are" - ewarn "in. For more details, see http://bugzilla.openvz.org/show_bug.cgi?id=771#c1" - ewarn - ewarn "The old vzctl behavior can be restored by setting NEIGHBOUR_DEVS to any" - ewarn 'value other than "detect" in /etc/vz/vz.conf.' -} |