1 |
qnikst 13/12/03 16:06:11 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: vzctl-4.6.1.ebuild |
5 |
Log: |
6 |
vzctl-4.6.1 version bump |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xEAD50D64D8D3571A!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.13 sys-cluster/vzctl/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/metadata.xml?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/metadata.xml?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/metadata.xml?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/metadata.xml,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- metadata.xml 19 Oct 2013 16:09:14 -0000 1.12 |
24 |
+++ metadata.xml 3 Dec 2013 16:06:11 -0000 1.13 |
25 |
@@ -12,6 +12,7 @@ |
26 |
<flag name='cgroup'>Add support to Linux kernel cgroup subsytem</flag> |
27 |
<flag name='vz-kernel'>Support OpenVZ patched kernel (<pkg>sys-kernel/openvz-sources</pkg>)</flag> |
28 |
<flag name='vanilla-kernel'>Support unpatched upstream Linux kernel</flag> |
29 |
+ <flag name='vzmigrate'>Add support for container migration</flag> |
30 |
</use> |
31 |
<upstream> |
32 |
<maintainer status="active"> |
33 |
|
34 |
|
35 |
|
36 |
1.119 sys-cluster/vzctl/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.119&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.119&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?r1=1.118&r2=1.119 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v |
45 |
retrieving revision 1.118 |
46 |
retrieving revision 1.119 |
47 |
diff -u -r1.118 -r1.119 |
48 |
--- ChangeLog 19 Oct 2013 16:09:14 -0000 1.118 |
49 |
+++ ChangeLog 3 Dec 2013 16:06:11 -0000 1.119 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for sys-cluster/vzctl |
52 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.118 2013/10/19 16:09:14 pacho Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.119 2013/12/03 16:06:11 qnikst Exp $ |
55 |
+ |
56 |
+*vzctl-4.6.1 (03 Dec 2013) |
57 |
+ |
58 |
+ 03 Dec 2013; Alexander Vershilov <qnikst@g.o> +vzctl-4.6.1.ebuild, |
59 |
+ metadata.xml: |
60 |
+ vzctl-4.6.1 version bump |
61 |
|
62 |
19 Oct 2013; Pacho Ramos <pacho@g.o> metadata.xml: |
63 |
Cleanup due vserver removal |
64 |
|
65 |
|
66 |
|
67 |
1.1 sys-cluster/vzctl/vzctl-4.6.1.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-4.6.1.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-4.6.1.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: vzctl-4.6.1.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2013 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-4.6.1.ebuild,v 1.1 2013/12/03 16:06:11 qnikst Exp $ |
77 |
|
78 |
EAPI="5" |
79 |
|
80 |
inherit base bash-completion-r1 eutils toolchain-funcs udev |
81 |
|
82 |
DESCRIPTION="OpenVZ ConTainers control utility" |
83 |
HOMEPAGE="http://openvz.org/" |
84 |
SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2" |
85 |
|
86 |
LICENSE="GPL-2" |
87 |
SLOT="0" |
88 |
KEYWORDS="~amd64 ~x86 ~ppc64 -amd64-fbsd -x86-fbsd -sparc-fbsd" |
89 |
IUSE="+ploop +vz-kernel +vzmigrate" |
90 |
|
91 |
RDEPEND="net-firewall/iptables |
92 |
sys-apps/ed |
93 |
>=sys-apps/iproute2-3.3.0 |
94 |
vz-kernel? ( >=sys-fs/vzquota-3.1 ) |
95 |
ploop? ( |
96 |
>=sys-cluster/ploop-1.9 |
97 |
sys-block/parted |
98 |
sys-fs/quota |
99 |
) |
100 |
>=dev-libs/libcgroup-0.38 |
101 |
vzmigrate? ( |
102 |
net-misc/openssh |
103 |
net-misc/rsync[xattr,acl] |
104 |
app-arch/tar[xattr,acl] |
105 |
) |
106 |
" |
107 |
|
108 |
DEPEND="${RDEPEND} |
109 |
virtual/pkgconfig |
110 |
" |
111 |
|
112 |
src_prepare() { |
113 |
|
114 |
# Set default OSTEMPLATE on gentoo |
115 |
sed -i -e 's:=redhat-:=gentoo-:' etc/dists/default || die 'sed on etc/dists/default failed' |
116 |
# Set proper udev directory |
117 |
sed -i -e "s:/lib/udev:$(udev_get_udevdir):" src/lib/dev.c || die 'sed on src/lib/dev.c failed' |
118 |
} |
119 |
|
120 |
src_configure() { |
121 |
|
122 |
econf \ |
123 |
--localstatedir=/var \ |
124 |
--enable-udev \ |
125 |
--enable-bashcomp \ |
126 |
--enable-logrotate \ |
127 |
--with-vz \ |
128 |
$(use_with ploop) \ |
129 |
--with-cgroup |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
|
134 |
emake DESTDIR="${D}" udevdir="$(udev_get_udevdir)"/rules.d install install-gentoo |
135 |
|
136 |
# install the bash-completion script into the right location |
137 |
rm -rf "${ED}"/etc/bash_completion.d |
138 |
newbashcomp etc/bash_completion.d/vzctl.sh ${PN} |
139 |
|
140 |
# We need to keep some dirs |
141 |
keepdir /vz/{dump,lock,root,private,template/cache} |
142 |
keepdir /etc/vz/names /var/lib/vzctl/veip |
143 |
} |
144 |
|
145 |
pkg_postinst() { |
146 |
ewarn "To avoid loosing network to CTs on iface down/up, please, add the" |
147 |
ewarn "following code to /etc/conf.d/net:" |
148 |
ewarn " postup() {" |
149 |
ewarn " /usr/sbin/vzifup-post \${IFACE}" |
150 |
ewarn " }" |
151 |
|
152 |
ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs." |
153 |
ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and" |
154 |
ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use" |
155 |
ewarn "/etc/init.d/vzeventd." |
156 |
|
157 |
einfo "You have chose to "vanilla" kernel." |
158 |
einfo "If you have checkpoint suspend/restore feature in vanilla kernel" |
159 |
einfo "please install "sys-process/criu" " |
160 |
einfo "This is experimental and not stable ( in gentoo ) now" |
161 |
|
162 |
einfo "if you have work with .xz compressed template, please install app-arch/xz-utils" |
163 |
einfo "if you have check signature donwloaded template - install gpg " |
164 |
|
165 |
} |