summaryrefslogtreecommitdiff
path: root/packages/openswan/openswan-2.1.2
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/openswan/openswan-2.1.2
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/openswan/openswan-2.1.2')
-rw-r--r--packages/openswan/openswan-2.1.2/.mtn2git_empty0
-rw-r--r--packages/openswan/openswan-2.1.2/flags.patch153
2 files changed, 153 insertions, 0 deletions
diff --git a/packages/openswan/openswan-2.1.2/.mtn2git_empty b/packages/openswan/openswan-2.1.2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openswan/openswan-2.1.2/.mtn2git_empty
diff --git a/packages/openswan/openswan-2.1.2/flags.patch b/packages/openswan/openswan-2.1.2/flags.patch
index e69de29bb2..9cdf3f2a47 100644
--- a/packages/openswan/openswan-2.1.2/flags.patch
+++ b/packages/openswan/openswan-2.1.2/flags.patch
@@ -0,0 +1,153 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- openswan-2.1.2/lib/libdes/Makefile~flags.patch
++++ openswan-2.1.2/lib/libdes/Makefile
+@@ -58,9 +58,10 @@
+ #CC=gcc
+ #CFLAG= -O4 -funroll-loops -fomit-frame-pointer
+ # normally overridden by FreeS/WAN Makefiles anyway
+-CFLAG= -O3 -fomit-frame-pointer -I${KLIPSD}/include -I${SRCDIR}
++CFLAG= -O3 -fomit-frame-pointer
+
+ CFLAGS=$(OPTS) $(CFLAG)
++override CFLAGS+=-I${KLIPSD}/include -I${SRCDIR}
+ CPP=$(CC) -E
+
+ # Assember version of des_encrypt*().
+--- openswan-2.1.2/lib/libfreeswan/Makefile~flags.patch
++++ openswan-2.1.2/lib/libfreeswan/Makefile
+@@ -45,7 +45,8 @@
+
+ LIB=libfreeswan.a
+ # Original flags
+-CFLAGS=-I. -I${SRCDIR} -I${KLIPSD} -I${FREESWANSRCDIR} $(USERCOMPILE)
++override CFLAGS=-I. -I${SRCDIR} -I${KLIPSD} -I${FREESWANSRCDIR}
++CFLAGS+= $(USERCOMPILE)
+ CFLAGS+= -Wall
+ #CFLAGS+= -Wconversion
+ #CFLAGS+= -Wmissing-prototypes
+@@ -59,7 +60,7 @@
+ CFLAGS+= -Wbad-function-cast
+
+ ifeq ($(USE_NAT_TRAVERSAL),true)
+-CFLAGS+= -DNAT_TRAVERSAL
++override CFLAGS+= -DNAT_TRAVERSAL
+ endif
+
+
+--- openswan-2.1.2/lib/libipsecpolicy/Makefile~flags.patch
++++ openswan-2.1.2/lib/libipsecpolicy/Makefile
+@@ -30,7 +30,8 @@
+
+ LIB=libipsecpolicy.a
+ # Original flags
+-CFLAGS=-I. -I${KLIPSD} -I${FREESWANSRCDIR} $(USERCOMPILE)
++override CFLAGS+= -I. -I${KLIPSD} -I${FREESWANSRCDIR}
++CFLAGS+= $(USERCOMPILE)
+ CFLAGS+= -Wall
+ CFLAGS+= -Wpointer-arith
+ CFLAGS+= -Wcast-qual
+--- openswan-2.1.2/lib/liblwres/Makefile~flags.patch
++++ openswan-2.1.2/lib/liblwres/Makefile
+@@ -24,7 +24,8 @@
+ CDEFINES = -g
+ CWARNINGS = -Werror
+
+-CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS}
++override CFLAGS=${CINCLUDES}
++CFLAGS+=${CDEFINES} ${CWARNINGS}
+
+ VERSION="@(\#) freeswan-hacking-9.2.1-for-fs2"
+ LIBINTERFACE=2
+--- openswan-2.1.2/lib/libopenswan/Makefile~flags.patch
++++ openswan-2.1.2/lib/libopenswan/Makefile
+@@ -46,7 +46,8 @@
+
+ LIB=libopenswan.a
+ # Original flags
+-CFLAGS=-I. -I${SRCDIR} -I${KLIPSD} -I${OPENSWANSRCDIR} $(USERCOMPILE)
++override CFLAGS=-I. -I${SRCDIR} -I${KLIPSD} -I${OPENSWANSRCDIR}
++CFLAGS+= $(USERCOMPILE)
+ CFLAGS+= -Wall
+ #CFLAGS+= -Wconversion
+ #CFLAGS+= -Wmissing-prototypes
+@@ -60,7 +61,7 @@
+ CFLAGS+= -Wbad-function-cast
+
+ ifeq ($(USE_NAT_TRAVERSAL),true)
+-CFLAGS+= -DNAT_TRAVERSAL
++override CFLAGS+= -DNAT_TRAVERSAL
+ endif
+
+
+--- openswan-2.1.2/programs/Makefile.program~flags.patch
++++ openswan-2.1.2/programs/Makefile.program
+@@ -1,7 +1,7 @@
+
+ include ${FREESWANSRCDIR}/Makefile.ver
+
+-CFLAGS+=$(USERCOMPILE) -I${KLIPSINC}
++override CFLAGS+=-I${KLIPSINC}
+
+ CFLAGS+= $(USERCOMPILE)
+ CFLAGS+= -Wall
+@@ -15,10 +15,9 @@
+ #CFLAGS+= -W
+ #CFLAGS+= -Wwrite-strings
+ CFLAGS+= -Wbad-function-cast
+-CFLAGS+= -DNAT_TRAVERSAL
+
+ ifeq ($(USE_NAT_TRAVERSAL),true)
+-CFLAGS+= -DNAT_TRAVERSAL
++override CFLAGS+= -DNAT_TRAVERSAL
+ endif
+
+ # die if there are any warnings
+--- openswan-2.1.2/programs/lwdnsq/Makefile~flags.patch
++++ openswan-2.1.2/programs/lwdnsq/Makefile
+@@ -29,7 +29,7 @@
+ CFLAGS+=-I${BIND9INCDIR}
+ endif
+
+-CFLAGS+=-I${LWRESINCL}
++override CFLAGS+=-I${LWRESINCL}
+
+ #USERCOMPILE=-g
+
+--- openswan-2.1.2/programs/pluto/Makefile~flags.patch
++++ openswan-2.1.2/programs/pluto/Makefile
+@@ -203,7 +203,7 @@
+ DEFINES+= -DSMARTCARD
+ endif
+
+-CPPFLAGS = $(HDRDIRS) $(DEFINES) \
++override CPPFLAGS = $(HDRDIRS) $(DEFINES) \
+ -DSHARED_SECRETS_FILE=\"${FINALCONFDIR}/ipsec.secrets\" \
+ -DPOLICYGROUPSDIR=\"${FINALCONFDDIR}/policies\" \
+ -DPERPEERLOGDIR=\"${FINALLOGDIR}/pluto/peer\"
+--- openswan-2.1.2/testing/utils/ikeping/Makefile~flags.patch
++++ openswan-2.1.2/testing/utils/ikeping/Makefile
+@@ -35,7 +35,7 @@
+
+ HDRDIRS = $(FREESWANINCLS)
+
+-CPPFLAGS = $(HDRDIRS) $(BYTE_ORDER) -DDEBUG
++override CPPFLAGS = $(HDRDIRS) $(BYTE_ORDER) -DDEBUG
+
+ ALLFLAGS = $(CPPFLAGS) $(CFLAGS)
+
+--- openswan-2.1.2/testing/utils/uml_netjig/Makefile~flags.patch
++++ openswan-2.1.2/testing/utils/uml_netjig/Makefile
+@@ -43,7 +43,8 @@
+ #PCAPH=-I/home/mcr/src/libpcap
+ #PCAPLIB=-L/home/mcr/src/linux/i386/libpcap -lpcap
+
+-CFLAGS = -g -Wall ${PCAPH} ${NETDISSECTH} ${OPTIONS}
++CFLAGS = -g -Wall ${PCAPH} ${NETDISSECTH}
++override CFLAGS += ${OPTIONS}
+ LIBS = ${NETDISSECTLIB} ${PCAPLIB} ${OPENSSL}
+
+