1 |
pva 11/05/27 12:48:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vzctl-3.0.27.ebuild |
5 |
Removed: vzctl-3.0.23-r2.ebuild |
6 |
Log: |
7 |
Version bump. Drop old. |
8 |
|
9 |
(Portage version: 2.1.9.49/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.78 sys-cluster/vzctl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.78&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.78&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?r1=1.77&r2=1.78 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v |
21 |
retrieving revision 1.77 |
22 |
retrieving revision 1.78 |
23 |
diff -u -r1.77 -r1.78 |
24 |
--- ChangeLog 16 May 2011 07:25:18 -0000 1.77 |
25 |
+++ ChangeLog 27 May 2011 12:48:35 -0000 1.78 |
26 |
@@ -1,6 +1,25 @@ |
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.77 2011/05/16 07:25:18 pva Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.78 2011/05/27 12:48:35 pva Exp $ |
31 |
+ |
32 |
+*vzctl-3.0.27 (27 May 2011) |
33 |
+ |
34 |
+ 27 May 2011; Peter Volkov <pva@g.o> |
35 |
+ -files/0001-Don-t-prepend-full-path-for-ip-command.patch, |
36 |
+ -vzctl-3.0.23-r2.ebuild, -files/vzctl-3.0.23-UBC-parameter-swappages.patch, |
37 |
+ -files/vzctl-3.0.23-cronjobs-dstdir-check.patch, |
38 |
+ -files/vzctl-3.0.23-cronjobs-issue-warning.patch, |
39 |
+ -files/vzctl-3.0.23-cronjobs-multiple-cron-jobs.patch, |
40 |
+ -files/vzctl-3.0.23-cronjobs-wightspace.patch, |
41 |
+ -files/vzctl-3.0.23-debian-CT-ipv6-fix.patch, |
42 |
+ -files/vzctl-3.0.23-forwarding-issue-warning.patch, |
43 |
+ -files/0002-Update-udev-rules-to-match-current-specification.patch, |
44 |
+ -files/vzctl-3.0.23-multiple-cron-jobs.patch, |
45 |
+ -files/vzctl-3.0.23-ppp-feature.patch, |
46 |
+ -files/vzctl-3.0.23-ve-unlimited.conf-sample.patch, |
47 |
+ -files/vzctl-3.0.23-vzarp-on-ifup.patch, |
48 |
+ -files/vzctl-3.0.23-vznetaddbr.in-no-bashisms.patch, +vzctl-3.0.27.ebuild: |
49 |
+ Version bump. Drop old. |
50 |
|
51 |
16 May 2011; Peter Volkov <pva@g.o> |
52 |
-files/vzctl-3.0.24.1-vzpostup.patch, -vzctl-3.0.24.2.ebuild, |
53 |
|
54 |
|
55 |
|
56 |
1.1 sys-cluster/vzctl/vzctl-3.0.27.ebuild |
57 |
|
58 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.27.ebuild?rev=1.1&view=markup |
59 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.27.ebuild?rev=1.1&content-type=text/plain |
60 |
|
61 |
Index: vzctl-3.0.27.ebuild |
62 |
=================================================================== |
63 |
# Copyright 1999-2011 Gentoo Foundation |
64 |
# Distributed under the terms of the GNU General Public License v2 |
65 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.27.ebuild,v 1.1 2011/05/27 12:48:35 pva Exp $ |
66 |
|
67 |
EAPI="4" |
68 |
|
69 |
inherit bash-completion eutils |
70 |
|
71 |
DESCRIPTION="OpenVZ ConTainers control utility" |
72 |
HOMEPAGE="http://openvz.org/" |
73 |
SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2" |
74 |
|
75 |
LICENSE="GPL-2" |
76 |
SLOT="0" |
77 |
KEYWORDS="~amd64 ~ia64 ~ppc64 ~sparc ~x86" |
78 |
IUSE="bash-completion" |
79 |
|
80 |
RDEPEND=" |
81 |
net-firewall/iptables |
82 |
sys-apps/ed |
83 |
sys-apps/iproute2 |
84 |
sys-fs/vzquota" |
85 |
|
86 |
DEPEND="${RDEPEND}" |
87 |
|
88 |
src_prepare() { |
89 |
# Set default OSTEMPLATE on gentoo |
90 |
sed -e 's:=redhat-:=gentoo-:' -i etc/dists/default || die |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
econf \ |
95 |
--localstatedir=/var \ |
96 |
--enable-udev \ |
97 |
$(use_enable bash-completion bashcomp) \ |
98 |
--enable-logrotate |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
emake DESTDIR="${D}" install install-gentoo |
103 |
|
104 |
# install the bash-completion script into the right location |
105 |
rm -rf "${ED}"/etc/bash_completion.d |
106 |
dobashcompletion etc/bash_completion.d/vzctl.sh vzctl |
107 |
|
108 |
# We need to keep some dirs |
109 |
keepdir /vz/{dump,lock,root,private,template/cache} |
110 |
keepdir /etc/vz/names /var/lib/vzctl/veip |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
bash-completion_pkg_postinst |
115 |
local conf_without_OSTEMPLATE |
116 |
for file in \ |
117 |
$(find "${EROOT}/etc/vz/conf/" \( -name *.conf -a \! -name 0.conf \)); do |
118 |
if ! grep '^OSTEMPLATE' $file > /dev/null; then |
119 |
conf_without_OSTEMPLATE+=" $file" |
120 |
fi |
121 |
done |
122 |
|
123 |
if [[ -n ${conf_without_OSTEMPLATE} ]]; then |
124 |
ewarn |
125 |
ewarn "OSTEMPLATE default was changed from redhat-like to gentoo." |
126 |
ewarn "This means that any VEID.conf files without explicit or correct" |
127 |
ewarn "OSTEMPLATE set will use gentoo scripts instead of redhat." |
128 |
ewarn "Please check the following configs:" |
129 |
for file in ${conf_without_OSTEMPLATE}; do |
130 |
ewarn "${file}" |
131 |
done |
132 |
ewarn |
133 |
fi |
134 |
|
135 |
ewarn "To avoid loosing network to CTs on iface down/up, please, add the" |
136 |
ewarn "following code to /etc/conf.d/net:" |
137 |
ewarn " postup() {" |
138 |
ewarn " /usr/sbin/vzifup-post \${IFACE}" |
139 |
ewarn " }" |
140 |
|
141 |
ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs." |
142 |
ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and" |
143 |
ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use" |
144 |
ewarn "/etc/init.d/vzeventd." |
145 |
} |