diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2005-10-13 20:07:55 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2005-10-13 20:07:55 +0000 |
commit | b7de81c2abd86a0444ac4ccd25407622fdf3857e (patch) | |
tree | 57bd2f54fcab38982a148aad3d60815c7d0ebc58 /sys-cluster | |
parent | Mark 0.1.12-r1 stable on alpha/amd64/ia64/x86 (diff) | |
download | historical-b7de81c2abd86a0444ac4ccd25407622fdf3857e.tar.gz historical-b7de81c2abd86a0444ac4ccd25407622fdf3857e.tar.bz2 historical-b7de81c2abd86a0444ac4ccd25407622fdf3857e.zip |
mostly gentoo tools fixes
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'sys-cluster')
5 files changed, 119 insertions, 13 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog index df283d33bd55..e2251c3a7e3e 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.30 2005/10/04 14:45:13 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.31 2005/10/13 20:07:55 hollow Exp $ + +*util-vserver-0.30.208-r4 (13 Oct 2005) + + 13 Oct 2005; Benedikt Boehm <hollow@gentoo.org> + +util-vserver-0.30.208-r4.ebuild: + mostly updates to gentoo tools 04 Oct 2005; Benedikt Boehm <hollow@gentoo.org> +files/vserver-new_drop-defaulttar.patch, util-vserver-0.30.208-r3.ebuild: diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest index 08966a9248c9..5f0823dfe5ed 100644 --- a/sys-cluster/util-vserver/Manifest +++ b/sys-cluster/util-vserver/Manifest @@ -1,21 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 7fd9a929dd0f60fab28543b770baeeb1 ChangeLog 6022 -MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588 -MD5 c5f348ce535b90b26e953ef356181e1d util-vserver-0.30.205-r1.ebuild 1946 -MD5 4ad677a3bd9403ff6243365f42fd5250 util-vserver-0.30.208-r3.ebuild 2701 -MD5 b3c3f9e3c220a288d48c43ef109ddf2b files/vservers.confd 1560 -MD5 9f45fd567b0b82deb30b950b680d983a files/vservers.initd 1692 +MD5 bc27cf508f797d6dd8285ddebae4ea32 ChangeLog 6183 +MD5 4bd7088cb72bd60e8ed7b7e562f3ea95 files/digest-util-vserver-0.30.205-r1 74 +MD5 fa04b4cbc865fd7ef34386bee737b4e6 files/digest-util-vserver-0.30.208-r3 157 +MD5 23a0e28296d1d5b79ad08a816e01e605 files/digest-util-vserver-0.30.208-r4 157 MD5 09276c3e50cf5c0f8d30ef0422f05fd8 files/vprocunhide 570 MD5 bb0aa3e0f3b2d4216d303bd8ff6ebcb4 files/vserver-new_dev-fix.patch 393 MD5 5e3714a49fe3701ba1d3e5a0c210f888 files/vserver-new_drop-defaulttar.patch 840 -MD5 4bd7088cb72bd60e8ed7b7e562f3ea95 files/digest-util-vserver-0.30.205-r1 74 -MD5 14608df972e2a679a7c99744366dbbe7 files/digest-util-vserver-0.30.208-r3 157 +MD5 b3c3f9e3c220a288d48c43ef109ddf2b files/vservers.confd 1560 +MD5 9f45fd567b0b82deb30b950b680d983a files/vservers.initd 1692 +MD5 493021fa14e20216e8ce772e9dc10a62 metadata.xml 588 +MD5 c5f348ce535b90b26e953ef356181e1d util-vserver-0.30.205-r1.ebuild 1946 +MD5 4ad677a3bd9403ff6243365f42fd5250 util-vserver-0.30.208-r3.ebuild 2701 +MD5 ab43eabdf469de7dff04968715e60859 util-vserver-0.30.208-r4.ebuild 2542 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDQpYLmPFBzbX68WERAmL6AKCTj1c1+jDcGD2yGZKr9sZjfEHKdwCeK+r0 -mCGQFZGLEW8hC5Xlu3BBMx8= -=KqPn +iD8DBQFDTr9RmPFBzbX68WERAmzRAJ9Es5i9+a8/LQPy6LHkWnPDclq1zwCfY0o2 +e9+jQvBw2ZCod8Md+f+bFjE= +=Zx6w -----END PGP SIGNATURE----- diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r3 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r3 index 91f5106243f0..3ee9f7d79ede 100644 --- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r3 +++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r3 @@ -1,2 +1,2 @@ -MD5 4453ad0ae7f351fec651d6904e00521f util-vserver-0.30.208.tar.bz2 580935 MD5 97ee5692ab45124f59ffa78f37cfdb2c util-vserver-0.30.208-gentoo-r3.tar.bz2 21957 +MD5 4453ad0ae7f351fec651d6904e00521f util-vserver-0.30.208.tar.bz2 580935 diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r4 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r4 new file mode 100644 index 000000000000..7b9c6844eb52 --- /dev/null +++ b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.208-r4 @@ -0,0 +1,2 @@ +MD5 241c0f9475455a336824b3de1c9b1a9f util-vserver-0.30.208-gentoo-r4.tar.bz2 23206 +MD5 4453ad0ae7f351fec651d6904e00521f util-vserver-0.30.208.tar.bz2 580935 diff --git a/sys-cluster/util-vserver/util-vserver-0.30.208-r4.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.208-r4.ebuild new file mode 100644 index 000000000000..6b8e59c05cdd --- /dev/null +++ b/sys-cluster/util-vserver/util-vserver-0.30.208-r4.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2005 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.208-r4.ebuild,v 1.1 2005/10/13 20:07:55 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/vserver/${PN}/${P}-gentoo-${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 "${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 INSTALL 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 +} |