summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2006-12-09 20:06:47 +0000
committerBenedikt Boehm <hollow@gentoo.org>2006-12-09 20:06:47 +0000
commit551cbc65be5220cf6be4ff6995c6b70ba0ae9afc (patch)
treed336fd8ec37373ccf7842e1ecc8a0a2957751aeb /sys-cluster/util-vserver
parentversion bump; cleanup (diff)
downloadhistorical-551cbc65be5220cf6be4ff6995c6b70ba0ae9afc.tar.gz
historical-551cbc65be5220cf6be4ff6995c6b70ba0ae9afc.tar.bz2
historical-551cbc65be5220cf6be4ff6995c6b70ba0ae9afc.zip
version bump; cleanup
Package-Manager: portage-2.1.2_rc1-r6
Diffstat (limited to 'sys-cluster/util-vserver')
-rw-r--r--sys-cluster/util-vserver/Manifest54
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r176
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r186
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.210-r17.ebuild114
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.210-r18.ebuild125
5 files changed, 31 insertions, 274 deletions
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest
index 17229b61eb10..d3ccdc38e99f 100644
--- a/sys-cluster/util-vserver/Manifest
+++ b/sys-cluster/util-vserver/Manifest
@@ -1,32 +1,43 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX bash_completion 7568 RMD160 45feafa30f715fb287403518eee8c45fecfe418e SHA1 d281bcad111df21ab0f37703142dd102145d784e SHA256 2232166a5aed9857a7a5c30adfdd4ea944e0608a29fad05f229b8cef2d61795d
+MD5 20d9b2d8c50fe0ca9bb381d16daf2d7d files/bash_completion 7568
+RMD160 45feafa30f715fb287403518eee8c45fecfe418e files/bash_completion 7568
+SHA256 2232166a5aed9857a7a5c30adfdd4ea944e0608a29fad05f229b8cef2d61795d files/bash_completion 7568
+AUX init.d/vprocunhide 506 RMD160 b26000655f88eba51e2e80b5665f49b7698324a3 SHA1 f1bf6bc18f228c16090bbd8daec0b1e497ef75a8 SHA256 4e7f95b4bd0aca85383d0fc5ce9ffd78869a60e6f0f2dffaa4b1c8ec9d9b2c3d
+MD5 d5c496a8a3399c40a3c8b6d56de57aa2 files/init.d/vprocunhide 506
+RMD160 b26000655f88eba51e2e80b5665f49b7698324a3 files/init.d/vprocunhide 506
+SHA256 4e7f95b4bd0aca85383d0fc5ce9ffd78869a60e6f0f2dffaa4b1c8ec9d9b2c3d files/init.d/vprocunhide 506
+AUX init.d/vservers.default 328 RMD160 4ae796520847688da33befaa551faefd58be8184 SHA1 0fe4e1c1ee93bd9f28f2f4dbbc078fbdc2940620 SHA256 cdab1911b6d13a3253c2744ee1b007eda16d28c24d9eeea732d63934a1bdaaba
+MD5 50181061681eac3cb085af7766987557 files/init.d/vservers.default 328
+RMD160 4ae796520847688da33befaa551faefd58be8184 files/init.d/vservers.default 328
+SHA256 cdab1911b6d13a3253c2744ee1b007eda16d28c24d9eeea732d63934a1bdaaba files/init.d/vservers.default 328
+AUX util-vserver-0.30.212-wrapper.patch 1349 RMD160 f8c4bfd740846c43e56a97db86302e81b8afa1c8 SHA1 2b5e04383bc3e5a52ae2fde86eb77a8f3cf8eeb5 SHA256 548b9732f12492f1ca58d72c3fd8634c99047d1619c19a1c9407a6864150c3fe
+MD5 bc15d959f59fbe0250e0be2f2ca9ee70 files/util-vserver-0.30.212-wrapper.patch 1349
+RMD160 f8c4bfd740846c43e56a97db86302e81b8afa1c8 files/util-vserver-0.30.212-wrapper.patch 1349
+SHA256 548b9732f12492f1ca58d72c3fd8634c99047d1619c19a1c9407a6864150c3fe files/util-vserver-0.30.212-wrapper.patch 1349
DIST util-vserver-0.30.210-patches-r13.tar.bz2 26978 RMD160 440aa77df60dccaceea9cd3bad7bb902c4252632 SHA1 6746c583f4b7018093050d0ed1e5df5857bdd9fb SHA256 26000063103fe822ede1f8ce0c14d6f79b4757f76863420d06f3164dc167ad9e
-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
DIST util-vserver-0.30.211.tar.bz2 638003 RMD160 42856f7131756ffc278719831de9ae190943e532 SHA1 c4b28b10b38ba88d003ea45ab1b784e1b0b31324 SHA256 992a2dd76994813508cc043bbaf7c1f903166d2b7fbcb7bd1320aa285234df59
-DIST util-vserver-patches-0.30.210-r18.tar.bz2 32668 RMD160 dc64a11620828f95859cbc2e25ee0f205c42212a SHA1 61faa28513b94eb36369b0fc413438d87b263964 SHA256 caf953981d52aa6e96058fe3acda299f394d2c415f8e4708fce8d3885f2da10f
+DIST util-vserver-0.30.212.tar.bz2 643139 RMD160 e0bb7600204c99bf2192332b2fb5680cd647d226 SHA1 366e9aa56490de71dccebf7ee99a81e37a274267 SHA256 dad182f0c882f32d96cab8d9065e4417d9c2f8146e1e2c9f197580389cc4a484
DIST util-vserver-patches-0.30.211.tar.bz2 12626 RMD160 82f7266e1ee487e95caf943cebe0fa9456ec92a5 SHA1 b65838521c4bd525dc65decd9dcf224894d0b0b0 SHA256 397f6ded56e42720cf450724497caa3e4a58274c22edd283f8d8d355ec8e43e7
EBUILD util-vserver-0.30.210-r13.ebuild 3074 RMD160 ad46ac4cb3fcff47f3eed8afd3220df3967b9154 SHA1 f8ef8820f52d4454b4b417bf1ccffa426e1da576 SHA256 e48cdda9dce06dade1df4ed1349a7be17ca885fd15791700bdd701bb12325eea
MD5 787162c7f3c7bd34982e8b7b16147852 util-vserver-0.30.210-r13.ebuild 3074
RMD160 ad46ac4cb3fcff47f3eed8afd3220df3967b9154 util-vserver-0.30.210-r13.ebuild 3074
SHA256 e48cdda9dce06dade1df4ed1349a7be17ca885fd15791700bdd701bb12325eea util-vserver-0.30.210-r13.ebuild 3074
-EBUILD util-vserver-0.30.210-r17.ebuild 3095 RMD160 cf318666184fb9890ea2ea122f75d145e5225878 SHA1 a9be1904ba83554236d39bf9db8d49bcf1dd11f9 SHA256 2d2670836746b7a982b32d0e4c800a0f8d30c4e31fe63de48e5d8261608cb520
-MD5 a825318c96e1e26d6a1bd433f0c2820f util-vserver-0.30.210-r17.ebuild 3095
-RMD160 cf318666184fb9890ea2ea122f75d145e5225878 util-vserver-0.30.210-r17.ebuild 3095
-SHA256 2d2670836746b7a982b32d0e4c800a0f8d30c4e31fe63de48e5d8261608cb520 util-vserver-0.30.210-r17.ebuild 3095
-EBUILD util-vserver-0.30.210-r18.ebuild 3473 RMD160 42775b32afed96fe5d5f6f15e5f073f795a2af11 SHA1 8b978f4308210ce393a9e800d1a96c907a11022b SHA256 6a2bc7c055fc413cd3cfed94870be9dddd699514d7eb74135c86515871162f37
-MD5 8517d4c11541c22e4c62a99da7b2f2f8 util-vserver-0.30.210-r18.ebuild 3473
-RMD160 42775b32afed96fe5d5f6f15e5f073f795a2af11 util-vserver-0.30.210-r18.ebuild 3473
-SHA256 6a2bc7c055fc413cd3cfed94870be9dddd699514d7eb74135c86515871162f37 util-vserver-0.30.210-r18.ebuild 3473
EBUILD util-vserver-0.30.211.ebuild 3521 RMD160 adf86b5152376a803f05d8f323b761723144cc34 SHA1 10f04cd0bc0b64e94ba8b28af55c954c2576a4bc SHA256 cac1a6d0830d217e1253a644caf93d0795073dc889b32d32230e0f080c49d7ad
MD5 ac273b540a2304ef010fc5a54d5a2026 util-vserver-0.30.211.ebuild 3521
RMD160 adf86b5152376a803f05d8f323b761723144cc34 util-vserver-0.30.211.ebuild 3521
SHA256 cac1a6d0830d217e1253a644caf93d0795073dc889b32d32230e0f080c49d7ad util-vserver-0.30.211.ebuild 3521
-MISC ChangeLog 13074 RMD160 5c6f504676176e2c2196d9523323e56029c23e67 SHA1 d4c0b540f923dba26a6c27d456dfaa1af811a1e5 SHA256 318edf2e85064da47a883718e7c191298a092f0e32fd59ed719a7cc88cddbf1d
-MD5 051d26119097d35a7245067ae1ced57c ChangeLog 13074
-RMD160 5c6f504676176e2c2196d9523323e56029c23e67 ChangeLog 13074
-SHA256 318edf2e85064da47a883718e7c191298a092f0e32fd59ed719a7cc88cddbf1d ChangeLog 13074
+EBUILD util-vserver-0.30.212.ebuild 3479 RMD160 27e4b6a269a199e34900ceb9f8bf2eab9517b19c SHA1 5aabdd259de87d23f3e14a40141ca840579b167b SHA256 3d50cd3ffc1a06d5e5115c5d6b65bc48835a5a70669d4531983a13b74eb9def5
+MD5 8532ae61fef6d0ebd1b8e21b0964f21a util-vserver-0.30.212.ebuild 3479
+RMD160 27e4b6a269a199e34900ceb9f8bf2eab9517b19c util-vserver-0.30.212.ebuild 3479
+SHA256 3d50cd3ffc1a06d5e5115c5d6b65bc48835a5a70669d4531983a13b74eb9def5 util-vserver-0.30.212.ebuild 3479
+MISC ChangeLog 13423 RMD160 62508ab03fcfc4cd24b58e8a13dad4e97015c60c SHA1 682e729ba6e44c4656d8497846c4b2071d332ab3 SHA256 6ff1f622e5be5bc2ef49971143669c9b5f8b11d79b5912ea5ab54ce1a97c3060
+MD5 82b3d63233efa939d22bf0372d00a431 ChangeLog 13423
+RMD160 62508ab03fcfc4cd24b58e8a13dad4e97015c60c ChangeLog 13423
+SHA256 6ff1f622e5be5bc2ef49971143669c9b5f8b11d79b5912ea5ab54ce1a97c3060 ChangeLog 13423
MISC metadata.xml 588 RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b SHA1 d0e5af40193886066bbe1060324dede1f0fd367f SHA256 798e87b6d5fb379322178e9f8b7432371f630caaf3fd6ff369e35056483cc31d
MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588
RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b metadata.xml 588
@@ -34,19 +45,16 @@ 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 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
-MD5 e40e1a7de54a69bba45107114250131e files/digest-util-vserver-0.30.210-r18 569
-RMD160 fc670d1fa2d6ca2b3278974ac0a2f4e4aea1e00b files/digest-util-vserver-0.30.210-r18 569
-SHA256 1988272f4e575006f37181a3aafb203d19a5244a99824867b402a5deacc7ae2a files/digest-util-vserver-0.30.210-r18 569
MD5 ff2bb7ab2945af029601c34945d1176c files/digest-util-vserver-0.30.211 557
RMD160 08e44f5e8344556e27c2e02c43761b7f6540a139 files/digest-util-vserver-0.30.211 557
SHA256 9eb1f127a0ef112a1d8b41df3d1327f70735edeabdc5927089bcdafdd322ef59 files/digest-util-vserver-0.30.211 557
+MD5 0f5d705e788b54f83af3531af62e739e files/digest-util-vserver-0.30.212 268
+RMD160 9e595c3a71440aede6174887c9cb093c123667c5 files/digest-util-vserver-0.30.212 268
+SHA256 d85b209f085a57250ac6312dc686ac3d1be5c43d491f0c4cc8fd300f74c3421b files/digest-util-vserver-0.30.212 268
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFKBhDyuNVb5qfaOYRAgH7AJ4niIQwMwLTICanuq1/bkjSjdM/tgCffi7K
-8cfHMOs9GDrccb4MWpVDFb8=
-=sGWx
+iD8DBQFFexdTmPFBzbX68WERAkaVAJ476w380v3Is4a2QQZ2m7xEt5XsowCfUVJk
+AwgAjdxcpn1J9iKrYVZyMgw=
+=OBUy
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r17 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r17
deleted file mode 100644
index 0a5ab06707fb..000000000000
--- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r17
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 32c8cf16e1fab8814bd110a48ecf026a util-vserver-0.30.210-patches-r17.tar.bz2 27309
-RMD160 5e0fbdae8b90e516b5257347b272821dde325ea4 util-vserver-0.30.210-patches-r17.tar.bz2 27309
-SHA256 4a03073fd9ba1435d6b140e5a98c1e18b9a47dda9924d558b4cf0a07c8eea467 util-vserver-0.30.210-patches-r17.tar.bz2 27309
-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-r18 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r18
deleted file mode 100644
index 9eebec2951c9..000000000000
--- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.210-r18
+++ /dev/null
@@ -1,6 +0,0 @@
-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
-MD5 d8bae5c9bc7a0dc23ee0c4f080f66fd4 util-vserver-patches-0.30.210-r18.tar.bz2 32668
-RMD160 dc64a11620828f95859cbc2e25ee0f205c42212a util-vserver-patches-0.30.210-r18.tar.bz2 32668
-SHA256 caf953981d52aa6e96058fe3acda299f394d2c415f8e4708fce8d3885f2da10f util-vserver-patches-0.30.210-r18.tar.bz2 32668
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.210-r17.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r17.ebuild
deleted file mode 100644
index efbc11744597..000000000000
--- a/sys-cluster/util-vserver/util-vserver-0.30.210-r17.ebuild
+++ /dev/null
@@ -1,114 +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-r17.ebuild,v 1.2 2006/09/26 09:39: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
- =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
-}
-
-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-r18.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.210-r18.ebuild
deleted file mode 100644
index 6dcc27d11006..000000000000
--- a/sys-cluster/util-vserver/util-vserver-0.30.210-r18.ebuild
+++ /dev/null
@@ -1,125 +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-r18.ebuild,v 1.3 2006/09/26 09:39:35 phreak Exp $
-
-inherit autotools eutils toolchain-funcs bash-completion
-
-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/${PN}-patches-${PVR}.tar.bz2
- http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-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 "${WORKDIR}"/patches/*.patch
-
- AT_M4DIR="-I m4" \
- eautoreconf
-}
-
-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 ones:
- doinitd "${WORKDIR}"/init.d/vservers
- doconfd "${WORKDIR}"/conf.d/vservers
-
- # bash-completion
- dobashcompletion contrib/bash_completion util-vserver
-
- 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
-}