aboutsummaryrefslogtreecommitdiffstats
path: root/package/openswan/patches/pluto-includes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-05 02:03:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-05 02:03:37 +0000
commit9423c3bef9a97bf898ce00ad373257895baedc32 (patch)
tree82683ad6a43de4b818e43dcc4caf807fef3aad61 /package/openswan/patches/pluto-includes.patch
parent23b4419db4cbb51352740304d4f1340588d7260c (diff)
downloadupstream-9423c3bef9a97bf898ce00ad373257895baedc32.tar.gz
upstream-9423c3bef9a97bf898ce00ad373257895baedc32.tar.bz2
upstream-9423c3bef9a97bf898ce00ad373257895baedc32.zip
add openswan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@565 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openswan/patches/pluto-includes.patch')
-rw-r--r--package/openswan/patches/pluto-includes.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/openswan/patches/pluto-includes.patch b/package/openswan/patches/pluto-includes.patch
new file mode 100644
index 0000000000..d189c1f4a8
--- /dev/null
+++ b/package/openswan/patches/pluto-includes.patch
@@ -0,0 +1,25 @@
+diff -urN openswan-2.3.1dr6.old/programs/pluto/Makefile openswan-2.3.1dr6/programs/pluto/Makefile
+--- openswan-2.3.1dr6.old/programs/pluto/Makefile 2005-03-27 22:21:41.000000000 +0200
++++ openswan-2.3.1dr6/programs/pluto/Makefile 2005-04-05 02:58:42.000000000 +0200
+@@ -66,7 +66,7 @@
+
+ # where to find klips headers and Openswan headers
+ # and 2.6 kernel's <rtnetlink.h> and <xfrm.h>
+-HDRDIRS = -I${OPENSWANSRCDIR}/programs/pluto/linux26 -I${OPENSWANSRCDIR}/include -I$(KLIPSINC)
++HDRDIRS = -I${OPENSWANSRCDIR}/programs/pluto/linux26 -I${OPENSWANSRCDIR}/include -I$(KLIPSINC) $(EXTRA_INCLUDE)
+
+ # On non-LINUX systems, these one of these may be needed (see endian.h)
+ # BYTE_ORDER = -DBIG_ENDIAN=4321 -DLITTLE_ENDIAN=1234 -DBYTE_ORDER=BIG_ENDIAN
+diff -urN openswan-2.3.1dr6.old/programs/pluto/Makefile openswan-2.3.1dr6.dev/programs/pluto/Makefile
+--- openswan-2.3.1dr6.old/programs/pluto/Makefile 2005-04-05 03:00:36.000000000 +0200
++++ openswan-2.3.1dr6.dev/programs/pluto/Makefile 2005-04-05 03:06:18.000000000 +0200
+@@ -255,7 +255,7 @@
+ LIBSPLUTO+=$(IPSECPOLICY_LIBS) $(X509_LIBS) $(SMARTCARD_LIBS)
+ LIBSPLUTO+=$(HAVE_THREADS_LIBS) ${XAUTHPAM_LIBS}
+ LIBSPLUTO+=${CURL_LIBS}
+-LIBSPLUTO+= -lgmp -lresolv # -lefence
++LIBSPLUTO+= $(EXTRA_LIBS) -lgmp -lresolv # -lefence
+
+ ifneq ($(LD_LIBRARY_PATH),)
+ LDFLAGS=-L$(LD_LIBRARY_PATH)
+Binary files openswan-2.3.1dr6.old/programs/pluto/.Makefile.swp and openswan-2.3.1dr6.dev/programs/pluto/.Makefile.swp differ