iputils: removed ipsec/pfkey check
This commit is contained in:
parent
ec55301516
commit
9f83eae62c
@ -1,2 +1,3 @@
|
||||
ef1e642cbeba37c8ce62770175d9809d iputils-ipg-linux26.patch
|
||||
de7c2ee91ca1e85513e339bcf5af3d06 iputils-ss021109-try.patch
|
||||
dd10ef3d76480990a2174d2bb0daddaf iputils-ss021109-try.tar.bz2
|
||||
|
@ -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
|
||||
|
30
iputils/iputils-ss021109-try.patch
Normal file
30
iputils/iputils-ss021109-try.patch
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user