summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-01-03 15:04:25 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-01-03 15:04:25 +0000
commit291533dcd4d44746ecd2001f43be5f22b9ec66f6 (patch)
treea23284882c4b9ca1b809c13ac609e119e7f9a218 /net-misc
parentadding more tools. Closes 36503 (diff)
downloadgentoo-2-291533dcd4d44746ecd2001f43be5f22b9ec66f6.tar.gz
gentoo-2-291533dcd4d44746ecd2001f43be5f22b9ec66f6.tar.bz2
gentoo-2-291533dcd4d44746ecd2001f43be5f22b9ec66f6.zip
Updated headers, and added Makefile patches to prevent some problems on 2.6 kernel headers.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/iputils/Manifest4
-rw-r--r--net-misc/iputils/iputils-020927.ebuild4
-rw-r--r--net-misc/iputils/iputils-021109.ebuild16
3 files changed, 16 insertions, 8 deletions
diff --git a/net-misc/iputils/Manifest b/net-misc/iputils/Manifest
index 8ac824a8194a..fe03685fdf0a 100644
--- a/net-misc/iputils/Manifest
+++ b/net-misc/iputils/Manifest
@@ -1,6 +1,6 @@
MD5 0da5a0149a72081afb60abfcb7a6171d ChangeLog 2759
-MD5 b1406ab9b1529aae3609b15e749880e1 iputils-021109.ebuild 1430
-MD5 11a18fe5b2b2035375969836308fde9d iputils-020927.ebuild 1330
+MD5 91a2d0fd4eac57dc48c1afbd399e537f iputils-021109.ebuild 1780
+MD5 21bbbdb8abaaadd8e7d084aab7d181b6 iputils-020927.ebuild 1333
MD5 d6d6f3cb8ff77c826d432ed7eb394c43 files/digest-iputils-020927 68
MD5 0a62fdeb93c761e5407fd3e185308a99 files/iputils-021109-pfkey.patch 3477
MD5 66a524e27160410a2dbaef8d2eed5365 files/digest-iputils-021109 73
diff --git a/net-misc/iputils/iputils-020927.ebuild b/net-misc/iputils/iputils-020927.ebuild
index 04b7473be96d..8496839c9e54 100644
--- a/net-misc/iputils/iputils-020927.ebuild
+++ b/net-misc/iputils/iputils-020927.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-020927.ebuild,v 1.14 2003/09/21 17:32:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-020927.ebuild,v 1.15 2004/01/03 15:04:13 plasmaroo Exp $
DESCRIPTION="Network monitoring tools including ping and ping6"
HOMEPAGE="ftp://ftp.inr.ac.ru/ip-routing"
diff --git a/net-misc/iputils/iputils-021109.ebuild b/net-misc/iputils/iputils-021109.ebuild
index 0bda1a34c0a0..738b8dc749be 100644
--- a/net-misc/iputils/iputils-021109.ebuild
+++ b/net-misc/iputils/iputils-021109.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-021109.ebuild,v 1.3 2003/12/31 17:09:40 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-021109.ebuild,v 1.4 2004/01/03 15:04:13 plasmaroo Exp $
DESCRIPTION="Network monitoring tools including ping and ping6"
HOMEPAGE="ftp://ftp.inr.ac.ru/ip-routing"
@@ -27,15 +27,21 @@ src_unpack() {
cd ${S}
cp ${FILESDIR}/${P}-pfkey.patch include-glibc/net/pfkeyv2.h || die
- sed -e "27s:-O2:${CFLAGS}:" -i Makefile
+ sed -e "27s:-O2:${CFLAGS}:;68s:./configure:unset CFLAGS\;./configure:" -i Makefile
sed -e "10s:-ll:-lfl:" -i setkey/Makefile
+ sed -e "51s:ifdef:ifndef:;68d; 69d; 70d;" -i racoon/grabmyaddr.c
+ sed -e '461i\LIBS="$LIBS -lfl -lresolv"' -i racoon/configure.in
}
src_compile() {
use static && LDFLAGS="${LDFLAGS} -static"
- make KERNEL_INCLUDE="/usr/include" || die
+ cd ${S}/libipsec && emake KERNEL_INCLUDE="/usr/include" || die
+ cd ${S}/setkey && emake KERNEL_INCLUDE="/usr/include" || die
+ cd ${S}/racoon && autoconf || die
+
+ cd ${S} && emake KERNEL_INCLUDE="/usr/include" || die
# if [ "`use doc`" ]; then
# make html || die
# fi
@@ -44,6 +50,7 @@ src_compile() {
}
src_install() {
+
into /
dobin ping ping6
dosbin arping
@@ -60,4 +67,5 @@ src_install() {
# if [ "`use doc`" ]; then
# dohtml doc/*.html
# fi
+
}