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: vzctl-3.0.23-r1.ebuild ChangeLog vzctl-3.0.22-r2.ebuild vzctl-3.0.23.ebuild
Date: Tue, 31 Mar 2009 09:16:39
Message-Id: E1Loa5B-0007Qi-LM@stork.gentoo.org
1 pva 09/03/31 09:16:33
2
3 Modified: ChangeLog vzctl-3.0.22-r2.ebuild
4 Added: vzctl-3.0.23-r1.ebuild
5 Removed: vzctl-3.0.23.ebuild
6 Log:
7 Backport some fixes from git, update patches to be likely included (or already included) by upstream. Remove old. Stabilize 3.0.22-r2.
8 (Portage version: 2.2_rc28/cvs/Linux i686)
9
10 Revision Changes Path
11 1.61 sys-cluster/vzctl/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.61&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.61&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/ChangeLog?r1=1.60&r2=1.61
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v
20 retrieving revision 1.60
21 retrieving revision 1.61
22 diff -u -r1.60 -r1.61
23 --- ChangeLog 15 Nov 2008 13:01:30 -0000 1.60
24 +++ ChangeLog 31 Mar 2009 09:16:33 -0000 1.61
25 @@ -1,6 +1,24 @@
26 # ChangeLog for sys-cluster/vzctl
27 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.60 2008/11/15 13:01:30 pva Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.61 2009/03/31 09:16:33 pva Exp $
31 +
32 +*vzctl-3.0.23-r1 (31 Mar 2009)
33 +
34 + 31 Mar 2009; Peter Volkov <pva@g.o>
35 + +files/vzctl-3.0.23-UBC-parameter-swappages.patch,
36 + +files/vzctl-3.0.23-cronjobs-issue-warning.patch,
37 + +files/vzctl-3.0.23-cronjobs-typo-fix.patch,
38 + +files/vzctl-3.0.23-debian-CT-ipv6-fix.patch,
39 + +files/vzctl-3.0.23-forwarding-issue-warning.patch,
40 + -files/vzctl-3.0.23-ipforwarding-on-start.patch,
41 + +files/vzctl-3.0.23-ppp-feature.patch,
42 + -files/vzctl-3.0.23-set-cron-jobs.patch,
43 + files/vzctl-3.0.23-ve-unlimited.conf-sample.patch,
44 + +files/vzctl-3.0.23-vzarp-on-ifup.patch,
45 + +files/vzctl-3.0.23-vznetaddbr.in-no-bashisms.patch,
46 + vzctl-3.0.22-r2.ebuild, -vzctl-3.0.23.ebuild, +vzctl-3.0.23-r1.ebuild:
47 + Backport some fixes from git, update patches to be likely included (or
48 + already included) by upstream. Remove old. Stabilize 3.0.22-r2.
49
50 *vzctl-3.0.23 (15 Nov 2008)
51
52
53
54
55 1.2 sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild
56
57 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild?rev=1.2&view=markup
58 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild?rev=1.2&content-type=text/plain
59 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild?r1=1.1&r2=1.2
60
61 Index: vzctl-3.0.22-r2.ebuild
62 ===================================================================
63 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild,v
64 retrieving revision 1.1
65 retrieving revision 1.2
66 diff -u -r1.1 -r1.2
67 --- vzctl-3.0.22-r2.ebuild 8 Nov 2008 19:41:59 -0000 1.1
68 +++ vzctl-3.0.22-r2.ebuild 31 Mar 2009 09:16:33 -0000 1.2
69 @@ -1,6 +1,6 @@
70 -# Copyright 1999-2008 Gentoo Foundation
71 +# Copyright 1999-2009 Gentoo Foundation
72 # Distributed under the terms of the GNU General Public License v2
73 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild,v 1.1 2008/11/08 19:41:59 pva Exp $
74 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.22-r2.ebuild,v 1.2 2009/03/31 09:16:33 pva Exp $
75
76 inherit bash-completion eutils
77
78 @@ -10,7 +10,7 @@
79
80 LICENSE="GPL-2"
81 SLOT="0"
82 -KEYWORDS="~amd64 ~ia64 ~ppc64 ~sparc ~x86"
83 +KEYWORDS="amd64 ~ia64 ~ppc64 ~sparc x86"
84 IUSE="bash-completion logrotate"
85
86 RDEPEND="logrotate? ( app-admin/logrotate )
87
88
89
90 1.1 sys-cluster/vzctl/vzctl-3.0.23-r1.ebuild
91
92 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.23-r1.ebuild?rev=1.1&view=markup
93 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.23-r1.ebuild?rev=1.1&content-type=text/plain
94
95 Index: vzctl-3.0.23-r1.ebuild
96 ===================================================================
97 # Copyright 1999-2009 Gentoo Foundation
98 # Distributed under the terms of the GNU General Public License v2
99 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.23-r1.ebuild,v 1.1 2009/03/31 09:16:33 pva Exp $
100
101 inherit bash-completion eutils autotools
102
103 DESCRIPTION="OpenVZ VE control utility"
104 HOMEPAGE="http://openvz.org/"
105 SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
106
107 LICENSE="GPL-2"
108 SLOT="0"
109 KEYWORDS="~amd64 ~ia64 ~ppc64 ~sparc ~x86"
110 IUSE="bash-completion logrotate"
111
112 RDEPEND="logrotate? ( app-admin/logrotate )
113 net-firewall/iptables
114 sys-apps/ed
115 sys-apps/iproute2
116 sys-fs/vzquota
117 virtual/cron"
118
119 DEPEND="${RDEPEND}"
120
121 pkg_setup() {
122 has_version "<sys-cluster/vzctl-3.0.10" && OLD_VZCTL=true || OLD_VZCTL=false
123 }
124
125 src_unpack() {
126 unpack ${A}
127 cd "${S}"
128 epatch "${FILESDIR}/${P}-vznetaddbr.in-no-bashisms.patch"
129 epatch "${FILESDIR}/${P}-ve-unlimited.conf-sample.patch"
130 epatch "${FILESDIR}/${P}-debian-CT-ipv6-fix.patch"
131 epatch "${FILESDIR}/${P}-cronjobs-typo-fix.patch"
132 epatch "${FILESDIR}/${P}-cronjobs-issue-warning.patch"
133 epatch "${FILESDIR}/${P}-vzarp-on-ifup.patch"
134 epatch "${FILESDIR}/${P}-ppp-feature.patch"
135 epatch "${FILESDIR}/${P}-UBC-parameter-swappages.patch"
136 epatch "${FILESDIR}/${P}-forwarding-issue-warning.patch"
137 eautomake
138 }
139
140 src_compile() {
141 econf --localstatedir=/var \
142 --enable-cron \
143 --enable-udev \
144 $(use_enable bash-completion bashcomp) \
145 $(use_enable logrotate)
146
147 emake || die "emake failed!"
148 }
149
150 src_install() {
151 make DESTDIR="${D}" install install-gentoo || die "make install failed"
152
153 # install the bash-completion script into the right location
154 rm -rf "${D}"/etc/bash_completion.d
155 dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh vzctl
156
157 # We need to keep some dirs
158 keepdir /vz/{dump,lock,root,private,template/cache}
159 keepdir /etc/vz/names /var/lib/vzctl/veip
160 }
161
162 pkg_postinst() {
163 bash-completion_pkg_postinst
164 ewarn
165 if ${OLD_VZCTL}; then
166 ewarn "The location of some vzctl files have changed. Most notably,"
167 ewarn "VE configuration files and samples directory has changed from"
168 ewarn "/etc/vz to /etc/vz/conf. In order to be able to work with"
169 ewarn "your VEs, please do the following:"
170 ewarn
171 ewarn "bash# mv /etc/vz/[0-9]*.conf /etc/vz/conf/"
172 einfo
173 fi
174 ewarn "NOTE: Starting with vzctl-3.0.22 the mechanism for choosing the"
175 ewarn "interfaces to send ARP requests to has been improved (see description"
176 ewarn "of NEIGHBOUR_DEVS in vz.conf(5) man page). In case VE IP addresses"
177 ewarn "are not on the same subnet as HN IPs, it may lead to such VEs being"
178 ewarn "unreachable from the outside world."
179 ewarn
180 ewarn "The solution is to set up a device route(s) for the network your VEs are"
181 ewarn "in. For more details, see http://bugzilla.openvz.org/show_bug.cgi?id=771#c1"
182 ewarn
183 ewarn "The old vzctl behavior can be restored by setting NEIGHBOUR_DEVS to any"
184 ewarn 'value other than "detect" in /etc/vz/vz.conf.'
185 }