summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-05-16 07:19:13 +0000
committerPeter Volkov <pva@gentoo.org>2011-05-16 07:19:13 +0000
commit36e1f547f849fb258d3d3aca28bbcb1cc255dad3 (patch)
treea45f60e87a861b64034af4deaff10d1823a45263 /sys-cluster/vzctl
parentUpdate Manifest due to aborted commit (was: Version bump.) (diff)
downloadhistorical-36e1f547f849fb258d3d3aca28bbcb1cc255dad3.tar.gz
historical-36e1f547f849fb258d3d3aca28bbcb1cc255dad3.tar.bz2
historical-36e1f547f849fb258d3d3aca28bbcb1cc255dad3.zip
Version bump.
Package-Manager: portage-2.1.9.49/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/vzctl')
-rw-r--r--sys-cluster/vzctl/ChangeLog7
-rw-r--r--sys-cluster/vzctl/Manifest4
-rw-r--r--sys-cluster/vzctl/vzctl-3.0.26.3.ebuild83
3 files changed, 92 insertions, 2 deletions
diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog
index 072791fa58f9..b80ade17adae 100644
--- a/sys-cluster/vzctl/ChangeLog
+++ b/sys-cluster/vzctl/ChangeLog
@@ -1,6 +1,11 @@
# 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.75 2011/04/01 11:34:55 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.76 2011/05/16 07:19:13 pva Exp $
+
+*vzctl-3.0.26.3 (16 May 2011)
+
+ 16 May 2011; Peter Volkov <pva@gentoo.org> +vzctl-3.0.26.3.ebuild:
+ Version bump.
*vzctl-3.0.26.2-r1 (01 Apr 2011)
diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest
index 96db9484cc8c..7f5cc810e223 100644
--- a/sys-cluster/vzctl/Manifest
+++ b/sys-cluster/vzctl/Manifest
@@ -17,10 +17,12 @@ AUX vzctl-3.0.26.2-vzeventd.patch 2315 RMD160 ebc24de1454ccdb6375be8562dbde0c0e2
DIST vzctl-3.0.23.tar.bz2 361403 RMD160 6436843d4d7de8c98de3ec57c8003e3b625529ef SHA1 b94545dd5608bb48389abcb93e3fc8c91141461a SHA256 3ca7da609ee07b0a8d6b21f05c76b35ba8febc6b5c251b67c759bcbb3bf76eea
DIST vzctl-3.0.24.2.tar.bz2 399241 RMD160 93af0cbbcdf2789f505feab21ba0c48977cbcddc SHA1 bb222e985dbe09d28c8387a861636297d6c3eb93 SHA256 378839a4d5eda102df84ddd7daa170c9b28d7df355ed57b04c5a7e19b8203ae3
DIST vzctl-3.0.26.2.tar.bz2 405656 RMD160 e67c18ccf54b92a12cd7d3470a2fc302869c9d98 SHA1 cbdb995999f96bf2192e820dccad222a0548ee0e SHA256 6533c15c967a294bf7566a2d0c8b486519f11af22d669df518f451510256887f
+DIST vzctl-3.0.26.3.tar.bz2 406377 RMD160 e36f924e8d46f7822125e7737551da46111e1295 SHA1 f95f0aee8592161fc3a4179aac11d694fecd57ee SHA256 2317cde3d5d8604739f78a3ac3b753d1c11f4dcff28390b54eb888bf425b451b
EBUILD vzctl-3.0.23-r2.ebuild 2999 RMD160 1b0a21d0bf1b815a467c5d82535d9229860614b7 SHA1 56d478571bdbde2214b80ae255c89df93ad67a43 SHA256 35b495874f09fe1757d3cc24879cb936008d7ef8e5398396c90a6db3db70e23b
EBUILD vzctl-3.0.24.2.ebuild 2960 RMD160 563e12f3c9f25c5c25e2e4c13519ac2d17990bf1 SHA1 4dc81e76e58c5f61769cb8374c5a7f133bc5bc3d SHA256 1e2091770232b1450398aab3592b3b9585b9a0d259c8dda3a996651d700b4abe
EBUILD vzctl-3.0.26.2-r1.ebuild 2364 RMD160 337a893972eefd3764081ab277f83c620e611ffc SHA1 68353d74226ad3da50acf332985e8d5c14f2be92 SHA256 1271a1e069d0b78e6b212cc4d64df91edec6219da1af7c218af9f9e3f16995c9
EBUILD vzctl-3.0.26.2.ebuild 2739 RMD160 f2a1b2484b2f2faff0b125bf7c18ecc0c8cb879f SHA1 b2071ef31313f9ecaa146b18443fbf524a01741f SHA256 11ed10eff020c9d6a791b183111b2d2eea0f36a0565d3fc32c8ff91c1e09f75e
+EBUILD vzctl-3.0.26.3.ebuild 2303 RMD160 e9cf2682fc7daefc0f0855206b77c50b0d2c31d9 SHA1 105900feac648483d667a3031caadf103f2afb0f SHA256 7bcca46d92a48e7952c2ec2774c2dd60cc1f3935e8f8d6053bc3ecd4728b77d4
EBUILD vzctl-9999.ebuild 2269 RMD160 77f7f409885c5cf3da2b3d35b369cf82f71568fe SHA1 8e401c8ba815e19431da0ce69896d795315aeee8 SHA256 c33562aab3f83ff7edacbe4c9bb8560f0fdfcb6a41a5261ee52ec505f1314c81
-MISC ChangeLog 16123 RMD160 106630639c4c4748e51156a791ba3ea5299f1384 SHA1 462f5a41e0eb5de0c8b501209956039897c94add SHA256 1287299a363a27b5c99d1207d388da8265340332da86e74d82d8aca57a104980
+MISC ChangeLog 16240 RMD160 76ebe869a8778cec3592ea06dd08ae752c165927 SHA1 8ad8ab369782055f5cdc1601330d6def11501913 SHA256 8eebfd1d93f99ea27aeba64e4c6d2b98d67d4f1f87c8368d63f45f4c36df3f38
MISC metadata.xml 250 RMD160 859a9aa257ba731f151779434edc614d186d86cf SHA1 0e65923b7b0996ac7e063048e2fe5814453407b7 SHA256 70752023c9e02de0ce3540c4c09bc3256c72568be427bb5c7e9886745b5d2215
diff --git a/sys-cluster/vzctl/vzctl-3.0.26.3.ebuild b/sys-cluster/vzctl/vzctl-3.0.26.3.ebuild
new file mode 100644
index 000000000000..8763770f6fa8
--- /dev/null
+++ b/sys-cluster/vzctl/vzctl-3.0.26.3.ebuild
@@ -0,0 +1,83 @@
+# 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.3.ebuild,v 1.1 2011/05/16 07:19:13 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
+}
+
+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."
+}