Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/vzctl: ChangeLog vzctl-3.0.29.3.ebuild vzctl-3.0.26.2-r1.ebuild
Date: Thu, 29 Sep 2011 07:59:27
Message-Id: 20110929075917.4EA2E20033@flycatcher.gentoo.org
1 pva 11/09/29 07:59:17
2
3 Modified: ChangeLog
4 Added: vzctl-3.0.29.3.ebuild
5 Removed: vzctl-3.0.26.2-r1.ebuild
6 Log:
7 Version bump. Drop old.
8
9 (Portage version: 2.1.10.15/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.85 sys-cluster/vzctl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.85&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.85&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?r1=1.84&r2=1.85
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v
21 retrieving revision 1.84
22 retrieving revision 1.85
23 diff -u -r1.84 -r1.85
24 --- ChangeLog 21 Sep 2011 09:04:52 -0000 1.84
25 +++ ChangeLog 29 Sep 2011 07:59:17 -0000 1.85
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-cluster/vzctl
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.84 2011/09/21 09:04:52 mgorny Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.85 2011/09/29 07:59:17 pva Exp $
31 +
32 +*vzctl-3.0.29.3 (29 Sep 2011)
33 +
34 + 29 Sep 2011; Peter Volkov <pva@g.o> -vzctl-3.0.26.2-r1.ebuild,
35 + -files/vzctl-3.0.26.2-vzeventd.patch, +vzctl-3.0.29.3.ebuild:
36 + Version bump. Drop old.
37
38 21 Sep 2011; Michał Górny <mgorny@g.o> vzctl-9999.ebuild:
39 Migrate to git-2.
40
41
42
43 1.1 sys-cluster/vzctl/vzctl-3.0.29.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.29.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.29.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: vzctl-3.0.29.3.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.29.3.ebuild,v 1.1 2011/09/29 07:59:17 pva Exp $
53
54 EAPI="4"
55
56 inherit bash-completion-r1 eutils
57
58 DESCRIPTION="OpenVZ ConTainers control utility"
59 HOMEPAGE="http://openvz.org/"
60 SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ia64 ~ppc64 ~sparc ~x86"
65 IUSE=""
66
67 RDEPEND="
68 net-firewall/iptables
69 sys-apps/ed
70 sys-apps/iproute2
71 sys-fs/vzquota"
72
73 DEPEND="${RDEPEND}"
74
75 src_prepare() {
76 # Set default OSTEMPLATE on gentoo added in vzctl-3.0.24 (29 Jun 2010)
77 sed -e 's:=redhat-:=gentoo-:' -i etc/dists/default || die
78 }
79
80 src_configure() {
81 econf \
82 --localstatedir=/var \
83 --enable-udev \
84 --enable-bashcomp \
85 --enable-logrotate
86 }
87
88 src_install() {
89 emake DESTDIR="${D}" install install-gentoo
90
91 # install the bash-completion script into the right location
92 rm -rf "${ED}"/etc/bash_completion.d
93 newbashcomp etc/bash_completion.d/vzctl.sh ${PN}
94
95 # We need to keep some dirs
96 keepdir /vz/{dump,lock,root,private,template/cache}
97 keepdir /etc/vz/names /var/lib/vzctl/veip
98 }
99
100 pkg_postinst() {
101 ewarn "To avoid loosing network to CTs on iface down/up, please, add the"
102 ewarn "following code to /etc/conf.d/net:"
103 ewarn " postup() {"
104 ewarn " /usr/sbin/vzifup-post \${IFACE}"
105 ewarn " }"
106
107 ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs."
108 ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and"
109 ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use"
110 ewarn "/etc/init.d/vzeventd."
111 }