summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-01-21 18:14:37 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-01-21 18:14:37 +0000
commit23344215ea44561dc03e146118c5ac3367348a8b (patch)
tree75cfbae73cb7e66715a21c0b9b985393d7347b02 /sys-cluster/ipvsadm
parentPull in all CVS changes from 0.8.10_rc5 to now. Includes several bugfixes (lo... (diff)
downloadhistorical-23344215ea44561dc03e146118c5ac3367348a8b.tar.gz
historical-23344215ea44561dc03e146118c5ac3367348a8b.tar.bz2
historical-23344215ea44561dc03e146118c5ac3367348a8b.zip
updated copyright, added additional checks on kernel version (1.21 works only on kernel 2.4.x)
Diffstat (limited to 'sys-cluster/ipvsadm')
-rw-r--r--sys-cluster/ipvsadm/ChangeLog8
-rw-r--r--sys-cluster/ipvsadm/Manifest18
-rw-r--r--sys-cluster/ipvsadm/ipvsadm-1.21-r1.ebuild32
-rw-r--r--sys-cluster/ipvsadm/ipvsadm-1.24.ebuild4
4 files changed, 41 insertions, 21 deletions
diff --git a/sys-cluster/ipvsadm/ChangeLog b/sys-cluster/ipvsadm/ChangeLog
index 08ca582d9b37..b2114a9a613a 100644
--- a/sys-cluster/ipvsadm/ChangeLog
+++ b/sys-cluster/ipvsadm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/ipvsadm
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.14 2004/09/03 15:21:28 dholm Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.15 2005/01/21 18:14:37 xmerlin Exp $
+
+ 21 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> ipvsadm-1.21-r1.ebuild:
+ updated copyright, added additional checks on kernel version (1.21 works only
+ on kernel 2.4.x)
03 Sep 2004; David Holm <dholm@gentoo.org> ipvsadm-1.21-r1.ebuild:
Added to ~ppc.
diff --git a/sys-cluster/ipvsadm/Manifest b/sys-cluster/ipvsadm/Manifest
index 7a3965faf784..ac8558986026 100644
--- a/sys-cluster/ipvsadm/Manifest
+++ b/sys-cluster/ipvsadm/Manifest
@@ -1,7 +1,17 @@
-MD5 820df1507d48c92f25a1a35055b73833 ChangeLog 2023
-MD5 cdf42c3f8a364c03cfab9a185d41bf4a ipvsadm-1.21-r1.ebuild 1145
-MD5 89e45c10f03b0f57683ed4c127b9dbbe ipvsadm-1.24.ebuild 1197
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 faf3f9ff4dcf3e99f8eb22cb0e709e33 ipvsadm-1.24.ebuild 1196
+MD5 6bbb8adf440330b89afb3afc5065339e ChangeLog 2203
MD5 f8149340999d7088d0b706591237ec73 metadata.xml 332
-MD5 73f42ff7b9dfa10345e0f2f6a3d8b57a files/digest-ipvsadm-1.21-r1 63
+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)
+
+iD8DBQFB8YMXgMUyd/cdjWsRAsYZAJ9FDvZocZG/o2ZrmkO/Bga9o7UjzQCffUsb
+jBu+IQjF2Fv70rB+T/nr3Pg=
+=UGGU
+-----END PGP SIGNATURE-----
diff --git a/sys-cluster/ipvsadm/ipvsadm-1.21-r1.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.21-r1.ebuild
index 4e83b6393493..d58d48089c61 100644
--- a/sys-cluster/ipvsadm/ipvsadm-1.21-r1.ebuild
+++ b/sys-cluster/ipvsadm/ipvsadm-1.21-r1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.21-r1.ebuild,v 1.7 2004/09/03 15:21:28 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.21-r1.ebuild,v 1.8 2005/01/21 18:14:37 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.4/${P}.tar.gz"
@@ -15,23 +17,27 @@ SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE=""
+pkg_setup() {
+ if is_2_5_kernel || is_2_6_kernel
+ then
+ die "${P} does not support 2.5 and 2.6 kernels, please try ${PN}-1.24"
+ 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
exeinto /etc/init.d
- newexe ${FILESDIR}/ipvsadm-init ipvsadm
+ newexe ${FILESDIR}/ipvsadm-init ipvsadm || die
keepdir /var/lib/ipvsadm
diropts -m 755 -o root -g root
@@ -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"
}
diff --git a/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild
index 94ec8011fa21..736f1086b5ce 100644
--- a/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild
+++ b/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.6 2004/07/15 02:55:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild,v 1.7 2005/01/21 18:14:37 xmerlin Exp $
DESCRIPTION="ipvsadm is a utility to administer the IP virtual server services offered by the Linux kernel with IP virtual server support."