summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-10-07 06:29:09 +0000
committerChristian Heim <phreak@gentoo.org>2006-10-07 06:29:09 +0000
commit47cece1750b1b09bdae9571b4ba58eae1166d3a5 (patch)
tree70aa8ebfdf0890697158518aeec1e86b6bdb2060
parentReintegrate autotools and eautomake to regenerate the Makefile (related to th... (diff)
downloadoverlay-47cece1750b1b09bdae9571b4ba58eae1166d3a5.tar.gz
overlay-47cece1750b1b09bdae9571b4ba58eae1166d3a5.tar.bz2
overlay-47cece1750b1b09bdae9571b4ba58eae1166d3a5.zip
Adding util-vserver-0.30.211_rc3.
svn path=/; revision=63
-rw-r--r--sys-cluster/util-vserver/Manifest9
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc36
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild127
3 files changed, 142 insertions, 0 deletions
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest
index 50ca1e5..92bc46c 100644
--- a/sys-cluster/util-vserver/Manifest
+++ b/sys-cluster/util-vserver/Manifest
@@ -12,8 +12,10 @@ RMD160 6cf4e053f1646decb9763c4f8cb119a045753044 files/README 437
SHA256 cc541bc6f45bc8cd0f7008ec2e3c78008f045e184687bb0fe3b5fcd3836bed5a files/README 437
DIST util-vserver-0.30.211-rc1.tar.bz2 625758 RMD160 d6c5df8bcf3129663d85e4aab3b385284a198294 SHA1 fb4ddbf710860820b625a4fd9739a287458e9c10 SHA256 33e90da130569cfbc20f3c18fe5f19201ebb2d3a3139051087a4f73c97f96d24
DIST util-vserver-0.30.211-rc2.tar.bz2 630830 RMD160 cc11f7feb8388f3bbaff1500d978078f6c181328 SHA1 3354e512415c60b3a8b95a9f4a91be8148ab9de8 SHA256 e0556d51c5a4374cb64bfd55a5455308f00b7f053b0938c06da2073d73bf6ca9
+DIST util-vserver-0.30.211-rc3.tar.bz2 636970 RMD160 fad699d26a7cb8655e500d3621cc0b6bd0755c9c SHA1 7fd145369ddb99382e0c76ed62a9371675c5375c SHA256 88a2914e6d3ce9ddaf6bd9f90342def24bdbd6f2a73beeec465ced0fa76c2412
DIST util-vserver-patches-0.30.211-rc1.tar.bz2 8455 RMD160 94b42ea50a7124f2534d9c9208893069a419eebd SHA1 1547988dff3f97cf449f85e5539b86a40cc29e5b SHA256 80177d2fceed3dae7ab58efda8b7ff102096297db4b61e2f6e85befe011237a6
DIST util-vserver-patches-0.30.211-rc2.tar.bz2 8455 RMD160 324afb36ef1a096c043698964efa4ebb414ff694 SHA1 d2bbfd950cd0fbbea6702fa302070fad1094fa81 SHA256 48ef909a048a8abc1667de5f102bdb759cdb330e9292bc126f00f5708f09e549
+DIST util-vserver-patches-0.30.211-rc3.tar.bz2 8452 RMD160 361c3d48e64ff89121b063a471f85035b00d5c2e SHA1 97aba901465282f3b056b8af1f1de3164a7e4c4e SHA256 99cc4c0ede45ca7ed0ed67e525893ea3ed9bfa8448f8cf58651d13da6d3d87ae
EBUILD util-vserver-0.30.211_rc1.ebuild 3421 RMD160 a8e62d02656800a4b295c6e963d1a5fdc981f11f SHA1 7dbad43affd868fe7be7703ab5b2a93a199d1a62 SHA256 a81d087fd66c375ad9f9545ffad12a22b96470c2717bf8228a401570da76891f
MD5 c088e901923f9ea06c1d617b3bf7f82f util-vserver-0.30.211_rc1.ebuild 3421
RMD160 a8e62d02656800a4b295c6e963d1a5fdc981f11f util-vserver-0.30.211_rc1.ebuild 3421
@@ -22,9 +24,16 @@ EBUILD util-vserver-0.30.211_rc2.ebuild 3421 RMD160 fff88d8cfcdc08bbb3b053fec1dd
MD5 f1c3a8466f252dbccbecb2528b1a1595 util-vserver-0.30.211_rc2.ebuild 3421
RMD160 fff88d8cfcdc08bbb3b053fec1dd080ee4124ce7 util-vserver-0.30.211_rc2.ebuild 3421
SHA256 b431ce6b46d0d7eb12e12c49e1abf9a04f77290e77d7137a7f4ef9a060dec979 util-vserver-0.30.211_rc2.ebuild 3421
+EBUILD util-vserver-0.30.211_rc3.ebuild 3421 RMD160 fff88d8cfcdc08bbb3b053fec1dd080ee4124ce7 SHA1 d761b3c82fd1b5353a9129bda07f9009a7d54a94 SHA256 b431ce6b46d0d7eb12e12c49e1abf9a04f77290e77d7137a7f4ef9a060dec979
+MD5 f1c3a8466f252dbccbecb2528b1a1595 util-vserver-0.30.211_rc3.ebuild 3421
+RMD160 fff88d8cfcdc08bbb3b053fec1dd080ee4124ce7 util-vserver-0.30.211_rc3.ebuild 3421
+SHA256 b431ce6b46d0d7eb12e12c49e1abf9a04f77290e77d7137a7f4ef9a060dec979 util-vserver-0.30.211_rc3.ebuild 3421
MD5 7357caca90e5b3432ee31105c0c8ee08 files/digest-util-vserver-0.30.211_rc1 578
RMD160 0c2bc903c1b70e07555a524556b214bdd5e95b61 files/digest-util-vserver-0.30.211_rc1 578
SHA256 b0cc34e26110753abb1dce2cefa71edc20e192a253fcc14835f76987500239e3 files/digest-util-vserver-0.30.211_rc1 578
MD5 85dfc508f9dc17cecbf9a843393f3ba5 files/digest-util-vserver-0.30.211_rc2 578
RMD160 af71413175a1b0caed198df90a9f7be82e496639 files/digest-util-vserver-0.30.211_rc2 578
SHA256 1008c422d42ac5fba55941a1219fa8bf33afbc563ac693330e65ad4149952081 files/digest-util-vserver-0.30.211_rc2 578
+MD5 8337897b4f0fb2b4503b91d0a9b4c161 files/digest-util-vserver-0.30.211_rc3 578
+RMD160 684ff56c6e3a8490c9d518d10fe33192921385fb files/digest-util-vserver-0.30.211_rc3 578
+SHA256 eb57baf6df30b3e453f769cd3cb6f40db5d11367cb1b1ab451df8ccb6ed6d3d2 files/digest-util-vserver-0.30.211_rc3 578
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc3 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc3
new file mode 100644
index 0000000..563c44f
--- /dev/null
+++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc3
@@ -0,0 +1,6 @@
+MD5 2912d72bec28561bee2b7814e0ebec25 util-vserver-0.30.211-rc3.tar.bz2 636970
+RMD160 fad699d26a7cb8655e500d3621cc0b6bd0755c9c util-vserver-0.30.211-rc3.tar.bz2 636970
+SHA256 88a2914e6d3ce9ddaf6bd9f90342def24bdbd6f2a73beeec465ced0fa76c2412 util-vserver-0.30.211-rc3.tar.bz2 636970
+MD5 9301f9b4f69704a8c600e9f505159d2f util-vserver-patches-0.30.211-rc3.tar.bz2 8452
+RMD160 361c3d48e64ff89121b063a471f85035b00d5c2e util-vserver-patches-0.30.211-rc3.tar.bz2 8452
+SHA256 99cc4c0ede45ca7ed0ed67e525893ea3ed9bfa8448f8cf58651d13da6d3d87ae util-vserver-patches-0.30.211-rc3.tar.bz2 8452
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild
new file mode 100644
index 0000000..9a66902
--- /dev/null
+++ b/sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils bash-completion autotools
+
+DESCRIPTION="Linux-VServer admin utilities"
+HOMEPAGE="http://www.nongnu.org/util-vserver/"
+SRC_URI="http://people.linux-vserver.org/~dhozac/p/uv/experimental/${P/_rc/-rc}.tar.bz2
+ http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2
+ http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+S=${WORKDIR}/${P/_rc/-rc}
+
+IUSE="legacy"
+
+DEPEND=">=dev-libs/dietlibc-0.28
+ dev-libs/beecrypt
+ net-firewall/iptables
+ net-misc/vconfig
+ sys-apps/iproute2
+ sys-process/procps
+ =sys-devel/automake-1.9*"
+
+RDEPEND="sys-apps/iproute2
+ net-misc/vconfig
+ net-firewall/iptables
+ dev-libs/beecrypt
+ 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
+
+ myconf="${myconf} --with-vrootdir=${VDIRBASE}"
+
+ # default paths
+ myconf="${myconf} --localstatedir=/var"
+ myconf="${myconf} --with-initrddir=/etc/init.d"
+
+ # needed for older vserver kernels not in portage (default: v13,net)
+ # we provide this just for convenience for people using self-made kernels
+ use legacy && myconf="${myconf} --enable-apis=compat,v11,fscompat,v13,net"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ cp "${WORKDIR}/tools/"* scripts/ || die "failed to copy gentoo tools"
+ epatch "${FILESDIR}"/*.patch
+
+ eautomake
+}
+
+src_compile() {
+ econf ${myconf} || 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 init-scripts:
+ doconfd "${WORKDIR}/conf.d/vservers"
+ doinitd "${WORKDIR}/init.d/vservers"
+
+ # bash-completion
+ dobashcompletion "${S}"/contrib/bash_completion util-vserver
+
+ newdoc "${FILESDIR}"/README ${PN}-patches
+ 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
+}