diff options
author | Christian Heim <phreak@gentoo.org> | 2005-11-12 16:49:51 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2005-11-12 16:49:51 +0000 |
commit | 3c5bff6d992b14955dba940873f74918a3d02b2c (patch) | |
tree | bd241f2c512fb0cf5d08f8738d536896111b3b0e /sys-cluster | |
parent | Fixed wrong partimagedusers path. Closed bug #111401. (diff) | |
download | gentoo-2-3c5bff6d992b14955dba940873f74918a3d02b2c.tar.gz gentoo-2-3c5bff6d992b14955dba940873f74918a3d02b2c.tar.bz2 gentoo-2-3c5bff6d992b14955dba940873f74918a3d02b2c.zip |
Version bump
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/util-vserver/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/util-vserver/Manifest | 12 | ||||
-rw-r--r-- | sys-cluster/util-vserver/files/digest-util-vserver-0.30.209 | 2 | ||||
-rw-r--r-- | sys-cluster/util-vserver/util-vserver-0.30.209.ebuild | 96 |
4 files changed, 107 insertions, 11 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog index 2b080c8d0a67..37c853e198de 100644 --- a/sys-cluster/util-vserver/ChangeLog +++ b/sys-cluster/util-vserver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/util-vserver # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.32 2005/10/27 17:20:36 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.33 2005/11/12 16:49:51 phreak Exp $ + +*util-vserver-0.30.209 (12 Nov 2005) + + 12 Nov 2005; Christian Heim <phreak@gentoo.org> + +util-vserver-0.30.209.ebuild: + Version bump *util-vserver-0.30.208-r5 (27 Oct 2005) diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest index 20676ad48dfc..f52fbd564e9a 100644 --- a/sys-cluster/util-vserver/Manifest +++ b/sys-cluster/util-vserver/Manifest @@ -1,11 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 710416228b464a22ba04ab9b6b7c0e1f ChangeLog 6371 MD5 4bd7088cb72bd60e8ed7b7e562f3ea95 files/digest-util-vserver-0.30.205-r1 74 MD5 fa04b4cbc865fd7ef34386bee737b4e6 files/digest-util-vserver-0.30.208-r3 157 MD5 75019019ddd3be6dea9c7b26611427fa files/digest-util-vserver-0.30.208-r4 157 MD5 0722ed435a03b8e1c03b0b319045891c files/digest-util-vserver-0.30.208-r5 157 +MD5 2c8a53015c77a0f7222ab5e18ca59246 files/digest-util-vserver-0.30.209 154 MD5 09276c3e50cf5c0f8d30ef0422f05fd8 files/vprocunhide 570 MD5 bb0aa3e0f3b2d4216d303bd8ff6ebcb4 files/vserver-new_dev-fix.patch 393 MD5 5e3714a49fe3701ba1d3e5a0c210f888 files/vserver-new_drop-defaulttar.patch 840 @@ -16,10 +14,4 @@ MD5 c5f348ce535b90b26e953ef356181e1d util-vserver-0.30.205-r1.ebuild 1946 MD5 4ad677a3bd9403ff6243365f42fd5250 util-vserver-0.30.208-r3.ebuild 2701 MD5 ab43eabdf469de7dff04968715e60859 util-vserver-0.30.208-r4.ebuild 2542 MD5 684b6fb370d6611653e553c9c8fcb559 util-vserver-0.30.208-r5.ebuild 2542 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDYQxymPFBzbX68WERAmYDAJ9qIWzPEb61nImE4XLyED/nGytbkwCghh6h -0kfyZ9uNSasH7h21qt9JFM0= -=gPdW ------END PGP SIGNATURE----- +MD5 d7b62b53e4f21ba33c03603927e45ecb util-vserver-0.30.209.ebuild 2410 diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.209 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.209 new file mode 100644 index 000000000000..069e9ad6b4b5 --- /dev/null +++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.209 @@ -0,0 +1,2 @@ +MD5 4bb30253297cfdae7fb8b5700422d405 util-vserver-0.30.209-gentoo.tar.bz2 11777 +MD5 674b122824292c20d3c53245b91f6088 util-vserver-0.30.209.tar.bz2 585233 diff --git a/sys-cluster/util-vserver/util-vserver-0.30.209.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.209.ebuild new file mode 100644 index 000000000000..9cab460c2df7 --- /dev/null +++ b/sys-cluster/util-vserver/util-vserver-0.30.209.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/util-vserver-0.30.209.ebuild,v 1.1 2005/11/12 16:49:51 phreak Exp $ + +inherit autotools eutils toolchain-funcs + +DESCRIPTION="Linux-VServer admin utilities" +HOMEPAGE="http://www.nongnu.org/util-vserver/" +SRC_URI="http://www.13thfloor.at/~ensc/util-vserver/files/alpha/${P}.tar.bz2 \ + http://dev.gentoo.org/~phreak/${PN}/${P}-gentoo.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND=">=dev-libs/dietlibc-0.28 + dev-libs/beecrypt + net-firewall/iptables + net-misc/vconfig + sys-apps/iproute2 + sys-process/procps" + +pkg_setup() { + if [[ -z "${VDIRBASE}" ]]; then + einfo + einfo "You can change the default vserver base directory (/vservers)" + einfo "by setting the VDIRBASE environment variable." + fi + + : ${VDIRBASE:=/vservers} + + einfo + einfo "Using \"${VDIRBASE}\" as vserver base directory" + einfo +} + +src_unpack() { + unpack ${A} || die + cd "${S}" || die + + cp "${WORKDIR}"/tools/* scripts/ || die "failed to copy gentoo tools" + epatch "${WORKDIR}"/patches/*.patch + + AT_M4DIR="-I m4" \ + eautoreconf +} + +src_compile() { + econf --localstatedir=/var \ + --with-initrddir=/etc/init.d \ + --with-vrootdir="${VDIRBASE}" || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + + # keep dirs + keepdir /var/run/vservers + keepdir /var/run/vservers.rev + keepdir /var/run/vshelper + keepdir /var/lock/vservers + + keepdir "${VDIRBASE}" + fperms 000 "${VDIRBASE}" + + # remove the non-gentoo init-scripts: + rm -f "${D}"/etc/init.d/* + + # and install gentoo'ized ones: + doinitd "${WORKDIR}"/init.d/vservers + doconfd "${WORKDIR}"/conf.d/vservers + + dodoc README ChangeLog NEWS AUTHORS INSTALL THANKS util-vserver.spec +} + +pkg_postinst() { + einfo + einfo "You have to run the vprocunhide command after every reboot" + einfo "in order to setup /proc permissions correctly for vserver" + einfo "use. An init script has been installed by this package." + einfo "To use it you should add it to a runlevel:" + einfo + einfo " rc-update add vservers default" + einfo + einfo "This init script will also help you to start/stop your vservers" + einfo "on reboot. See ${ROOT}etc/conf.d/vserver for details" + ewarn + ewarn "You should definitly fix up the barrier of your vserver" + ewarn "base directory by using the following command in a root shell:" + ewarn + ewarn " setattr --barrier ${VDIRBASE}" + ewarn +} |