diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/util-vserver/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/util-vserver/Manifest | 10 | ||||
-rw-r--r-- | sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r5 | 2 | ||||
-rw-r--r-- | sys-cluster/util-vserver/util-vserver-0.30.208-r5.ebuild | 96 |
4 files changed, 111 insertions, 5 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog index e2251c3a7e3e..2b080c8d0a67 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.31 2005/10/13 20:07:55 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.32 2005/10/27 17:20:36 hollow Exp $ + +*util-vserver-0.30.208-r5 (27 Oct 2005) + + 27 Oct 2005; Benedikt Boehm <hollow@gentoo.org> + +util-vserver-0.30.208-r5.ebuild: + many bugfixes, mainly vserver-new and gentoo-functions.sh *util-vserver-0.30.208-r4 (13 Oct 2005) diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest index 7d26ef14cbed..20676ad48dfc 100644 --- a/sys-cluster/util-vserver/Manifest +++ b/sys-cluster/util-vserver/Manifest @@ -1,10 +1,11 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 bc27cf508f797d6dd8285ddebae4ea32 ChangeLog 6183 +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 09276c3e50cf5c0f8d30ef0422f05fd8 files/vprocunhide 570 MD5 bb0aa3e0f3b2d4216d303bd8ff6ebcb4 files/vserver-new_dev-fix.patch 393 MD5 5e3714a49fe3701ba1d3e5a0c210f888 files/vserver-new_drop-defaulttar.patch 840 @@ -14,10 +15,11 @@ MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588 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) -iD8DBQFDUQRkmPFBzbX68WERAjFrAJ9aP87WB1SeF5LT6oHH7dXJ64xKbQCgkpV/ -JupQu+3H0YGd4tNURdUmDPw= -=Zr8m +iD8DBQFDYQxymPFBzbX68WERAmYDAJ9qIWzPEb61nImE4XLyED/nGytbkwCghh6h +0kfyZ9uNSasH7h21qt9JFM0= +=gPdW -----END PGP SIGNATURE----- diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r5 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r5 new file mode 100644 index 000000000000..09d0581b17b5 --- /dev/null +++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r5 @@ -0,0 +1,2 @@ +MD5 80e633aa0d15ee0a33496117a4ab8c4a util-vserver-0.30.208-gentoo-r5.tar.bz2 23666 +MD5 4453ad0ae7f351fec651d6904e00521f util-vserver-0.30.208.tar.bz2 580935 diff --git a/sys-cluster/util-vserver/util-vserver-0.30.208-r5.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.208-r5.ebuild new file mode 100644 index 000000000000..0b3fd488fe4f --- /dev/null +++ b/sys-cluster/util-vserver/util-vserver-0.30.208-r5.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.208-r5.ebuild,v 1.1 2005/10/27 17:20:36 hollow 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/~hollow/vserver/${PN}/${P}-gentoo-${PR}.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 +} |