diff options
author | Christian Heim <phreak@gentoo.org> | 2006-10-07 21:12:29 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2006-10-07 21:12:29 +0000 |
commit | 29a54855cad405f6059f7f3eaede72ada3406362 (patch) | |
tree | d749f3b3460ff8fade64ec867346613f35e47fbf /sys-cluster/util-vserver | |
parent | Version bump. (diff) | |
download | historical-29a54855cad405f6059f7f3eaede72ada3406362.tar.gz historical-29a54855cad405f6059f7f3eaede72ada3406362.tar.bz2 historical-29a54855cad405f6059f7f3eaede72ada3406362.zip |
Version bump.
Package-Manager: portage-2.1.2_pre2-r5
Diffstat (limited to 'sys-cluster/util-vserver')
-rw-r--r-- | sys-cluster/util-vserver/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/util-vserver/Manifest | 23 | ||||
-rw-r--r-- | sys-cluster/util-vserver/files/digest-util-vserver-0.30.211 | 6 | ||||
-rw-r--r-- | sys-cluster/util-vserver/util-vserver-0.30.211.ebuild | 124 |
4 files changed, 153 insertions, 8 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog index 8fc2583d3ad9..ab967542911e 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.64 2006/09/26 09:39:35 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.65 2006/10/07 21:12:29 phreak Exp $ + +*util-vserver-0.30.211 (07 Oct 2006) + + 07 Oct 2006; Christian Heim <phreak@gentoo.org> + +util-vserver-0.30.211.ebuild: + Version bump. 26 Sep 2006; Christian Heim <phreak@gentoo.org> util-vserver-0.30.210-r13.ebuild, util-vserver-0.30.210-r17.ebuild, diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest index 156b5dd283c7..17229b61eb10 100644 --- a/sys-cluster/util-vserver/Manifest +++ b/sys-cluster/util-vserver/Manifest @@ -4,7 +4,9 @@ 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-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-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 @@ -17,10 +19,14 @@ EBUILD util-vserver-0.30.210-r18.ebuild 3473 RMD160 42775b32afed96fe5d5f6f15e5f0 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 -MISC ChangeLog 12936 RMD160 835d56802de32a1cd2ca31850642815d5cb902b0 SHA1 0e493fc48c8d54b59143f36ce34754958cbc6bfa SHA256 4e2393dccdf41f90dc0ea4568e3c185b288bdb7878839d5796256c92c2e73ab8 -MD5 9e9a833e0fe9011e3a9a808d6cc824ab ChangeLog 12936 -RMD160 835d56802de32a1cd2ca31850642815d5cb902b0 ChangeLog 12936 -SHA256 4e2393dccdf41f90dc0ea4568e3c185b288bdb7878839d5796256c92c2e73ab8 ChangeLog 12936 +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 MISC metadata.xml 588 RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b SHA1 d0e5af40193886066bbe1060324dede1f0fd367f SHA256 798e87b6d5fb379322178e9f8b7432371f630caaf3fd6ff369e35056483cc31d MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588 RMD160 43bd819942f6f0c03bec0bcf67601a7099b59a2b metadata.xml 588 @@ -34,10 +40,13 @@ SHA256 18512ba16805d6c99920d331e1c5b5deff2a2a36b107b32acd63391caf54e427 files/di 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFGPVeyuNVb5qfaOYRAlc/AJ9IY55p3pk0+apU+vBYKsNQ+o0RHQCfRXL+ -6t2vCG8hX6KkCcVbDkkbqSQ= -=u/Yn +iD8DBQFFKBhDyuNVb5qfaOYRAgH7AJ4niIQwMwLTICanuq1/bkjSjdM/tgCffi7K +8cfHMOs9GDrccb4MWpVDFb8= +=sGWx -----END PGP SIGNATURE----- diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211 new file mode 100644 index 000000000000..dea39dd599a0 --- /dev/null +++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211 @@ -0,0 +1,6 @@ +MD5 b0e8d503ba1cf5a7014eb41a72ec8fe2 util-vserver-0.30.211.tar.bz2 638003 +RMD160 42856f7131756ffc278719831de9ae190943e532 util-vserver-0.30.211.tar.bz2 638003 +SHA256 992a2dd76994813508cc043bbaf7c1f903166d2b7fbcb7bd1320aa285234df59 util-vserver-0.30.211.tar.bz2 638003 +MD5 6990fa25f7eb3acdbc1c5e03cee01448 util-vserver-patches-0.30.211.tar.bz2 12626 +RMD160 82f7266e1ee487e95caf943cebe0fa9456ec92a5 util-vserver-patches-0.30.211.tar.bz2 12626 +SHA256 397f6ded56e42720cf450724497caa3e4a58274c22edd283f8d8d355ec8e43e7 util-vserver-patches-0.30.211.tar.bz2 12626 diff --git a/sys-cluster/util-vserver/util-vserver-0.30.211.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.211.ebuild new file mode 100644 index 000000000000..8d9c18e336f8 --- /dev/null +++ b/sys-cluster/util-vserver/util-vserver-0.30.211.ebuild @@ -0,0 +1,124 @@ +# 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.211.ebuild,v 1.1 2006/10/07 21:12:29 phreak Exp $ + +inherit autotools eutils bash-completion + +DESCRIPTION="Linux-VServer admin utilities" +HOMEPAGE="http://www.nongnu.org/util-vserver/" +SRC_URI="http://ftp.linux-vserver.org/pub/utils/${PN}/${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 + + 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 branded/customized init-scripts: + doinitd "${WORKDIR}"/init.d/vservers || die "Failed to ins init.d/vservers" + doconfd "${WORKDIR}"/conf.d/vservers || die "Failed to ins conf.d/vservers" + + # bash-completion + dobashcompletion "${S}"/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 +} |