summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2006-04-03 05:32:09 +0000
committerBenedikt Boehm <hollow@gentoo.org>2006-04-03 05:32:09 +0000
commita3fb7019865e522c2b725b22e573bac4005003a5 (patch)
tree693b41b3fc43900e4c78780949f1503de468d4f4 /sys-cluster/util-vserver
parentDrop fetch command to download tarballs, now wget is in system. (diff)
downloadhistorical-a3fb7019865e522c2b725b22e573bac4005003a5.tar.gz
historical-a3fb7019865e522c2b725b22e573bac4005003a5.tar.bz2
historical-a3fb7019865e522c2b725b22e573bac4005003a5.zip
secure chcontext; syscall update
Package-Manager: portage-2.1_pre7-r3
Diffstat (limited to 'sys-cluster/util-vserver')
-rw-r--r--sys-cluster/util-vserver/ChangeLog8
-rw-r--r--sys-cluster/util-vserver/Manifest18
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r76
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.210-r7.ebuild107
4 files changed, 132 insertions, 7 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog
index 40edd9ef26ed..3c5d47e228be 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.47 2006/03/16 21:01:03 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.48 2006/04/03 05:32:08 hollow Exp $
+
+*util-vserver-0.30.210-r7 (03 Apr 2006)
+
+ 03 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
+ +util-vserver-0.30.210-r7.ebuild:
+ secure chcontext; syscall update
*util-vserver-0.30.210-r6 (16 Mar 2006)
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest
index 684965ad6ece..fe59419f8fd5 100644
--- a/sys-cluster/util-vserver/Manifest
+++ b/sys-cluster/util-vserver/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 84bb0c6a9ea9a8eae12af85bd0fffc16 ChangeLog 9393
-RMD160 0efcd518bb270198a689f55dc42879a7d9fe246d ChangeLog 9393
-SHA256 e733d754cc1cb967cf333bea5fcff01cf29428ed79ade79dfdb0ae08bc627611 ChangeLog 9393
+MD5 c737fcf8544dcf6e50e9de1237c4178d ChangeLog 9556
+RMD160 6d6cf48d10bebbb90169e15b5c0bd1061d417435 ChangeLog 9556
+SHA256 5815edaae0a182a28afbc8114ad0a0aa8aebbc2c27cb150cccc8da52a0983c90 ChangeLog 9556
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
@@ -16,6 +16,9 @@ SHA256 77ea69fc68b2067c0d2e336724005cf332edaec688219620d5f2a8911f627830 files/di
MD5 17eef7e9bb399a0981d47ffd4db05556 files/digest-util-vserver-0.30.210-r6 566
RMD160 169c419de796e34c6a12c14a8cc2a67072104507 files/digest-util-vserver-0.30.210-r6 566
SHA256 3aa7a439f0a9907c82a1a8b107dce0cb62eb2abee4223b68110883507374a3c9 files/digest-util-vserver-0.30.210-r6 566
+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 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588
RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b metadata.xml 588
SHA256 798e87b6d5fb379322178e9f8b7432371f630caaf3fd6ff369e35056483cc31d metadata.xml 588
@@ -31,10 +34,13 @@ SHA256 7edf52e95d8fdc1dc3101f7d99ebab55b8ac2533993df4ce8f06cf00f302e853 util-vse
MD5 4e47805b6519e7db29f1fe7c36274c09 util-vserver-0.30.210-r6.ebuild 2940
RMD160 e1ba06fb63519a9e69ce221c4ace3668dbca4f74 util-vserver-0.30.210-r6.ebuild 2940
SHA256 c310e6564384fc07b9b56aa1e6660732ffb77d6d84fd18e3ac6d35807c0b3e37 util-vserver-0.30.210-r6.ebuild 2940
+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)
-iD8DBQFEGdIfmPFBzbX68WERArG2AJ433WKnLtLbRy02MpmlwcMY+rEZ+wCeIem2
-9yTN9qHMcLAy6ajgEqvtsEo=
-=Ldq6
+iD8DBQFEMLNmmPFBzbX68WERAgL3AJ99k06HLKCZR4pmPCW050q6WGzuiwCfX7uk
+9UaVpbrnSH8kYErpnzWYQg8=
+=gAjb
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r7 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r7
new file mode 100644
index 000000000000..c8de3e20b791
--- /dev/null
+++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r7
@@ -0,0 +1,6 @@
+MD5 b11eb3e86a97239b75425113b5e123be util-vserver-0.30.210-patches-r7.tar.bz2 18230
+RMD160 b4690f261637ffc33cfb78b61615a54931946340 util-vserver-0.30.210-patches-r7.tar.bz2 18230
+SHA256 203d6632952480cdc5184e8f071dd925c723796da76e1cdf620ee65798272de8 util-vserver-0.30.210-patches-r7.tar.bz2 18230
+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-r7.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r7.ebuild
new file mode 100644
index 000000000000..f207be920d5f
--- /dev/null
+++ b/sys-cluster/util-vserver/util-vserver-0.30.210-r7.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-r7.ebuild,v 1.1 2006/04/03 05:32:08 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
+}