diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/vzctl/ChangeLog | 415 | ||||
-rw-r--r-- | sys-cluster/vzctl/Manifest | 5 | ||||
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.26.2-vzeventd.patch | 63 | ||||
-rw-r--r-- | sys-cluster/vzctl/metadata.xml | 9 | ||||
-rw-r--r-- | sys-cluster/vzctl/vzctl-3.0.26.2-r1.ebuild | 84 |
5 files changed, 576 insertions, 0 deletions
diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog new file mode 100644 index 0000000..04b8154 --- /dev/null +++ b/sys-cluster/vzctl/ChangeLog @@ -0,0 +1,415 @@ +# ChangeLog for sys-cluster/vzctl +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.74 2011/03/22 16:28:14 pva Exp $ + +*vzctl-3.0.26.2 (22 Mar 2011) + + 22 Mar 2011; Peter Volkov <pva@gentoo.org> -vzctl-3.0.24.ebuild, + -vzctl-3.0.24.1-r1.ebuild, +vzctl-3.0.26.2.ebuild, vzctl-9999.ebuild: + Version bump, bug 350806 thank Fabian Fingerle for report and Dennis Schridde + for initial work. Sync 9999 ebuild. Drop unused. + +*vzctl-3.0.24.2 (10 Sep 2010) + + 10 Sep 2010; Peter Volkov <pva@gentoo.org> + +files/0001-Don-t-prepend-full-path-for-ip-command.patch, + +vzctl-3.0.24.2.ebuild, + +files/0002-Update-udev-rules-to-match-current-specification.patch: + Version bump. Don't use full path in ip location to avoid bugs like + #334277 from happening, thank Fabio Erculiani for report. Fixed outdated + udev rule, bug 335762, thank Dennis Schridde for report. + +*vzctl-3.0.24.1-r1 (30 Aug 2010) + + 30 Aug 2010; Peter Volkov <pva@gentoo.org> -vzctl-3.0.24.1.ebuild, + +vzctl-3.0.24.1-r1.ebuild, files/vzctl-3.0.24.1-vzpostup.patch: + Fixed type in vzpostup patch, thank Kir Kolyshkin for review. + +*vzctl-3.0.24.1 (30 Jul 2010) + + 30 Jul 2010; Peter Volkov <pva@gentoo.org> +vzctl-3.0.24.1.ebuild, + +files/vzctl-3.0.24.1-vzpostup.patch: + Version bump. + + 02 Jul 2010; Peter Volkov <pva@gentoo.org> vzctl-3.0.24.ebuild: + Fix QA warning: econf should be in src_configure. + +*vzctl-3.0.24 (29 Jun 2010) + + 29 Jun 2010; Peter Volkov <pva@gentoo.org> +vzctl-3.0.24.ebuild, + vzctl-9999.ebuild: + Version bump. Everything we did is finally upstream! Dropped old warn + message from 9999 version. + + 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). + + 27 Oct 2009; Peter Volkov <pva@gentoo.org> vzctl-9999.ebuild: + Nuke logrotate USE flag in git ebuild too. + + 21 Oct 2009; Peter Volkov <pva@gentoo.org> vzctl-9999.ebuild: + Small clenup to restore DESCRIPTION, thank Mr_Bones_ for report. + +*vzctl-9999 (20 Oct 2009) + + 20 Oct 2009; Peter Volkov <pva@gentoo.org> -vzctl-3.0.22-r1.ebuild, + vzctl-3.0.23-r2.ebuild, +vzctl-9999.ebuild: + amd64/x86 stable, bug #199738. Removed old. Added git ebuild, thank + Andrian Nord for suggestion in bug #259433. + +*vzctl-3.0.23-r2 (05 Apr 2009) + + 05 Apr 2009; Peter Volkov <pva@gentoo.org> + +files/vzctl-3.0.23-cronjobs-dstdir-check.patch, + files/vzctl-3.0.23-cronjobs-issue-warning.patch, + +files/vzctl-3.0.23-cronjobs-multiple-cron-jobs.patch, + -files/vzctl-3.0.23-cronjobs-typo-fix.patch, + +files/vzctl-3.0.23-cronjobs-wightspace.patch, + +files/vzctl-3.0.23-multiple-cron-jobs.patch, -vzctl-3.0.23-r1.ebuild, + +vzctl-3.0.23-r2.ebuild: + Upstream accepted patches merged back, some other bits rewritten as they + asked us. + + 31 Mar 2009; Peter Volkov <pva@gentoo.org> vzctl-3.0.23-r1.ebuild: + Nuke logrotate USE flag, bug #258174. + +*vzctl-3.0.23-r1 (31 Mar 2009) + + 31 Mar 2009; Peter Volkov <pva@gentoo.org> + +files/vzctl-3.0.23-UBC-parameter-swappages.patch, + +files/vzctl-3.0.23-cronjobs-issue-warning.patch, + +files/vzctl-3.0.23-cronjobs-typo-fix.patch, + +files/vzctl-3.0.23-debian-CT-ipv6-fix.patch, + +files/vzctl-3.0.23-forwarding-issue-warning.patch, + -files/vzctl-3.0.23-ipforwarding-on-start.patch, + +files/vzctl-3.0.23-ppp-feature.patch, + -files/vzctl-3.0.23-set-cron-jobs.patch, + files/vzctl-3.0.23-ve-unlimited.conf-sample.patch, + +files/vzctl-3.0.23-vzarp-on-ifup.patch, + +files/vzctl-3.0.23-vznetaddbr.in-no-bashisms.patch, + vzctl-3.0.22-r2.ebuild, -vzctl-3.0.23.ebuild, +vzctl-3.0.23-r1.ebuild: + Backport some fixes from git, update patches to be likely included (or + already included) by upstream. Remove old. Stabilize 3.0.22-r2. + +*vzctl-3.0.23 (15 Nov 2008) + + 15 Nov 2008; Peter Volkov <pva@gentoo.org> + -files/vzctl-3.0.22-scripts-openrc.patch, + +files/vzctl-3.0.23-ipforwarding-on-start.patch, + +files/vzctl-3.0.23-set-cron-jobs.patch, + +files/vzctl-3.0.23-ve-unlimited.conf-sample.patch, -files/vz.initd, + -vzctl-3.0.22-r11.ebuild, +vzctl-3.0.23.ebuild: + Version bump. + +*vzctl-3.0.22-r11 (08 Nov 2008) +*vzctl-3.0.22-r2 (08 Nov 2008) + + 08 Nov 2008; Peter Volkov <pva@gentoo.org> + +files/vzctl-3.0.22-adjust-meminfo.patch, +vzctl-3.0.22-r2.ebuild, + -vzctl-3.0.22-r10.ebuild, +vzctl-3.0.22-r11.ebuild: + Patch to fix adjusting of memory limits without VE restart. + + 13 Oct 2008; Peter Volkov <pva@gentoo.org> + -files/vzctl-3.0.16-prevent-stripping.patch, -vzctl-3.0.18-r1.ebuild, + -vzctl-3.0.22.ebuild, vzctl-3.0.22-r1.ebuild: + amd64/x86 stable, bug #199738. Removed old. + +*vzctl-3.0.22-r10 (13 Oct 2008) + + 13 Oct 2008; Peter Volkov <pva@gentoo.org> + +files/vzctl-3.0.22-scripts-openrc.patch, +vzctl-3.0.22-r10.ebuild: + Made scripts openvz compatible. Skipped revisions to have possibility to + put major updates (e.g. security) without this changes applied. + + 28 Jul 2008; Panagiotis Christopoulos <pchrist@gentoo.org> metadata.xml: + Update metadata.xml to include USE flag descriptions. Entries taken from + profiles/use.local.desc + +*vzctl-3.0.22-r1 (14 Jul 2008) + + 14 Jul 2008; Peter Volkov <pva@gentoo.org> + +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, + +vzctl-3.0.22-r1.ebuild: + Fix inability to start container when built against + >=linux-headers-2.6.25, bug #221971, thank Romain Riviere for report; Fix + build glibc-2.8 problem, bug #228189, thank Evil Compile Person for report + and Bandan for patch; Added notice in configuration file on how to disable + modules loading, bug #213798, thank Victor Roman Archidona for report. + + 14 Mar 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml: + fix metadata + + 30 Jan 2008; <pva@gentoo.org> vzctl-3.0.22.ebuild: + x86/amd64 stable, bug 199738. + + 12 Jan 2008; <pva@gentoo.org> vzctl-3.0.22.ebuild: + Added compatibility note, announced by OpenVZ team. + +*vzctl-3.0.22 (24 Dec 2007) + + 24 Dec 2007; <pva@gentoo.org> -vzctl-3.0.16.ebuild, -vzctl-3.0.18.ebuild, + vzctl-3.0.18-r1.ebuild, +vzctl-3.0.22.ebuild: + Version bump. 3.0.18-r1 - x86/amd64 stable, bug 199738. Remove old from the + tree. + + 20 Nov 2007; <pva@gentoo.org> -files/vzctl-3.0.14-ndsend.c.patch, + metadata.xml, -vzctl-3.0.0.8.ebuild, -vzctl-3.0.14.ebuild: + Added myself into metadata. Clean old. + +*vzctl-3.0.18-r1 (16 Aug 2007) + + 16 Aug 2007; Christian Heim <phreak@gentoo.org> +vzctl-3.0.18-r1.ebuild: + Revision bump, hopefully keeping all necessary configuration directories + (thanks to geek at alum.rpi.edu in #187931). + + 13 Jul 2007; Christian Heim <phreak@gentoo.org> vzctl-3.0.16.ebuild, + -vzctl-3.0.17.ebuild, vzctl-3.0.18.ebuild: + Removing vzctl-3.0.17. Adding the keepdir for /etc/vz/names as Kir pointed + in the mail from today. + +*vzctl-3.0.18 (06 Jul 2007) + + 06 Jul 2007; Christian Heim <phreak@gentoo.org> +vzctl-3.0.18.ebuild: + Version bump, fixing the initscript to work with 2.6.9 based kernels + (openvz-sources-023.*). + +*vzctl-3.0.17 (06 Jul 2007) + + 06 Jul 2007; Christian Heim <phreak@gentoo.org> +vzctl-3.0.17.ebuild: + Version bump, fixing 'a lot of bugs' either in code or documentation; + ArchLinux support for VE's; init-script improvements as well as IPv6 + fixes/improvements. For a full ChangeLog see + http://git.openvz.org/?p=vzctl;a=shortlog;h=vzctl-3.0.17-1. + + 03 Jun 2007; Christian Heim <phreak@gentoo.org> vzctl-3.0.16.ebuild: + Marking vzctl-3.0.16 stable on amd64 and x86. + +*vzctl-3.0.16 (14 Mar 2007) + + 14 Mar 2007; Christian Heim <phreak@gentoo.org> + +files/vzctl-3.0.16-prevent-stripping.patch, +vzctl-3.0.16.ebuild: + Version bump (including a patch preventing vzctl from prestripping). + + 23 Jan 2007; Christian Heim <phreak@gentoo.org> files/digest-vzctl-3.0.14, + Manifest: + Fixing the Manifest (thanks to samLT <samuelethiec at hotmail.com> in #163296). + + 21 Jan 2007; Benedikt Böhm <hollow@gentoo.org> -files/vz-3.0.10.initd, + -vzctl-3.0.13.ebuild, vzctl-3.0.14.ebuild: + fix #158114; cleanup + + 18 Jan 2007; Christian Heim <phreak@gentoo.org> vzctl-3.0.14.ebuild: + Cleaning up the ebuild a bit (thanks to Kir Kolyshkin <kir@openvz.org> for + being a pain in the ass :)). + +*vzctl-3.0.14 (18 Jan 2007) + + 18 Jan 2007; Christian Heim <phreak@gentoo.org> + +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 <kir@openvz.org>). + + 03 Dec 2006; Benedikt Böhm <hollow@gentoo.org> vzctl-3.0.13.ebuild: + ovz bug #254 has been solved; add ~ppc64 and ~sparc; cleanup + + 29 Nov 2006; Christian Heim <phreak@gentoo.org> -vzctl-3.0.11-r1.ebuild, + -vzctl-3.0.12.ebuild: + Cleaning up some old versions, 3.0.13 is our new target for stable. + +*vzctl-3.0.13 (29 Nov 2006) + + 29 Nov 2006; Christian Heim <phreak@gentoo.org> vzctl-3.0.12.ebuild, + +vzctl-3.0.13.ebuild: + Version bump, UPSTREAM accepted all our patches (so no need to use our + seperate tarball)! + +*vzctl-3.0.12 (12 Oct 2006) + + 12 Oct 2006; Christian Heim <phreak@gentoo.org> -vzctl-3.0.11.ebuild, + +vzctl-3.0.12.ebuild: + Version bump (partly fixing #150897); cleaning older version(s). + + 06 Sep 2006; Benedikt Böhm <hollow@gentoo.org> vzctl-3.0.11-r1.ebuild: + add info for new SRC_URI for future releases + + 06 Sep 2006; Christian Heim <phreak@gentoo.org> vzctl-3.0.11.ebuild, + vzctl-3.0.11-r1.ebuild: + Fixing my ebuild comments (rephrasing, clarifying). + +*vzctl-3.0.11-r1 (06 Sep 2006) + + 06 Sep 2006; Benedikt Böhm <hollow@gentoo.org> + -files/vzctl-3.0.10-Makefile.patch, -files/vzctl-3.0.10-as-needed.patch, + -vzctl-3.0.10-r2.ebuild, +vzctl-3.0.11-r1.ebuild: + fix VPSCONFDIR in init script; let user configure UBC for VE0; add udev + rules for /dev/vzctl; fix check for /dev/vzctl + +*vzctl-3.0.11 (27 Aug 2006) + + 27 Aug 2006; Christian Heim <phreak@gentoo.org> +vzctl-3.0.11.ebuild: + Finally adding vzctl-3.0.11, finally fixing all --as-needed and rpath + related issues we had in the past. + + 09 Jul 2006; Christian Heim <phreak@gentoo.org> -vzctl-3.0.10.ebuild, + -vzctl-3.0.10-r1.ebuild: + More cleanups + + 09 Jul 2006; Christian Heim <phreak@gentoo.org> -vzctl-3.0.0.4.ebuild, + -vzctl-3.0.0.7.ebuild, vzctl-3.0.0.8.ebuild: + Marking vzctl-3.0.0.8 stable on x86/amd64; Pruning old versions + +*vzctl-3.0.10-r2 (09 Jul 2006) + + 09 Jul 2006; Christian Heim <phreak@gentoo.org> files/vz-3.0.10.initd, + +vzctl-3.0.10-r2.ebuild: + Revision bump, hopefully completly fixing #138462 and #138469 + +*vzctl-3.0.10-r1 (28 Jun 2006) + + 28 Jun 2006; Christian Heim <phreak@gentoo.org> + files/vzctl-3.0.10-Makefile.patch, +files/vz-3.0.10.initd, + vzctl-3.0.10.ebuild, +vzctl-3.0.10-r1.ebuild: + Revision bump, fixing vzctl-3.0.10-Makefile.patch. Now also installs + vpsnetclean and vpsreboot scripts into /usr/share/vzctl/scripts. Including + initscript changes from Kir Kolyshkin <kir@openvz.org> + + 22 Jun 2006; Benedikt Böhm <hollow@gentoo.org> vzctl-3.0.10.ebuild: + fix libdir; add warning + +*vzctl-3.0.10 (19 Jun 2006) + + 19 Jun 2006; Christian Heim <phreak@gentoo.org> + +files/vzctl-3.0.10-Makefile.patch, +files/vzctl-3.0.10-as-needed.patch, + +vzctl-3.0.10.ebuild: + Version bump, the OpenVZ finally decided to use a sane version scheme, + reworked the ebuild (fixed the quoting on user-influence-able variables) and + also added a patch to remove all those nifty unneeded things from the + Makefile. Another addition is the --as-needed patch from Igor Sukhih + <igor@openvz.org>. For a detailed ChangeLog see + http://openvz.org/news/updates/vzctl-3.0.10-1! + +*vzctl-3.0.0.8 (24 Apr 2006) + + 24 Apr 2006; Christian Heim <phreak@gentoo.org> +vzctl-3.0.0.8.ebuild: + Version bump, see http://openvz.org/news/updates/vzctl-3.0.0-8 for a + detailed ChangeLog + + 21 Apr 2006; Christian Heim <phreak@gentoo.org> vzctl-3.0.0.7.ebuild: + Ripping of the CONFIG_CHECK's and the VZKERNEL_HEADERS + + 20 Apr 2006; Christian Heim <phreak@gentoo.org> -vzctl-2.7.0.26.ebuild: + Removing old ebuild(s) + +*vzctl-3.0.0.7 (20 Apr 2006) + + 20 Apr 2006; Christian Heim <phreak@gentoo.org> +vzctl-3.0.0.7.ebuild: + Version bump (vzctl should now support live migration); + vzctl is now licensed under GPL-2! Adding LDFLAGS filter + + 11 Apr 2006; Christian Heim <phreak@gentoo.org> vzctl-3.0.0.4.ebuild: + Marking vzctl-3.0.0.4 stable on amd64/x86 + + 10 Apr 2006; Christian Heim <phreak@gentoo.org> vzctl-2.7.0.26.ebuild, + vzctl-3.0.0.4.ebuild: + Fixing IUSE + +*vzctl-3.0.0.4 (21 Mar 2006) + + 21 Mar 2006; Benedikt Boehm <hollow@gentoo.org> -vzctl-3.0.0.2-r1.ebuild, + +vzctl-3.0.0.4.ebuild: + Version bump + + 08 Mar 2006; Christian Heim <phreak@gentoo.org> -vzctl-2.7.0.24.ebuild, + vzctl-2.7.0.26.ebuild, -vzctl-3.0.0.2.ebuild: + Marking vzctl-2.7.0.26 stable on x86, amd64; Removing old ebuilds + +*vzctl-3.0.0.2-r1 (01 Mar 2006) + + 01 Mar 2006; Benedikt Boehm <hollow@gentoo.org> +vzctl-3.0.0.2-r1.ebuild: + fix ovz bug #108 and #111 + +*vzctl-3.0.0.2 (23 Feb 2006) + + 23 Feb 2006; Benedikt Boehm <hollow@gentoo.org> -vzctl-2.7.0.24-r1.ebuild, + -vzctl-2.7.0.25.ebuild, -vzctl-2.7.0.25-r1.ebuild, +vzctl-3.0.0.2.ebuild: + Version bump + +*vzctl-2.7.0.26 (18 Feb 2006) + + 18 Feb 2006; Christian Heim <phreak@gentoo.org> +vzctl-2.7.0.26.ebuild: + Version bump + +*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, + -files/vzctl-2.7.0.24-pic.patch, -files/vzctl-2.7.0-gentoo_conf_d.patch, + vzctl-2.7.0.24.ebuild, vzctl-2.7.0.25.ebuild: + Moving patches to a seperate patch tarball + + 12 Jan 2006; Benedikt Boehm <hollow@gentoo.org> + +files/vzctl-2.7.0-amd64.patch, +files/vzctl-2.7.0.24-pic.patch, + vzctl-2.7.0.24.ebuild, vzctl-2.7.0.25.ebuild: + fix PIC and multilib on amd64 + +*vzctl-2.7.0.25 (12 Jan 2006) + + 12 Jan 2006; Benedikt Boehm <hollow@gentoo.org> +vzctl-2.7.0.25.ebuild: + Version bump + + 26 Dec 2005; Benedikt Boehm <hollow@gentoo.org> vzctl-2.7.0.24.ebuild: + marked stable amd64 + + 01 Dec 2005; Benedikt Boehm <hollow@gentoo.org> + -files/vzctl-2.7.0-gentoo_etc_vz.patch, -vzctl-2.7.0.21.ebuild, + -vzctl-2.7.0.22.ebuild, -vzctl-2.7.0.23.ebuild, vzctl-2.7.0.24.ebuild: + 2.7.0.24 marked x86, ~amd64; cleanup + + 26 Nov 2005; Christian Heim <phreak@gentoo.org> metadata.xml: + Fixing metadata.xml to include the maintainer email + +*vzctl-2.7.0.24 (02 Nov 2005) + + 02 Nov 2005; Christian Heim <phreak@gentoo.org> +vzctl-2.7.0.24.ebuild: + New upstream release + + 21 Oct 2005; Christian Heim <phreak@gentoo.org> + files/vzctl-2.7.0.23-gentoo_etc_vz.patch: + Adding kir's recent patch to fix installation of vzctl-2.7.0.23 + +*vzctl-2.7.0.23 (21 Oct 2005) + + 21 Oct 2005; Benedikt Boehm <hollow@gentoo.org> +vzctl-2.7.0.23.ebuild: + Version bump + +*vzctl-2.7.0.22 (28 Sep 2005) + + 28 Sep 2005; Christian Heim <phreak@gentoo.org> +vzctl-2.7.0.22.ebuild: + New version; According to kir, its fixing a minor bug occuring when running + 'vzctl enter' + +*vzctl-2.7.0.21 (26 Sep 2005) + + 26 Sep 2005; Benedikt Boehm <hollow@gentoo.org> + +files/vzctl-2.7.0-gentoo_conf_d.patch, + +files/vzctl-2.7.0-gentoo_etc_vz.patch, +files/vz.initd, +metadata.xml, + +vzctl-2.7.0.21.ebuild: + Initial release. thx to kir + diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest new file mode 100644 index 0000000..4973a12 --- /dev/null +++ b/sys-cluster/vzctl/Manifest @@ -0,0 +1,5 @@ +AUX vzctl-3.0.26.2-vzeventd.patch 1643 RMD160 235708434edf731723feb5139e4226bfe3d14e5b SHA1 efe6777f654a760592abdf2eb162a73656ddb5d4 SHA256 b304c3e8fa374a3f7163d357c006339f5212027b65583407d7538d8a0b96348e +DIST vzctl-3.0.26.2.tar.bz2 405656 RMD160 e67c18ccf54b92a12cd7d3470a2fc302869c9d98 SHA1 cbdb995999f96bf2192e820dccad222a0548ee0e SHA256 6533c15c967a294bf7566a2d0c8b486519f11af22d669df518f451510256887f +EBUILD vzctl-3.0.26.2-r1.ebuild 2791 RMD160 8fc7a9be11c8791792896fdff60d145533a5773a SHA1 5817b30744ef297b78c77d0466322909acba8c49 SHA256 c61a4d2b780c2c9fcddf1ab343a4675d617abf6580908542bbc1f8e6df63da29 +MISC ChangeLog 15778 RMD160 83b14d646874d98d7f9837a8ff1d4f586cd6c949 SHA1 99be2147cf37e7e362d9edfde4bb7e6ac2649318 SHA256 ce0aa0d4e66d73a556e1663e78084eee2075ffa7d18f2ec41db3ef163678f3f9 +MISC metadata.xml 250 RMD160 859a9aa257ba731f151779434edc614d186d86cf SHA1 0e65923b7b0996ac7e063048e2fe5814453407b7 SHA256 70752023c9e02de0ce3540c4c09bc3256c72568be427bb5c7e9886745b5d2215 diff --git a/sys-cluster/vzctl/files/vzctl-3.0.26.2-vzeventd.patch b/sys-cluster/vzctl/files/vzctl-3.0.26.2-vzeventd.patch new file mode 100644 index 0000000..6c0b375 --- /dev/null +++ b/sys-cluster/vzctl/files/vzctl-3.0.26.2-vzeventd.patch @@ -0,0 +1,63 @@ +diff --git a/etc/init.d/vzeventd-gentoo.in b/etc/init.d/vzeventd-gentoo.in +index e8fe64e..c4b99a7 100644 +--- a/etc/init.d/vzeventd-gentoo.in ++++ b/etc/init.d/vzeventd-gentoo.in +@@ -6,25 +6,38 @@ depend() { + } + + check_config() { +-# if we don't want openvz running, say so ++ source /etc/conf.d/vz ++ # if we don't want openvz running, say so + [ "${VIRTUOZZO}" = "yes" ] || return 1 + : ${VZEVENTD:=@SBINDIR@/vzeventd} + } + ++load_module() { ++ local rv=0 ++ if [ "${MODULES_DISABLED}" != "yes" ]; then ++ ebegin "Loading vzevent module" ++ modprobe -r vzevent >/dev/null 2>&1 ++ modprobe vzevent reboot_event=1 >/dev/null 2>&1 ++ rv=$? ++ eend ${rv} ++ fi ++ ++ local param=/sys/module/vzevent/parameters/reboot_event ++ if ! grep -Fqw 1 "${param}"; then ++ ewarn "vzevent module should be loaded with reboot_event=1 parameter" ++ ewarn "setting reboot_event to 1..." ++ ewarn "echo 1 > ${param}" ++ echo 1 > "${param}" ++ fi ++ return ${rc} ++} ++ + start() { + check_config || return +- ebegin "Loading vzevent module" +- modprobe -r vzevent >/dev/null 2>&1 +- modprobe vzevent reboot_event=1 >/dev/null 2>&1 +- rc=$? +- if [ ${rc} -ne 0 ]; then +- eend ${rc} "failed" +- return ${rc} +- fi +- eend ${rc} ++ load_module || return + + ebegin "Starting vzeventd" +- start-stop-daemon --start --exec $VZEVENTD \ ++ start-stop-daemon --start --exec ${VZEVENTD} \ + --pidfile /var/run/vzeventd.pid \ + -- ${VZEVENTD_OPTS} + eend $? +@@ -33,7 +46,7 @@ start() { + stop() { + check_config || return + ebegin "Stopping vzeventd" +- start-stop-daemon --stop --exec $VZEVENTD \ ++ start-stop-daemon --stop --exec ${VZEVENTD} \ + --pidfile /var/run/vzeventd.pid + eend $? + } diff --git a/sys-cluster/vzctl/metadata.xml b/sys-cluster/vzctl/metadata.xml new file mode 100644 index 0000000..1301c98 --- /dev/null +++ b/sys-cluster/vzctl/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>vserver</herd> + <maintainer> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> + </maintainer> +</pkgmetadata> diff --git a/sys-cluster/vzctl/vzctl-3.0.26.2-r1.ebuild b/sys-cluster/vzctl/vzctl-3.0.26.2-r1.ebuild new file mode 100644 index 0000000..8a20676 --- /dev/null +++ b/sys-cluster/vzctl/vzctl-3.0.26.2-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.26.2.ebuild,v 1.1 2011/03/22 16:28:14 pva Exp $ + +EAPI="4" + +inherit bash-completion eutils + +DESCRIPTION="OpenVZ ConTainers 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" + +RDEPEND=" + net-firewall/iptables + sys-apps/ed + sys-apps/iproute2 + sys-fs/vzquota" + +DEPEND="${RDEPEND}" + +src_prepare() { + # Set default OSTEMPLATE on gentoo + sed -e 's:=redhat-:=gentoo-:' -i etc/dists/default || die + epatch "${FILESDIR}/vzctl-3.0.26.2-vzeventd.patch" +} + +src_configure() { + econf \ + --localstatedir=/var \ + --enable-udev \ + $(use_enable bash-completion bashcomp) \ + --enable-logrotate +} + +src_install() { + emake DESTDIR="${D}" install install-gentoo + + # install the bash-completion script into the right location + rm -rf "${ED}"/etc/bash_completion.d + dobashcompletion 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 + local conf_without_OSTEMPLATE + for file in \ + $(find "${EROOT}/etc/vz/conf/" \( -name *.conf -a \! -name 0.conf \)); do + if ! grep '^OSTEMPLATE' $file > /dev/null; then + conf_without_OSTEMPLATE+=" $file" + fi + done + + if [[ -n ${conf_without_OSTEMPLATE} ]]; then + ewarn + ewarn "OSTEMPLATE default was changed from redhat-like to gentoo." + ewarn "This means that any VEID.conf files without explicit or correct" + ewarn "OSTEMPLATE set will use gentoo scripts instead of redhat." + ewarn "Please check the following configs:" + for file in ${conf_without_OSTEMPLATE}; do + ewarn "${file}" + done + ewarn + fi + + ewarn "To avoid loosing network to CTs on iface down/up, please, add the" + ewarn "following code to /etc/conf.d/net:" + ewarn " postup() {" + ewarn " /usr/sbin/vzifup-post \${IFACE}" + ewarn " }" + + ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs." + ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and" + ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use" + ewarn "/etc/init.d/vzeventd." +} |