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