summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-22 05:52:02 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-22 05:52:02 +0000
commit26f2b8c1d95f854e66d9bc18b60d46f20a295772 (patch)
tree5054d528e0a5c36424485ba4d3fabd96a45651d8 /sys-cluster/ipvsadm
parents390 love #130567 by Andreas / arm/sh love as well (diff)
downloadgentoo-2-26f2b8c1d95f854e66d9bc18b60d46f20a295772.tar.gz
gentoo-2-26f2b8c1d95f854e66d9bc18b60d46f20a295772.tar.bz2
gentoo-2-26f2b8c1d95f854e66d9bc18b60d46f20a295772.zip
s390 love #130567 by Andreas
(Portage version: 2.1_pre9-r1)
Diffstat (limited to 'sys-cluster/ipvsadm')
-rw-r--r--sys-cluster/ipvsadm/ipvsadm-1.24.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild
index 3962afb9397c..3cf2d1332cdb 100644
--- a/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild
+++ b/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild
@@ -1,22 +1,21 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 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.11 2005/03/11 12:47:00 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.24.ebuild,v 1.12 2006/04/22 05:52:02 vapier Exp $
inherit linux-info
-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"
-
+DESCRIPTION="utility to administer the IP virtual server services offered by the Linux kernel"
+HOMEPAGE="http://linuxvirtualserver.org/"
SRC_URI="http://www.linuxvirtualserver.org/software/kernel-2.5/${P}.tar.gz"
+LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~amd64"
+KEYWORDS="~amd64 ~s390 x86"
IUSE=""
+DEPEND="virtual/linux-sources
+ >=sys-libs/ncurses-5.2"
+
pkg_setup() {
if kernel_is 2 4; then
die "${P} supports only 2.6 kernels, please try ${PN}-1.21 for 2.4 kernels"
@@ -35,8 +34,7 @@ src_install() {
doman ipvsadm.8 ipvsadm-save.8 ipvsadm-restore.8 || die
- exeinto /etc/init.d
- newexe ${FILESDIR}/ipvsadm-init ipvsadm
+ newinitd "${FILESDIR}"/ipvsadm-init ipvsadm
keepdir /var/lib/ipvsadm
diropts -m 755 -o root -g root
@@ -49,7 +47,9 @@ src_install() {
insinto /usr/include/ipvs
newins libipvs/libipvs.h ipvs.h || die
+}
+pkg_postinst() {
einfo "You will need a kernel that has ipvs patches to use LVS."
- einfo "This version is specicifically for 2.6 kernels."
+ einfo "This version is specifically for 2.6 kernels."
}