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