ports/core (2.3): iputils: removed ipsec/pfkey check
commit 9f83eae62cc8ec7ea6ec0ffb959069e5c6261cec Author: Matt Housh <jaeger@crux.nu> Date: Thu Feb 22 09:51:13 2007 -0600 iputils: removed ipsec/pfkey check diff --git a/iputils/.md5sum b/iputils/.md5sum index 2c6f36a..e5fdc3b 100644 --- a/iputils/.md5sum +++ b/iputils/.md5sum @@ -1,2 +1,3 @@ ef1e642cbeba37c8ce62770175d9809d iputils-ipg-linux26.patch +de7c2ee91ca1e85513e339bcf5af3d06 iputils-ss021109-try.patch dd10ef3d76480990a2174d2bb0daddaf iputils-ss021109-try.tar.bz2 diff --git a/iputils/Pkgfile b/iputils/Pkgfile index 8f65040..d87bf9c 100644 --- a/iputils/Pkgfile +++ b/iputils/Pkgfile @@ -4,16 +4,16 @@ name=iputils version=ss021109-try -release=3 +release=4 source=(ftp://ftp.inr.ac.ru/ip-routing/$name-$version.tar.bz2 \ - $name-ipg-linux26.patch) + $name-ipg-linux26.patch $name-$version.patch) build() { cd $name + patch -i $SRC/$name-$version.patch Makefile patch -i $SRC/$name-ipg-linux26.patch ipg sed -i -e "/^CCOPT=/s|-O2|$CFLAGS|" \ -e '/^CCOPT=/s| -g$||' \ - -e 's/^\(all:\) check-kernel/\1/' \ Makefile make make man diff --git a/iputils/iputils-ss021109-try.patch b/iputils/iputils-ss021109-try.patch new file mode 100644 index 0000000..20ca58a --- /dev/null +++ b/iputils/iputils-ss021109-try.patch @@ -0,0 +1,30 @@ +--- Makefile.orig 2007-02-22 09:10:41.000000000 -0600 ++++ Makefile 2007-02-22 09:13:35.000000000 -0600 +@@ -1,5 +1,4 @@ + # Path to parent kernel include files directory +-KERNEL_INCLUDE=/usr/src/linux/include + LIBC_INCLUDE=/usr/include + + DEFINES= +@@ -17,12 +16,6 @@ + GLIBCFIX=-Iinclude-glibc -include include-glibc/glibc-bugs.h + endif + +-ifeq ($(KERNEL_INCLUDE)/linux/pfkeyv2.h,$(wildcard $(KERNEL_INCLUDE)/linux/pfkeyv2.h)) +- SUBDIRS=libipsec setkey +- LDLIBS+=-Llibipsec -lipsec +- IPSECDEF=-DDO_IPSEC -Ilibipsec +-endif +- + + #options if you compile with libc5, and without a bind>=4.9.4 libresolv + # NOT AVAILABLE. Please, use libresolv. +@@ -37,7 +30,7 @@ + IPV6_TARGETS=tracepath6 traceroute6 ping6 + TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS) + +-all: check-kernel subdirs $(TARGETS) ++all: subdirs $(TARGETS) + + + tftpd: tftpd.o tftpsubs.o
participants (1)
-
crux@crux.nu