summaryrefslogtreecommitdiff
path: root/packages/ipsec-tools/files/racoon-search-missing.patch
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-06-06 02:34:04 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-06-06 02:34:04 +0000
commit1bb7ebd1b55f7dc62391068527c5d77a50cb6493 (patch)
treea356411d6fa6e8eaa2e06c2bd1a4b331520d7584 /packages/ipsec-tools/files/racoon-search-missing.patch
parentdc3575429a49219f6e94b5e2f304b1181576bf10 (diff)
ipsec-tools: Add 0.6.7, removed all 0.4 versions and fixed for
building with gcc 4.2.
Diffstat (limited to 'packages/ipsec-tools/files/racoon-search-missing.patch')
-rw-r--r--packages/ipsec-tools/files/racoon-search-missing.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/ipsec-tools/files/racoon-search-missing.patch b/packages/ipsec-tools/files/racoon-search-missing.patch
new file mode 100644
index 0000000000..eebcb87017
--- /dev/null
+++ b/packages/ipsec-tools/files/racoon-search-missing.patch
@@ -0,0 +1,17 @@
+Older versions of openssl don't provide all the required crypto code.
+To handle this case ipsec-tools includes it's own version of the
+required crypto code but it fails to add it the search path so
+compilation fails. Fix it here since OE currently have an older
+version of openssl.
+
+--- ipsec-tools-0.6.6/src/racoon/Makefile.am 2006/08/17 05:10:57 1.1
++++ ipsec-tools-0.6.6/src/racoon/Makefile.am 2006/08/17 05:12:08
+@@ -9,7 +9,7 @@
+
+ adminsockdir=${localstatedir}/racoon
+
+-INCLUDES = -I${srcdir}/../libipsec
++INCLUDES = -I${srcdir}/../libipsec -I${srcdir}/missing
+ AM_CFLAGS = -D_GNU_SOURCE @GLIBC_BUGS@ -DSYSCONFDIR=\"${sysconfdir}\" \
+ -DADMINPORTDIR=\"${adminsockdir}\"
+ AM_LDFLAGS = @EXTRA_CRYPTO@ -lcrypto