diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2005-12-01 13:04:25 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2005-12-01 13:04:25 +0000 |
commit | ccc4f9d43fe15f1eb1a54727246726d36f4ff379 (patch) | |
tree | 81c2ee06260d801bf7aaf8800377d696d76e8475 /sys-cluster/util-vserver | |
parent | Disable pam when not requested by -pam useflag. Resolves bug #114115. (diff) | |
download | historical-ccc4f9d43fe15f1eb1a54727246726d36f4ff379.tar.gz historical-ccc4f9d43fe15f1eb1a54727246726d36f4ff379.tar.bz2 historical-ccc4f9d43fe15f1eb1a54727246726d36f4ff379.zip |
bug fixes; move to default-linux profiles
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'sys-cluster/util-vserver')
-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.209-r1 | 2 | ||||
-rw-r--r-- | sys-cluster/util-vserver/util-vserver-0.30.209-r1.ebuild | 106 |
4 files changed, 121 insertions, 5 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog index 33d6eb5ec7de..6413fbefd459 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.35 2005/11/26 09:44:04 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.36 2005/12/01 13:04:25 hollow Exp $ + +*util-vserver-0.30.209-r1 (01 Dec 2005) + + 01 Dec 2005; Benedikt Boehm <hollow@gentoo.org> + +util-vserver-0.30.209-r1.ebuild: + bug fixes; move to default-linux profiles 26 Nov 2005; Benedikt Boehm <hollow@gentoo.org> -files/vprocunhide, -files/vserver-new_dev-fix.patch, diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest index 02a8da05539c..f730471b7904 100644 --- a/sys-cluster/util-vserver/Manifest +++ b/sys-cluster/util-vserver/Manifest @@ -1,16 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 e13885afb2c793316d8d88d289307c54 ChangeLog 7066 +MD5 66bccf639ad7360f12f9d3a4de124d37 ChangeLog 7238 MD5 0722ed435a03b8e1c03b0b319045891c files/digest-util-vserver-0.30.208-r5 157 MD5 2c8a53015c77a0f7222ab5e18ca59246 files/digest-util-vserver-0.30.209 154 +MD5 d12341fed81bbbfc770dbdb5cf953bd2 files/digest-util-vserver-0.30.209-r1 157 MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588 MD5 9c501f34aa38e4a86f7b08ff6f91a594 util-vserver-0.30.208-r5.ebuild 2915 +MD5 79db022831fe3ce34145070e112f7e91 util-vserver-0.30.209-r1.ebuild 2916 MD5 b4069ef9a990ff4e2e6352f004f3db16 util-vserver-0.30.209.ebuild 2901 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDiC5xmPFBzbX68WERAp7aAKCNMx3c1TZ9OHeWzpVR8Q8gViq/3QCdG5cc -GxgnnEMtXDl4+nuMqEISv50= -=N+uJ +iD8DBQFDjvTomPFBzbX68WERAlbZAJ4jDTrBtEW4Vx1mPUHf5Exu020u0QCeKz7y +mGB4P04z+lZDhRUx4jv89+g= +=f5wR -----END PGP SIGNATURE----- diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.209-r1 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.209-r1 new file mode 100644 index 000000000000..f6a5684cf2d6 --- /dev/null +++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.209-r1 @@ -0,0 +1,2 @@ +MD5 5e2f3dc68e31d6cb1a94dcc24fe4ec8e util-vserver-0.30.209-gentoo-r1.tar.bz2 11971 +MD5 674b122824292c20d3c53245b91f6088 util-vserver-0.30.209.tar.bz2 585233 diff --git a/sys-cluster/util-vserver/util-vserver-0.30.209-r1.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.209-r1.ebuild new file mode 100644 index 000000000000..732d4e8d7ad1 --- /dev/null +++ b/sys-cluster/util-vserver/util-vserver-0.30.209-r1.ebuild @@ -0,0 +1,106 @@ +# 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-r1.ebuild,v 1.1 2005/12/01 13:04:25 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/distfiles/${P}-gentoo-${PR}.tar.bz2 + http://dev.gentoo.org/~phreak/distfiles/${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 + ewarn "IMPORTANT UPGRADE WARNING:" + ewarn + ewarn "Since 0.30.208-r3 the vprocunhide init-script has been merged" + ewarn "with the vservers init script. The following steps are" + ewarn "required to keep current behaviour:" + ewarn + ewarn " rc-update del vprocunhide" + ewarn " rc-update add vserver default" + ewarn +} |