* [gentoo-commits] gentoo-x86 commit in sys-cluster/vzctl: vzctl-4.1.2-r1.ebuild ChangeLog vzctl-3.3-r2.ebuild vzctl-4.1.2.ebuild
@ 2013-01-03 21:02 Sergey Popov (pinkbyte)
0 siblings, 0 replies; only message in thread
From: Sergey Popov (pinkbyte) @ 2013-01-03 21:02 UTC (permalink / raw
To: gentoo-commits
pinkbyte 13/01/03 21:02:59
Modified: ChangeLog vzctl-3.3-r2.ebuild
Added: vzctl-4.1.2-r1.ebuild
Removed: vzctl-4.1.2.ebuild
Log:
Rename initscript patch, add it to latest version and bump revision
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path
1.103 sys-cluster/vzctl/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.103&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?rev=1.103&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/ChangeLog?r1=1.102&r2=1.103
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- ChangeLog 3 Jan 2013 20:54:21 -0000 1.102
+++ ChangeLog 3 Jan 2013 21:02:59 -0000 1.103
@@ -1,6 +1,13 @@
# ChangeLog for sys-cluster/vzctl
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.102 2013/01/03 20:54:21 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.103 2013/01/03 21:02:59 pinkbyte Exp $
+
+*vzctl-4.1.2-r1 (03 Jan 2013)
+
+ 03 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> vzctl-3.3-r2.ebuild,
+ -files/vzctl-3.3-initscript-paths.patch, -vzctl-4.1.2.ebuild,
+ +vzctl-4.1.2-r1.ebuild, +files/vzctl-initscript-paths.patch:
+ Rename initscript patch, add it to latest version and bump revision
*vzctl-3.3-r2 (03 Jan 2013)
1.2 sys-cluster/vzctl/vzctl-3.3-r2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-3.3-r2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-3.3-r2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-3.3-r2.ebuild?r1=1.1&r2=1.2
Index: vzctl-3.3-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.3-r2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vzctl-3.3-r2.ebuild 3 Jan 2013 20:54:21 -0000 1.1
+++ vzctl-3.3-r2.ebuild 3 Jan 2013 21:02:59 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.3-r2.ebuild,v 1.1 2013/01/03 20:54:21 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.3-r2.ebuild,v 1.2 2013/01/03 21:02:59 pinkbyte Exp $
EAPI="4"
@@ -32,7 +32,7 @@
sed -i -e "s:/lib/udev:$(udev_get_udevdir):" src/lib/dev.c || die
# Fix paths in initscript, wrt bug #444201
- epatch "${FILESDIR}/${P}-initscript-paths.patch"
+ epatch "${FILESDIR}/${PN}-initscript-paths.patch"
}
src_configure() {
1.1 sys-cluster/vzctl/vzctl-4.1.2-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-4.1.2-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/vzctl-4.1.2-r1.ebuild?rev=1.1&content-type=text/plain
Index: vzctl-4.1.2-r1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-4.1.2-r1.ebuild,v 1.1 2013/01/03 21:02:59 pinkbyte Exp $
EAPI="5"
inherit base bash-completion-r1 eutils udev toolchain-funcs
DESCRIPTION="OpenVZ ConTainers control utility"
HOMEPAGE="http://openvz.org/"
SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ploop +cgroup"
RDEPEND="
net-firewall/iptables
sys-apps/ed
>=sys-apps/iproute2-3.0
sys-fs/vzquota
ploop? ( >=sys-cluster/ploop-1.5 )
cgroup? ( >=dev-libs/libcgroup-0.37 )
"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
# Set default OSTEMPLATE on gentoo added
sed -i -e 's:=redhat-:=gentoo-:' etc/dists/default || die 'sed on etc/dists/default failed'
sed -i -e "s:/lib/udev:$(udev_get_udevdir):" src/lib/dev.c || die 'sed on src/lib/dev.c failed'
# Fix paths in initscript, wrt bug #444201
epatch "${FILESDIR}/${PN}-initscript-paths.patch"
}
src_configure() {
econf \
--localstatedir=/var \
--enable-udev \
--enable-bashcomp \
--enable-logrotate \
$(use_with ploop) \
$(use_with cgroup)
}
src_install() {
emake DESTDIR="${D}" udevdir="$(udev_get_udevdir)"/rules.d install install-gentoo
# install the bash-completion script into the right location
rm -rf "${ED}"/etc/bash_completion.d
newbashcomp etc/bash_completion.d/vzctl.sh ${PN}
# We need to keep some dirs
keepdir /vz/{dump,lock,root,private,template/cache}
keepdir /etc/vz/names /var/lib/vzctl/veip
}
pkg_postinst() {
ewarn "To avoid loosing network to CTs on iface down/up, please, add the"
ewarn "following code to /etc/conf.d/net:"
ewarn " postup() {"
ewarn " /usr/sbin/vzifup-post \${IFACE}"
ewarn " }"
ewarn "Starting with 3.0.25 there is new vzeventd service to reboot CTs."
ewarn "Please, drop /usr/share/vzctl/scripts/vpsnetclean and"
ewarn "/usr/share/vzctl/scripts/vpsreboot from crontab and use"
ewarn "/etc/init.d/vzeventd."
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-03 21:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 21:02 [gentoo-commits] gentoo-x86 commit in sys-cluster/vzctl: vzctl-4.1.2-r1.ebuild ChangeLog vzctl-3.3-r2.ebuild vzctl-4.1.2.ebuild Sergey Popov (pinkbyte)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox