diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2006-07-24 08:21:10 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2006-07-24 08:21:10 +0000 |
commit | 80b6d9d02652211f31659624259d87ba134bf909 (patch) | |
tree | 30e52e90bdf0a54bd50753e45bcb5bd8ed909276 /sys-cluster | |
parent | fix patch tarballs, d'oh (diff) | |
download | historical-80b6d9d02652211f31659624259d87ba134bf909.tar.gz historical-80b6d9d02652211f31659624259d87ba134bf909.tar.bz2 historical-80b6d9d02652211f31659624259d87ba134bf909.zip |
fix patch tarballs, d'oh
Package-Manager: portage-2.1.1_pre2-r7
Diffstat (limited to 'sys-cluster')
7 files changed, 15 insertions, 388 deletions
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest index 811bbf14a868..75b935d3e003 100644 --- a/sys-cluster/util-vserver/Manifest +++ b/sys-cluster/util-vserver/Manifest @@ -2,30 +2,20 @@ Hash: SHA1 DIST util-vserver-0.30.210-patches-r13.tar.bz2 26978 RMD160 440aa77df60dccaceea9cd3bad7bb902c4252632 SHA1 6746c583f4b7018093050d0ed1e5df5857bdd9fb SHA256 26000063103fe822ede1f8ce0c14d6f79b4757f76863420d06f3164dc167ad9e -DIST util-vserver-0.30.210-patches-r14.tar.bz2 27322 RMD160 8a10a48728f7cd09732e064b51cb6c0f40628873 SHA1 b4a462139e6863aab4a1441854045985b2110394 SHA256 8f2e4fd22e03cba4920c675ba95c07f97e781e251a59bcddc0573e29a4ec489d -DIST util-vserver-0.30.210-patches-r15.tar.bz2 28874 RMD160 c6db33a2d2344ab9babf5a47260b684ab0329b14 SHA1 6313f1b86642e217d87adf0419394710ec94b330 SHA256 7aa3b5df8e53d821bc5c27652081e9c1925d811b1d3b2b2aff1466406031737e -DIST util-vserver-0.30.210-patches-r16.tar.bz2 8451 RMD160 42b4544ce6116437ebf70c8fc35145997c330a56 SHA1 5fd0f78f6a665766ff471f27d442e4f2d39bfb69 SHA256 177fe30fd67424825067d8d7c73820e347eb9d13de6c36f78cc0353ddba6b7dd +DIST util-vserver-0.30.210-patches-r17.tar.bz2 27309 RMD160 5e0fbdae8b90e516b5257347b272821dde325ea4 SHA1 115920a2dcee9bb57a842798ff89dca1688a970e SHA256 4a03073fd9ba1435d6b140e5a98c1e18b9a47dda9924d558b4cf0a07c8eea467 DIST util-vserver-0.30.210.tar.bz2 600032 RMD160 b8f426e319feeafc9be91315947c10a147586f1f SHA1 1075dc239277c7ecc76a644e7bbfeee869864595 SHA256 6ae5be2557f4659d260c68d239a8e879b0625201688807fd9baa4bdcc4580d04 EBUILD util-vserver-0.30.210-r13.ebuild 3048 RMD160 7d9963719dce974bd29d23bdf14f61db8468f86f SHA1 80f7982695db7a29aa821f33cad3175565ead354 SHA256 33244f9cd2c5a450f5449ba4263b9ebf120aab822de344b93af815ce0db2261b MD5 de1cf005a317021660eee5ecd879a197 util-vserver-0.30.210-r13.ebuild 3048 RMD160 7d9963719dce974bd29d23bdf14f61db8468f86f util-vserver-0.30.210-r13.ebuild 3048 SHA256 33244f9cd2c5a450f5449ba4263b9ebf120aab822de344b93af815ce0db2261b util-vserver-0.30.210-r13.ebuild 3048 -EBUILD util-vserver-0.30.210-r14.ebuild 3069 RMD160 ea2bae1db467f19ef1e6554f2393c2f93873dda1 SHA1 9543cff30c36b2be3c1167ca3e9d14c8e41ebefe SHA256 ef031285850d65136fbc6a59b0bf242fcd3daafaa31a1bb9ab380dd3e5113cfc -MD5 94917e3a959acd707cf11fb7ef15bb81 util-vserver-0.30.210-r14.ebuild 3069 -RMD160 ea2bae1db467f19ef1e6554f2393c2f93873dda1 util-vserver-0.30.210-r14.ebuild 3069 -SHA256 ef031285850d65136fbc6a59b0bf242fcd3daafaa31a1bb9ab380dd3e5113cfc util-vserver-0.30.210-r14.ebuild 3069 -EBUILD util-vserver-0.30.210-r15.ebuild 3069 RMD160 bd756d2238ad6db46704f5e77e67bbd9af32ca0e SHA1 ca0068af25f7caa61e10ce9c5604f1a18ad1710f SHA256 8497b4afc86a77a4ead9e93d26d8c735a789d0c393d0fcaacd2e2b4bef932857 -MD5 c8349ac8e84d5b270f1475acadb0bf0a util-vserver-0.30.210-r15.ebuild 3069 -RMD160 bd756d2238ad6db46704f5e77e67bbd9af32ca0e util-vserver-0.30.210-r15.ebuild 3069 -SHA256 8497b4afc86a77a4ead9e93d26d8c735a789d0c393d0fcaacd2e2b4bef932857 util-vserver-0.30.210-r15.ebuild 3069 -EBUILD util-vserver-0.30.210-r16.ebuild 3069 RMD160 d79003d8121ff8794a38beed2b53668194723d12 SHA1 766f331b5369a5217b17ddc848f76edc26503cc0 SHA256 9582aad6205a4831420982c9655a24cf07b72d16fec1481d91995a5e18ea6478 -MD5 4ac9a7fe74d18e8405a87bf36b2c6150 util-vserver-0.30.210-r16.ebuild 3069 -RMD160 d79003d8121ff8794a38beed2b53668194723d12 util-vserver-0.30.210-r16.ebuild 3069 -SHA256 9582aad6205a4831420982c9655a24cf07b72d16fec1481d91995a5e18ea6478 util-vserver-0.30.210-r16.ebuild 3069 -MISC ChangeLog 12040 RMD160 e3a7ef62848c6abca81ebd11aa1921165c5320a3 SHA1 821487940c525700c89e069c92b04cd718d0fd86 SHA256 d2f9563c9df342ed0c519aa8ac2da494364c7af4f619e5e98f44a3fd147f267a -MD5 872132f95f6d04b2b70c5dc1b80d68e2 ChangeLog 12040 -RMD160 e3a7ef62848c6abca81ebd11aa1921165c5320a3 ChangeLog 12040 -SHA256 d2f9563c9df342ed0c519aa8ac2da494364c7af4f619e5e98f44a3fd147f267a ChangeLog 12040 +EBUILD util-vserver-0.30.210-r17.ebuild 3069 RMD160 c5703b6a1c6db00b2d08dfe34c838c4e40bd1a81 SHA1 906a015579c77b72ec2a0602ba245f43e3f982ec SHA256 8904e681349dcbbd40c6464bfd368291a85604906d13bf535ed171a78a6afc97 +MD5 96d0f5ff831cd9ab772045c4df899679 util-vserver-0.30.210-r17.ebuild 3069 +RMD160 c5703b6a1c6db00b2d08dfe34c838c4e40bd1a81 util-vserver-0.30.210-r17.ebuild 3069 +SHA256 8904e681349dcbbd40c6464bfd368291a85604906d13bf535ed171a78a6afc97 util-vserver-0.30.210-r17.ebuild 3069 +MISC ChangeLog 12304 RMD160 2db1db2e4cda58772387d077e62d09e5a6c83b3d SHA1 e2028e0c58117b5ebb3cf01c95aa86a48eeceec4 SHA256 c23035c657096bdec58f0a6c33a2f0897220d97d80dd363f6285052e132006b6 +MD5 ac0eab997cf1a7fa594d7b8229b3a399 ChangeLog 12304 +RMD160 2db1db2e4cda58772387d077e62d09e5a6c83b3d ChangeLog 12304 +SHA256 c23035c657096bdec58f0a6c33a2f0897220d97d80dd363f6285052e132006b6 ChangeLog 12304 MISC metadata.xml 588 RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b SHA1 d0e5af40193886066bbe1060324dede1f0fd367f SHA256 798e87b6d5fb379322178e9f8b7432371f630caaf3fd6ff369e35056483cc31d MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588 RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b metadata.xml 588 @@ -33,19 +23,13 @@ SHA256 798e87b6d5fb379322178e9f8b7432371f630caaf3fd6ff369e35056483cc31d metadata MD5 0aec3bb8905993fbfdfea185685b14ff files/digest-util-vserver-0.30.210-r13 569 RMD160 efac97c6e2e183aecebedb51641c161dc72400c6 files/digest-util-vserver-0.30.210-r13 569 SHA256 79be461cd53fcb5001642cba8bb6209721985b5ded8d0a1069a5fa5b00ac77f0 files/digest-util-vserver-0.30.210-r13 569 -MD5 4466cca95361e1ff23c495b9eb9c5e3b files/digest-util-vserver-0.30.210-r14 569 -RMD160 8d1ecf7cd73d66a85937d1f6bdde8915eb89f3af files/digest-util-vserver-0.30.210-r14 569 -SHA256 2e7a110df6205960c2122c72bd0688c6f00acc53aca555031344434f262e29a2 files/digest-util-vserver-0.30.210-r14 569 -MD5 44983d294823b40e3ee692ec31fa97ca files/digest-util-vserver-0.30.210-r15 569 -RMD160 ddbb27f41ca46b8a2abca4c50d2d8064a33234e3 files/digest-util-vserver-0.30.210-r15 569 -SHA256 3ca11c73bfe7eacb4f39cdce0e11f5d53fa723743b39e16266661c413d89fd70 files/digest-util-vserver-0.30.210-r15 569 -MD5 013217dd6cb97df45c2b0b61f5f4d0b7 files/digest-util-vserver-0.30.210-r16 566 -RMD160 aa15274b9edb438335ddb1e8a22998a84514311f files/digest-util-vserver-0.30.210-r16 566 -SHA256 15b8b4e0638259ef5be1ff0358b379dc1b4cd5eadeac73d216510197cb837290 files/digest-util-vserver-0.30.210-r16 566 +MD5 cb2375309140d18624822898fb612092 files/digest-util-vserver-0.30.210-r17 569 +RMD160 6103d95f929824449ef71c1d341f41db62d44e62 files/digest-util-vserver-0.30.210-r17 569 +SHA256 18512ba16805d6c99920d331e1c5b5deff2a2a36b107b32acd63391caf54e427 files/digest-util-vserver-0.30.210-r17 569 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) -iD8DBQFEw+C+mPFBzbX68WERAgu/AJ0RES/Aa3wmK7+VKdBnVElJSaz6bACdGuPK -HXgeZuBLmbNjZQw1xH6MoO0= -=b0do +iD8DBQFExILymPFBzbX68WERAm2gAKCC83FmLYYGgtiB2QENCe3qwW9QtwCeJR0t +k9ZdzyRYmU2vel2XqdXmwX4= +=wHpG -----END PGP SIGNATURE----- diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r14 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r14 deleted file mode 100644 index d01ed35cbed6..000000000000 --- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r14 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 9c2c063bbeee6da6149fea79697d7152 util-vserver-0.30.210-patches-r14.tar.bz2 27322 -RMD160 8a10a48728f7cd09732e064b51cb6c0f40628873 util-vserver-0.30.210-patches-r14.tar.bz2 27322 -SHA256 8f2e4fd22e03cba4920c675ba95c07f97e781e251a59bcddc0573e29a4ec489d util-vserver-0.30.210-patches-r14.tar.bz2 27322 -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/files/digest-util-vserver-0.30.210-r15 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r15 deleted file mode 100644 index 9123aeb7f8c1..000000000000 --- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r15 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 5771a7e4837d899a7080eb31a278278e util-vserver-0.30.210-patches-r15.tar.bz2 28874 -RMD160 c6db33a2d2344ab9babf5a47260b684ab0329b14 util-vserver-0.30.210-patches-r15.tar.bz2 28874 -SHA256 7aa3b5df8e53d821bc5c27652081e9c1925d811b1d3b2b2aff1466406031737e util-vserver-0.30.210-patches-r15.tar.bz2 28874 -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/files/digest-util-vserver-0.30.210-r16 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r16 deleted file mode 100644 index 6356b0f6ec87..000000000000 --- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r16 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 2d9239c32841a5310be6ee404d1e9c3d util-vserver-0.30.210-patches-r16.tar.bz2 8451 -RMD160 42b4544ce6116437ebf70c8fc35145997c330a56 util-vserver-0.30.210-patches-r16.tar.bz2 8451 -SHA256 177fe30fd67424825067d8d7c73820e347eb9d13de6c36f78cc0353ddba6b7dd util-vserver-0.30.210-patches-r16.tar.bz2 8451 -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-r14.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r14.ebuild deleted file mode 100644 index a0dd07ca0b28..000000000000 --- a/sys-cluster/util-vserver/util-vserver-0.30.210-r14.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# 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-r14.ebuild,v 1.2 2006/07/01 17:51:35 phreak 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="~alpha ~amd64 ~ppc ~sparc ~x86" - -IUSE="" - -DEPEND=">=dev-libs/dietlibc-0.28 - dev-libs/beecrypt - net-firewall/iptables - net-misc/vconfig - sys-apps/iproute2 - sys-process/procps" - -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 -} - -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 -} diff --git a/sys-cluster/util-vserver/util-vserver-0.30.210-r15.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r15.ebuild deleted file mode 100644 index 42c2b9ffb473..000000000000 --- a/sys-cluster/util-vserver/util-vserver-0.30.210-r15.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# 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-r15.ebuild,v 1.1 2006/07/09 10:20:33 phreak 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="~alpha ~amd64 ~ppc ~sparc ~x86" - -IUSE="" - -DEPEND=">=dev-libs/dietlibc-0.28 - dev-libs/beecrypt - net-firewall/iptables - net-misc/vconfig - sys-apps/iproute2 - sys-process/procps" - -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 -} - -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 -} diff --git a/sys-cluster/util-vserver/util-vserver-0.30.210-r16.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r16.ebuild deleted file mode 100644 index 3ee0d1046e6b..000000000000 --- a/sys-cluster/util-vserver/util-vserver-0.30.210-r16.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# 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-r16.ebuild,v 1.1 2006/07/23 20:48:51 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="~alpha ~amd64 ~ppc ~sparc ~x86" - -IUSE="" - -DEPEND=">=dev-libs/dietlibc-0.28 - dev-libs/beecrypt - net-firewall/iptables - net-misc/vconfig - sys-apps/iproute2 - sys-process/procps" - -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 -} - -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 -} |