diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-03-17 09:16:31 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-03-17 09:16:31 +0000 |
commit | 765004c25c6f90102e88619fc9e617cf79a312ea (patch) | |
tree | 30475fb10b1c2becc0b61bfa6ca8b3d8c35d5e0b /sys-cluster/util-vserver | |
parent | Version bump, fixing bugs #213549, #213543, #212131. (diff) | |
download | historical-765004c25c6f90102e88619fc9e617cf79a312ea.tar.gz historical-765004c25c6f90102e88619fc9e617cf79a312ea.tar.bz2 historical-765004c25c6f90102e88619fc9e617cf79a312ea.zip |
version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-cluster/util-vserver')
-rw-r--r-- | sys-cluster/util-vserver/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/util-vserver/Manifest | 10 | ||||
-rw-r--r-- | sys-cluster/util-vserver/util-vserver-0.30.215.ebuild | 125 |
3 files changed, 138 insertions, 5 deletions
diff --git a/sys-cluster/util-vserver/ChangeLog b/sys-cluster/util-vserver/ChangeLog index d68122338f19..44183e09bba1 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.88 2008/03/14 20:06:01 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.89 2008/03/17 09:16:31 hollow Exp $ + +*util-vserver-0.30.215 (17 Mar 2008) + + 17 Mar 2008; Benedikt Böhm <hollow@gentoo.org> + +util-vserver-0.30.215.ebuild: + version bump 14 Mar 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml: fix metadata diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest index 73d416edfd9a..894b022e174f 100644 --- a/sys-cluster/util-vserver/Manifest +++ b/sys-cluster/util-vserver/Manifest @@ -5,14 +5,16 @@ AUX bash_completion 7568 RMD160 45feafa30f715fb287403518eee8c45fecfe418e SHA1 d2 AUX util-vserver-0.30.214-baselayout2_path.patch 648 RMD160 7775e5bc109774f9f253a88157739b5eb88ffc87 SHA1 fe8a94e8e0c76989b6d7268f9c9a07183a63b183 SHA256 59ad64c7b5356c16f500dc328eec989844301adeeefd4fe968955a03e9eb2630 AUX util-vserver-0.30.214-openrc.patch 4903 RMD160 12681cb3ed9904cbb99c7ad7411325b5856f45cf SHA1 530fb6e8077c5f4f4323811f06b8124a5e211419 SHA256 2abe4a75c33944205e0ba2f93009c45c1886c365ea141901df45af633b4c462b DIST util-vserver-0.30.214.tar.bz2 676250 RMD160 fbcf8b23719af991443d59f6c8670e99e2b746d6 SHA1 d0996cd6415db91c869912680e9b9798edd57228 SHA256 c88a27ccd1593f4396e1cf4aca37c715c7618a77d709ad63c7cc744ca1557c45 +DIST util-vserver-0.30.215.tar.bz2 695414 RMD160 62d34d2149fc949f27f7e08e8f4077919dfac838 SHA1 798fb71752420d1dd3d4807eeae37d3d8076662a SHA256 40686ac0652b245fcbb34e52ac8d80ae6b4ea3f73150ebc1ce7c69660ccaa35e EBUILD util-vserver-0.30.214-r1.ebuild 3737 RMD160 a51767e5866e4676fc2e3efbb508dd96aed6b871 SHA1 34b230de4438bf8601094a7aa36c6fd95d80bd73 SHA256 2d4f6920f19f348356893253993fe798dec0711f5e84882e88adac8120dceee2 EBUILD util-vserver-0.30.214.ebuild 3742 RMD160 81da7567905875d7b97a1823505300630a0443bf SHA1 b5b8f513d43aea27ac40b3b8738bcd5d71c85b91 SHA256 b2270da4758be3a2407dc6a8a82dda6f5217aa9372d5fe05fc4a5dc5b85fe309 -MISC ChangeLog 18070 RMD160 ecc21bb62594071751252d71d0211ffcd60677e3 SHA1 ba4db7d47a84ba0f131379903f948720d626087b SHA256 86c4b6a84e5ce1682975d6be1e75dae6d3a5e027c70e23a0a59e332c286c436b +EBUILD util-vserver-0.30.215.ebuild 3652 RMD160 906ded6b35fe11bd137dab8ef6070cfe2df97592 SHA1 e202a98af1823f3b70cf841d909ee683a09d43b6 SHA256 89c3b60b671e6c398ce2fce0f8a3b139f0303d2be282fdeaf2e43cf8d5261e9d +MISC ChangeLog 18207 RMD160 9769ffef735790789793482e9a99d6925c3c7d40 SHA1 b4568bd1601ea88fcad8f854808023156b8d3fd1 SHA256 d91157892236401fb2a7e8f33fe153eb3994edc949d82edc9a123af4bd24cebf MISC metadata.xml 518 RMD160 62a73756fb710a0464dd24600e7ec70c82e13021 SHA1 78ee9f24180c1215ebe02ac3dbba80a7a0c4a82e SHA256 5a4f424248d873af9f0a66aca2e3e60c6165288fa649ef44de4d8418232c5ac0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFH2tqumPFBzbX68WERAjiTAJ9rmhy0Z4ndcL50GKFpZ+0ntQ9G2gCfeuTY -pFam5wXMCL2zueNLEyj/fYY= -=cjlH +iD8DBQFH3jb6mPFBzbX68WERAqtGAJ9FXNrBMcUSQGDIVurq7r9TBlwAQwCdEX3u +pG9gLDnXoCTEIDK2zYooFUM= +=Slrd -----END PGP SIGNATURE----- diff --git a/sys-cluster/util-vserver/util-vserver-0.30.215.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.215.ebuild new file mode 100644 index 000000000000..9f4badae4cdb --- /dev/null +++ b/sys-cluster/util-vserver/util-vserver-0.30.215.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2008 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.215.ebuild,v 1.1 2008/03/17 09:16:31 hollow Exp $ + +WANT_AUTOMAKE="1.9" + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +IUSE="" + +DEPEND=">=dev-libs/dietlibc-0.30-r2 + dev-libs/beecrypt + net-firewall/iptables + net-misc/vconfig + sys-apps/iproute2" + +RDEPEND="sys-apps/iproute2 + net-misc/vconfig + net-firewall/iptables + dev-libs/beecrypt" + +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_compile() { + econf --with-vrootdir=${VDIRBASE} \ + --with-initscripts=gentoo \ + --localstatedir=/var || die "econf failed!" + emake || die "emake failed!" +} + +src_install() { + make DESTDIR="${D}" install install-distribution \ + || die "make 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}" + keepdir "${VDIRBASE}"/.pkg + + # remove legacy config file + rm -f "${D}"/etc/vservers.conf + + # bash-completion + dobashcompletion "${FILESDIR}"/bash_completion util-vserver + + dodoc README ChangeLog NEWS AUTHORS THANKS util-vserver.spec +} + +pkg_postinst() { + # Create VDIRBASE in postinst, so it is (a) not unmerged and (b) also + # present when merging. + + [ ! -d "${VDIRBASE}" ] && mkdir -p "${VDIRBASE}" &> /dev/null + setattr --barrier "${VDIRBASE}" &> /dev/null + + rm /etc/vservers/.defaults/vdirbase + ln -sf "${VDIRBASE}" /etc/vservers/.defaults/vdirbase + + elog + elog "You have to run the vprocunhide command after every reboot" + elog "in order to setup /proc permissions correctly for vserver" + elog "use. An init script has been installed by this package." + elog "To use it you should add it to a runlevel:" + elog + elog " rc-update add vprocunhide default" + elog + + if has_version "<${CATEGORY}/${PN}-0.30.211" ; then + ewarn "Please make sure, that you remove the old init-script from any" + ewarn "runlevel and remove it from your init.d dir!" + ewarn + ewarn "# rc-update del vservers" + ewarn "# rm -f ${ROOT}etc/init.d/vservers" + ewarn + ewarn "Since util-vserver-0.30.211 all Gentoo specific wrappers" + ewarn "have been merged upstream, and may now have a slightly" + ewarn "different syntax, i.e. you have to update scripts that" + ewarn "depend on these wrappers (vesync, vemerge, vupdateworld" + ewarn "and vdispatch-conf)" + ewarn + ewarn "Additionally the init scripts have changed and now use" + ewarn "upstream scripts as backend. An init script to start" + ewarn "virtual servers in the 'default' group/mark has been" + ewarn "installed by this ebuild:" + ewarn + ewarn " rc-update add vservers.default default" + ewarn + ewarn "To start vservers in other groups/marks, you have to" + ewarn "symlink the default init script the same way you do" + ewarn "with net.* scripts:" + ewarn + ewarn " ln -s /etc/init.d/vservers.default /etc/init.d/vservers.<mark>" + ewarn + fi + + 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 +} |