diff options
author | Christian Heim <phreak@gentoo.org> | 2007-08-16 11:43:29 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-08-16 11:43:29 +0000 |
commit | 177bbae4cc9fb874ce354c16e09bdce7a6afc431 (patch) | |
tree | 2e7ce58aa96d1ee1d13077ff25ef88e7de695248 /sys-cluster/vzctl | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-177bbae4cc9fb874ce354c16e09bdce7a6afc431.tar.gz gentoo-2-177bbae4cc9fb874ce354c16e09bdce7a6afc431.tar.bz2 gentoo-2-177bbae4cc9fb874ce354c16e09bdce7a6afc431.zip |
Revision bump, hopefully keeping all necessary configuration directories (thanks to geek at alum.rpi.edu in #187931).
(Portage version: 2.1.3.5)
Diffstat (limited to 'sys-cluster/vzctl')
-rw-r--r-- | sys-cluster/vzctl/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/vzctl/files/digest-vzctl-3.0.18-r1 | 3 | ||||
-rw-r--r-- | sys-cluster/vzctl/vzctl-3.0.18-r1.ebuild | 67 |
3 files changed, 77 insertions, 1 deletions
diff --git a/sys-cluster/vzctl/ChangeLog b/sys-cluster/vzctl/ChangeLog index 04f3dcedc891..72496c66a537 100644 --- a/sys-cluster/vzctl/ChangeLog +++ b/sys-cluster/vzctl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/vzctl # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.48 2007/07/13 07:32:46 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/ChangeLog,v 1.49 2007/08/16 11:43:29 phreak Exp $ + +*vzctl-3.0.18-r1 (16 Aug 2007) + + 16 Aug 2007; Christian Heim <phreak@gentoo.org> +vzctl-3.0.18-r1.ebuild: + Revision bump, hopefully keeping all necessary configuration directories + (thanks to geek at alum.rpi.edu in #187931). 13 Jul 2007; Christian Heim <phreak@gentoo.org> vzctl-3.0.16.ebuild, -vzctl-3.0.17.ebuild, vzctl-3.0.18.ebuild: diff --git a/sys-cluster/vzctl/files/digest-vzctl-3.0.18-r1 b/sys-cluster/vzctl/files/digest-vzctl-3.0.18-r1 new file mode 100644 index 000000000000..613109e369e5 --- /dev/null +++ b/sys-cluster/vzctl/files/digest-vzctl-3.0.18-r1 @@ -0,0 +1,3 @@ +MD5 a9284e668da669ed92e33abc39c70ca9 vzctl-3.0.18.tar.bz2 359655 +RMD160 9c7169e151c6384fd489df3dd6392d442706f46f vzctl-3.0.18.tar.bz2 359655 +SHA256 8610efa9a8327a1b6457eaa28b772ad753db5f23c2c18b25bb3ce0cf6a929e2f vzctl-3.0.18.tar.bz2 359655 diff --git a/sys-cluster/vzctl/vzctl-3.0.18-r1.ebuild b/sys-cluster/vzctl/vzctl-3.0.18-r1.ebuild new file mode 100644 index 000000000000..2bd40cb9ae86 --- /dev/null +++ b/sys-cluster/vzctl/vzctl-3.0.18-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.18-r1.ebuild,v 1.1 2007/08/16 11:43:29 phreak Exp $ + +inherit bash-completion eutils + +DESCRIPTION="OpenVZ VE 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 ~ia64 ~ppc64 ~sparc ~x86" +IUSE="bash-completion logrotate" + +RDEPEND="logrotate? ( app-admin/logrotate ) + net-firewall/iptables + sys-apps/ed + sys-apps/iproute2 + sys-fs/vzquota + virtual/cron" + +DEPEND="${RDEPEND}" + +src_compile() { + econf --localstatedir=/var \ + --enable-cron \ + --enable-udev \ + $(use_enable bash-completion bashcomp) \ + $(use_enable logrotate) || die "econf failed!" + + emake || die "emake failed!" +} + +src_install() { + make DESTDIR="${D}" install install-gentoo || die "make install failed" + + # install the bash-completion script into the right location + rm -rf "${D}"/etc/bash_completion.d + dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh vzctl + + # We need to keep some dirs + keepdir /etc/vz + keepdir /etc/vz/conf + keepdir /etc/vz/names + keepdir /vz + keepdir /vz/dump + keepdir /vz/lock + keepdir /vz/template + keepdir /vz/template/cache + keepdir /var/lib/vzctl + keepdir /var/lib/vzctl/veip +} + +pkg_postinst() { + bash-completion_pkg_postinst + if has_version "<3.0.10"; then + ewarn + ewarn "The location of some vzctl files have changed. Most notably," + ewarn "VE configuration files and samples directory has changed from" + ewarn "/etc/vz to /etc/vz/conf. In order to be able to work with" + ewarn "your VEs, please do the following:" + ewarn + ewarn "bash# mv /etc/vz/[0-9]*.conf /etc/vz/conf/" + ewarn + fi +} |