summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2006-04-13 12:56:05 +0000
committerBenedikt Boehm <hollow@gentoo.org>2006-04-13 12:56:05 +0000
commita5f03775e3fea9574937223b9f1fbbafeb205658 (patch)
tree416de50ed395ed970fbfe9e9e0cc242905de41b3 /sys-cluster
parentreadding mysql-4.1.14 (diff)
downloadhistorical-a5f03775e3fea9574937223b9f1fbbafeb205658.tar.gz
historical-a5f03775e3fea9574937223b9f1fbbafeb205658.tar.bz2
historical-a5f03775e3fea9574937223b9f1fbbafeb205658.zip
remove obsolete patches; CPUSET support; Fedora Core 5 + CentOS4 support; minor other fixes; thanks to Daniel Hokka Zakrisson
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/util-vserver/ChangeLog9
-rw-r--r--sys-cluster/util-vserver/Manifest22
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r126
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.210-r12.ebuild107
4 files changed, 130 insertions, 14 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog
index 484cbc81c5c0..bc0b58824b63 100644
--- a/sys-cluster/util-vserver/ChangeLog
+++ b/sys-cluster/util-vserver/ChangeLog
@@ -1,6 +1,13 @@
# 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.52 2006/04/12 17:01:22 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.53 2006/04/13 12:56:05 hollow Exp $
+
+*util-vserver-0.30.210-r12 (13 Apr 2006)
+
+ 13 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
+ +util-vserver-0.30.210-r12.ebuild:
+ remove obsolete patches; CPUSET support; Fedora Core 5 + CentOS4 support;
+ minor other fixes; thanks to Daniel Hokka Zakrisson
*util-vserver-0.30.210-r11 (12 Apr 2006)
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest
index e6f3353068c9..c31a80d646ac 100644
--- a/sys-cluster/util-vserver/Manifest
+++ b/sys-cluster/util-vserver/Manifest
@@ -1,15 +1,15 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 87477e95c563f9adc4c15685abd993b3 ChangeLog 10491
-RMD160 a65d72adfd5154de424a208fa96a7be88dbb0587 ChangeLog 10491
-SHA256 86ced8bfc10d94cd4fbf580dd505fefbe2149a3410aeb8c939a953f74551d5fa ChangeLog 10491
+MD5 56535ffb9de9cef6d48c8d6b7e3f1acc ChangeLog 10751
+RMD160 258a040697f830c0f504e01614ad64abc1a3aabb ChangeLog 10751
+SHA256 3df047c5fcd7e9a51e3fdfbc321c776ca1df9ef8d7fabce5d4453787e87c7334 ChangeLog 10751
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
MD5 216f78047ee7ac19aa5fc7a59454f73f files/digest-util-vserver-0.30.210-r11 569
RMD160 4ecd6548b914ac9dc8c90a942af056b92e8f3447 files/digest-util-vserver-0.30.210-r11 569
SHA256 611fe68b3aedf133c924d907a7ed07d5eb7a79774f945e8677c268516b39ddb3 files/digest-util-vserver-0.30.210-r11 569
+MD5 6395d5c7448190c6fab531ac9715089b files/digest-util-vserver-0.30.210-r12 569
+RMD160 0b98c67583c59a723c29766bf41197d2aabfb065 files/digest-util-vserver-0.30.210-r12 569
+SHA256 41ff17f47f0db569fdb623a74df1e1817739accb1903e5abdf6fc8e612d28dd3 files/digest-util-vserver-0.30.210-r12 569
MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588
RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b metadata.xml 588
SHA256 798e87b6d5fb379322178e9f8b7432371f630caaf3fd6ff369e35056483cc31d metadata.xml 588
@@ -19,10 +19,6 @@ SHA256 6679506da923d54bf212fededb8a739af243f5376e790dc9c427f8ebe581f930 util-vse
MD5 8009c205a6541c4c9acde464785de0c9 util-vserver-0.30.210-r11.ebuild 2941
RMD160 9ae9938e66601cee26bffb0267e5ce1edfdfbaa1 util-vserver-0.30.210-r11.ebuild 2941
SHA256 e8d8337eb5181d09b68613c02e5f2109536e59e0d041ac29b1707b3b018036fc util-vserver-0.30.210-r11.ebuild 2941
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFEPTJzmPFBzbX68WERAvT3AJ9tNkP4D499OhP7EbDpKIKDsvQ/fwCdHYar
-N0UbxQzti374x9MEZodokbY=
-=IG+d
------END PGP SIGNATURE-----
+MD5 0873c057778d26e4328eb822b7a7f81f util-vserver-0.30.210-r12.ebuild 2941
+RMD160 49707798ca55504718d4b3116184a0681560c457 util-vserver-0.30.210-r12.ebuild 2941
+SHA256 e248d39f0c9e5e942c4e4c97a7e01935c5637a8038c2872a9cf02ac15b238f17 util-vserver-0.30.210-r12.ebuild 2941
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r12 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r12
new file mode 100644
index 000000000000..a5755e8101ce
--- /dev/null
+++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r12
@@ -0,0 +1,6 @@
+MD5 aee33917dd04580f2007574f7b2c572a util-vserver-0.30.210-patches-r12.tar.bz2 27463
+RMD160 0dfaabc5bdf16f52d821749fa5b6b3710e34a0a7 util-vserver-0.30.210-patches-r12.tar.bz2 27463
+SHA256 43e5365aeb6588344dfabe25e7a2e204354b1d934e1bf1bea817cac45bf7d354 util-vserver-0.30.210-patches-r12.tar.bz2 27463
+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-r12.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r12.ebuild
new file mode 100644
index 000000000000..7e86d767ba18
--- /dev/null
+++ b/sys-cluster/util-vserver/util-vserver-0.30.210-r12.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-r12.ebuild,v 1.1 2006/04/13 12:56:05 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
+}