diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-01-21 18:26:44 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-01-21 18:26:44 +0000 |
commit | d919bfb9d4efdd084785008146628e5d6f51ce80 (patch) | |
tree | 667a207c4bb7ff06692feffe3c7f4ce0082246aa /sys-cluster/ipvsadm | |
parent | Stable on alpha, bug 78619. (diff) | |
download | gentoo-2-d919bfb9d4efdd084785008146628e5d6f51ce80.tar.gz gentoo-2-d919bfb9d4efdd084785008146628e5d6f51ce80.tar.bz2 gentoo-2-d919bfb9d4efdd084785008146628e5d6f51ce80.zip |
unmasked, it's stable on 2.6 kernels and I want test it in the portage
Diffstat (limited to 'sys-cluster/ipvsadm')
-rw-r--r-- | sys-cluster/ipvsadm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/ipvsadm/Manifest | 12 | ||||
-rw-r--r-- | sys-cluster/ipvsadm/ipvsadm-1.24.ebuild | 30 |
3 files changed, 26 insertions, 24 deletions
diff --git a/sys-cluster/ipvsadm/ChangeLog b/sys-cluster/ipvsadm/ChangeLog index 1f9fd4b304a0..cd6aeaa3779c 100644 --- a/sys-cluster/ipvsadm/ChangeLog +++ b/sys-cluster/ipvsadm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/ipvsadm # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.16 2005/01/21 18:18:13 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.17 2005/01/21 18:26:44 xmerlin Exp $ + + 21 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> ipvsadm-1.24.ebuild: + unmasked, it's stable on 2.6 kernels and I want test it in the portage + + 21 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> ipvsadm-1.24.ebuild: + merged additional checks added in ipvsadm-1.21 in the 1.24 version 21 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> ipvsadm-1.21-r1.ebuild: added missing dependency virtual-sources, ipvsadm needs kernel source to diff --git a/sys-cluster/ipvsadm/Manifest b/sys-cluster/ipvsadm/Manifest index 1068a8a9261a..df39446ecde6 100644 --- a/sys-cluster/ipvsadm/Manifest +++ b/sys-cluster/ipvsadm/Manifest @@ -1,17 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 faf3f9ff4dcf3e99f8eb22cb0e709e33 ipvsadm-1.24.ebuild 1196 +MD5 8d665e296c5f2a84c53e64b262ad7b16 ipvsadm-1.24.ebuild 1446 MD5 97fa0a9c3499891eb43989a1a6200067 ChangeLog 2367 MD5 f8149340999d7088d0b706591237ec73 metadata.xml 332 MD5 a69d465682e84d5e33ff185020ba28c9 ipvsadm-1.21-r1.ebuild 1349 MD5 1b3d2656b8219fca2114015a5ed932c9 files/digest-ipvsadm-1.24 63 MD5 73f42ff7b9dfa10345e0f2f6a3d8b57a files/digest-ipvsadm-1.21-r1 63 MD5 3b3c592fdf57e4760d02989b8ee11562 files/ipvsadm-init 764 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFB8YPkgMUyd/cdjWsRAjIbAJsH34/npb+eOf+M59HyvZ980K2UzwCfYITC -/DLXnXJHXk2jV1HHjVdVtjk= -=uhW7 ------END PGP SIGNATURE----- diff --git a/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild index 736f1086b5ce..6ec34ac78dd1 100644 --- a/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild +++ b/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild @@ -1,34 +1,40 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild,v 1.7 2005/01/21 18:14:37 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild,v 1.8 2005/01/21 18:26:44 xmerlin Exp $ +inherit check-kernel DESCRIPTION="ipvsadm is a utility to administer the IP virtual server services offered by the Linux kernel with IP virtual server support." HOMEPAGE="http://linuxvirtualserver.org" LICENSE="GPL-2" DEPEND="virtual/libc + virtual/linux-sources >=sys-libs/ncurses-5.2" SRC_URI="http://www.linuxvirtualserver.org/software/kernel-2.5/${P}.tar.gz" SLOT="0" -KEYWORDS="-*" +KEYWORDS="~x86" IUSE="" +pkg_setup() { + if is_2_4_kernel + then + die "${P} supports only 2.5 and 2.6 kernels, please try ${PN}-1.24 for 2.4 kernels" + fi +} + + src_compile() { - cd "${S}" - make || die + check_KV + make || die "error compiling source" } src_install() { into / - dosbin ipvsadm - dosbin ipvsadm-save - dosbin ipvsadm-restore + dosbin ipvsadm ipvsadm-save ipvsadm-restore || die - doman ipvsadm.8 - doman ipvsadm-save.8 - doman ipvsadm-restore.8 + doman ipvsadm.8 ipvsadm-save.8 ipvsadm-restore.8 || die exeinto /etc/init.d newexe ${FILESDIR}/ipvsadm-init ipvsadm @@ -40,10 +46,10 @@ src_install() { insopts -m 644 -o root -g root insinto /usr/lib - doins libipvs/libipvs.a + doins libipvs/libipvs.a || die insinto /usr/include/ipvs - newins libipvs/libipvs.h ipvs.h + newins libipvs/libipvs.h ipvs.h || die einfo "You will need a kernel that has ipvs patches to use LVS." einfo "This version is specicifically for 2.6 kernels." |