summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-06-09 07:54:05 +0000
committerPeter Volkov <pva@gentoo.org>2011-06-09 07:54:05 +0000
commit666ced912e98a9c6ffd6f047ef1dfbb835b5892d (patch)
tree5dbd0612f918f25d1302426a50bd361bc25afcf1 /sys-cluster/vzctl
parentVersion bump. (diff)
downloadhistorical-666ced912e98a9c6ffd6f047ef1dfbb835b5892d.tar.gz
historical-666ced912e98a9c6ffd6f047ef1dfbb835b5892d.tar.bz2
historical-666ced912e98a9c6ffd6f047ef1dfbb835b5892d.zip
Version bump.
Package-Manager: portage-2.1.9.50/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.28.1.ebuild83
3 files changed, 92 insertions, 2 deletions
diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog
index 38e685bceba5..907943776446 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.78 2011/05/27 12:48:35 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.79 2011/06/09 07:54:05 pva Exp $
+
+*vzctl-3.0.28.1 (09 Jun 2011)
+
+ 09 Jun 2011; Peter Volkov <pva@gentoo.org> +vzctl-3.0.28.1.ebuild:
+ Version bump.
*vzctl-3.0.27 (27 May 2011)
diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest
index 2155119a6094..94b7a97a4f43 100644
--- a/sys-cluster/vzctl/Manifest
+++ b/sys-cluster/vzctl/Manifest
@@ -2,9 +2,11 @@ AUX vzctl-3.0.26.2-vzeventd.patch 2315 RMD160 ebc24de1454ccdb6375be8562dbde0c0e2
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
DIST vzctl-3.0.27.tar.bz2 410626 RMD160 83b1b64fb755df58ea944a1d7a1aab4e35abb9ed SHA1 f3c417828fdc5e9f947f97a803520badb6a80c79 SHA256 cd43d048e2669c43a187c696a2efb395e91123186cd21fde7be74b698f7486a2
+DIST vzctl-3.0.28.1.tar.bz2 414283 RMD160 9007572f089ecb9bc70d48b4159171548e508457 SHA1 aeed0d58514c3d7ee92e6b2c769602776c0c880b SHA256 2d4c124d708d368181a1f09948b2b955792922e1b7e41788de2d7ded9b67f628
EBUILD vzctl-3.0.26.2-r1.ebuild 2362 RMD160 d5e81238399feb92bfde03980514adcab332b3ea SHA1 5ed058d01b16a24ce8dff3f4240a9bf0d1128636 SHA256 57e87865e0dbad8fd7dfe0b68eb77693327478f6665a1036b627575f81383e11
EBUILD vzctl-3.0.26.3.ebuild 2303 RMD160 e9cf2682fc7daefc0f0855206b77c50b0d2c31d9 SHA1 105900feac648483d667a3031caadf103f2afb0f SHA256 7bcca46d92a48e7952c2ec2774c2dd60cc1f3935e8f8d6053bc3ecd4728b77d4
EBUILD vzctl-3.0.27.ebuild 2301 RMD160 a3c8f82f38f075491c229b67f0e6a95bd1ede1e2 SHA1 37dfeb6ca482a9c4e4daef2f10acf5dc24325b59 SHA256 7da395055d37a2b97f0950966ce781f6037b3b79f64439124c5ef0fc58b534ad
+EBUILD vzctl-3.0.28.1.ebuild 2303 RMD160 4777277bc275c654c625c90ed6544f7f4bd2b27f SHA1 b5fd2848c63f77c997ab1f48e1675ae0d9e7f2a8 SHA256 5ec49a89dcecbd8d3fb976f898c06d665f5afe94014657ebb27e9799105eb6b6
EBUILD vzctl-9999.ebuild 2269 RMD160 77f7f409885c5cf3da2b3d35b369cf82f71568fe SHA1 8e401c8ba815e19431da0ce69896d795315aeee8 SHA256 c33562aab3f83ff7edacbe4c9bb8560f0fdfcb6a41a5261ee52ec505f1314c81
-MISC ChangeLog 17331 RMD160 56f28a26531c61921021f3b52b0a4d45a1878ea8 SHA1 32b107df0fbd82911a39eff36f66c20a196b444b SHA256 059bb61e43e33af0fbbe8ebd114a53b37b2ceea9e5b76836e8048068d7b1ed4c
+MISC ChangeLog 17448 RMD160 463fddf3930a7faa3909efdadaeaa8292b3e30f7 SHA1 34e0150520bee9342938d07862550e0c57313585 SHA256 062602152c99ce35caa423a61b45dad1646710cb1bc8b16e0ce0d4bdb79fc4c1
MISC metadata.xml 250 RMD160 859a9aa257ba731f151779434edc614d186d86cf SHA1 0e65923b7b0996ac7e063048e2fe5814453407b7 SHA256 70752023c9e02de0ce3540c4c09bc3256c72568be427bb5c7e9886745b5d2215
diff --git a/sys-cluster/vzctl/vzctl-3.0.28.1.ebuild b/sys-cluster/vzctl/vzctl-3.0.28.1.ebuild
new file mode 100644
index 000000000000..e36339566f3b
--- /dev/null
+++ b/sys-cluster/vzctl/vzctl-3.0.28.1.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.28.1.ebuild,v 1.1 2011/06/09 07:54:05 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."
+}