summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2006-04-05 19:04:40 +0000
committerBenedikt Boehm <hollow@gentoo.org>2006-04-05 19:04:40 +0000
commitc24098160e51861c24722cefef42eb670109dc6c (patch)
treed68b077e83bbd53ab29da0e0d00b57b847601aac /sys-cluster/util-vserver
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-c24098160e51861c24722cefef42eb670109dc6c.tar.gz
gentoo-2-c24098160e51861c24722cefef42eb670109dc6c.tar.bz2
gentoo-2-c24098160e51861c24722cefef42eb670109dc6c.zip
vlogin fixes again
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'sys-cluster/util-vserver')
-rw-r--r--sys-cluster/util-vserver/ChangeLog8
-rw-r--r--sys-cluster/util-vserver/Manifest22
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r86
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.210-r8.ebuild107
4 files changed, 129 insertions, 14 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog
index 3c5d47e228be..356c3f61fd08 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.48 2006/04/03 05:32:08 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.49 2006/04/05 19:04:40 hollow Exp $
+
+*util-vserver-0.30.210-r8 (05 Apr 2006)
+
+ 05 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
+ +util-vserver-0.30.210-r8.ebuild:
+ vlogin fixes again
*util-vserver-0.30.210-r7 (03 Apr 2006)
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest
index fe59419f8fd5..52a599077cb6 100644
--- a/sys-cluster/util-vserver/Manifest
+++ b/sys-cluster/util-vserver/Manifest
@@ -1,9 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 c737fcf8544dcf6e50e9de1237c4178d ChangeLog 9556
-RMD160 6d6cf48d10bebbb90169e15b5c0bd1061d417435 ChangeLog 9556
-SHA256 5815edaae0a182a28afbc8114ad0a0aa8aebbc2c27cb150cccc8da52a0983c90 ChangeLog 9556
+MD5 8cac9bbb31c7241b850175b111e7d7e6 ChangeLog 9705
+RMD160 367d9dbd9dad7e5c519a8dd6fb0b43425a64a402 ChangeLog 9705
+SHA256 9b1183214f31ad38d25ed07df4f0a86e44d49773037340aa1e0a36936eab8385 ChangeLog 9705
MD5 1b6464d33781295408a0040f65ef0518 files/digest-util-vserver-0.30.209-r1 563
RMD160 33ef3a9600aee4254ead602205309ccb8b083211 files/digest-util-vserver-0.30.209-r1 563
SHA256 63d21d3dfaf63cb2aa1fbe4cd9b3e710ee0647f963f41c7b586eb86728e4aab3 files/digest-util-vserver-0.30.209-r1 563
@@ -19,6 +16,9 @@ SHA256 3aa7a439f0a9907c82a1a8b107dce0cb62eb2abee4223b68110883507374a3c9 files/di
MD5 be47af823605d92a6edde4a886aa44e7 files/digest-util-vserver-0.30.210-r7 566
RMD160 441c50864ac143174ebb6b29846a9f24280f7e4c files/digest-util-vserver-0.30.210-r7 566
SHA256 20311633b46a1790649cc2875e74080d9ddcb28c740ce54438b520f8b42a4679 files/digest-util-vserver-0.30.210-r7 566
+MD5 a10428b6370aceffdec7d83305de4593 files/digest-util-vserver-0.30.210-r8 566
+RMD160 13ba63e9bb4555457fae0b953ce29474b5e0392e files/digest-util-vserver-0.30.210-r8 566
+SHA256 961de2a23f85ed0cf12487990596e0e7b5cbe5fcc990c353f32b9ba761ca7532 files/digest-util-vserver-0.30.210-r8 566
MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588
RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b metadata.xml 588
SHA256 798e87b6d5fb379322178e9f8b7432371f630caaf3fd6ff369e35056483cc31d metadata.xml 588
@@ -37,10 +37,6 @@ SHA256 c310e6564384fc07b9b56aa1e6660732ffb77d6d84fd18e3ac6d35807c0b3e37 util-vse
MD5 9f475cd895f59cf44ef279e28af83627 util-vserver-0.30.210-r7.ebuild 2940
RMD160 5cd44149e74ec10a2cd351762158052fba7c125b util-vserver-0.30.210-r7.ebuild 2940
SHA256 ee75715ad2d2c709ca70bfb0c68617068b95f406523f9e9689c0476e231c2f76 util-vserver-0.30.210-r7.ebuild 2940
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFEMLNmmPFBzbX68WERAgL3AJ99k06HLKCZR4pmPCW050q6WGzuiwCfX7uk
-9UaVpbrnSH8kYErpnzWYQg8=
-=gAjb
------END PGP SIGNATURE-----
+MD5 9f475cd895f59cf44ef279e28af83627 util-vserver-0.30.210-r8.ebuild 2940
+RMD160 5cd44149e74ec10a2cd351762158052fba7c125b util-vserver-0.30.210-r8.ebuild 2940
+SHA256 ee75715ad2d2c709ca70bfb0c68617068b95f406523f9e9689c0476e231c2f76 util-vserver-0.30.210-r8.ebuild 2940
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r8 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r8
new file mode 100644
index 000000000000..4a584cbe012d
--- /dev/null
+++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r8
@@ -0,0 +1,6 @@
+MD5 c2e73bbdc43a9d9273156fd3c9ca676c util-vserver-0.30.210-patches-r8.tar.bz2 18851
+RMD160 616bf84b3aceac56dbdf9facd1dc5c89637eb2e5 util-vserver-0.30.210-patches-r8.tar.bz2 18851
+SHA256 9bd8954d746a80f8d8e2c3498dc938d1c6fbde5a4fa10aa77376c49980b47f85 util-vserver-0.30.210-patches-r8.tar.bz2 18851
+MD5 1e8fff7cb6246d21ed029f082123019b util-vserver-0.30.210.tar.bz2 600032
+RMD160 b8f426e319feeafc9be91315947c10a147586f1f util-vserver-0.30.210.tar.bz2 600032
+SHA256 6ae5be2557f4659d260c68d239a8e879b0625201688807fd9baa4bdcc4580d04 util-vserver-0.30.210.tar.bz2 600032
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.210-r8.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r8.ebuild
new file mode 100644
index 000000000000..b93356b3891b
--- /dev/null
+++ b/sys-cluster/util-vserver/util-vserver-0.30.210-r8.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2006 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.210-r8.ebuild,v 1.1 2006/04/05 19:04:40 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}-patches-${PR}.tar.bz2
+ http://dev.gentoo.org/~phreak/distfiles/${P}-patches-${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 /var/cache/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 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 vservers default"
+ ewarn
+}