summaryrefslogtreecommitdiff
path: root/package/ipsec-tools/patches
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ipsec-tools/patches
Initial import
Diffstat (limited to 'package/ipsec-tools/patches')
-rw-r--r--package/ipsec-tools/patches/patch-configure12
-rw-r--r--package/ipsec-tools/patches/patch-configure_ac12
-rw-r--r--package/ipsec-tools/patches/patch-src_racoon_cftoken_l12
-rw-r--r--package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c12
-rw-r--r--package/ipsec-tools/patches/patch-src_setkey_token_l12
5 files changed, 60 insertions, 0 deletions
diff --git a/package/ipsec-tools/patches/patch-configure b/package/ipsec-tools/patches/patch-configure
new file mode 100644
index 000000000..5ff9866f7
--- /dev/null
+++ b/package/ipsec-tools/patches/patch-configure
@@ -0,0 +1,12 @@
+$Id$
+--- ipsec-tools-0.6.4.orig/configure 2005-12-09 10:03:34.000000000 +0100
++++ ipsec-tools-0.6.4/configure 2007-06-28 16:58:31.000000000 +0200
+@@ -23147,7 +23147,7 @@ echo "${ECHO_T}${crypto_dir-default}" >&
+
+ if test "x$crypto_dir" != "x"; then
+ LIBS="$LIBS -L${crypto_dir}/lib"
+- CPPFLAGS="-I${crypto_dir}/include $CPPLAGS"
++ CPPFLAGS="-I${crypto_dir}/include $CPPFLAGS"
+ fi
+ echo "$as_me:$LINENO: checking openssl version" >&5
+ echo $ECHO_N "checking openssl version... $ECHO_C" >&6
diff --git a/package/ipsec-tools/patches/patch-configure_ac b/package/ipsec-tools/patches/patch-configure_ac
new file mode 100644
index 000000000..d28f9afb7
--- /dev/null
+++ b/package/ipsec-tools/patches/patch-configure_ac
@@ -0,0 +1,12 @@
+$Id$
+--- ipsec-tools-0.6.4.orig/configure.ac 2005-12-09 10:00:28.000000000 +0100
++++ ipsec-tools-0.6.4/configure.ac 2007-06-28 16:58:31.000000000 +0200
+@@ -183,7 +183,7 @@ AC_MSG_RESULT(${crypto_dir-default})
+
+ if test "x$crypto_dir" != "x"; then
+ LIBS="$LIBS -L${crypto_dir}/lib"
+- CPPFLAGS="-I${crypto_dir}/include $CPPLAGS"
++ CPPFLAGS="-I${crypto_dir}/include $CPPFLAGS"
+ fi
+ AC_MSG_CHECKING(openssl version)
+
diff --git a/package/ipsec-tools/patches/patch-src_racoon_cftoken_l b/package/ipsec-tools/patches/patch-src_racoon_cftoken_l
new file mode 100644
index 000000000..977ba8a37
--- /dev/null
+++ b/package/ipsec-tools/patches/patch-src_racoon_cftoken_l
@@ -0,0 +1,12 @@
+$Id$
+--- ipsec-tools-0.6.4.orig/src/racoon/cftoken.l 2005-11-06 18:18:26.000000000 +0100
++++ ipsec-tools-0.6.4/src/racoon/cftoken.l 2007-06-28 16:58:31.000000000 +0200
+@@ -105,6 +105,8 @@ static struct include_stack {
+ static int incstackp = 0;
+
+ static int yy_first_time = 1;
++
++int yywrap(void) { return 1; }
+ %}
+
+ /* common seciton */
diff --git a/package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c b/package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c
new file mode 100644
index 000000000..66f9ba7d2
--- /dev/null
+++ b/package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c
@@ -0,0 +1,12 @@
+$Id$
+--- ipsec-tools-0.6.4.orig/src/racoon/crypto_openssl.c 2005-07-12 13:50:15.000000000 +0200
++++ ipsec-tools-0.6.4/src/racoon/crypto_openssl.c 2007-06-28 17:04:27.000000000 +0200
+@@ -81,7 +81,7 @@
+ #ifdef HAVE_OPENSSL_SHA2_H
+ #include <openssl/sha2.h>
+ #else
+-#include "crypto/sha2/sha2.h"
++#include "missing/crypto/sha2/sha2.h"
+ #endif
+ #endif
+
diff --git a/package/ipsec-tools/patches/patch-src_setkey_token_l b/package/ipsec-tools/patches/patch-src_setkey_token_l
new file mode 100644
index 000000000..b73f73fea
--- /dev/null
+++ b/package/ipsec-tools/patches/patch-src_setkey_token_l
@@ -0,0 +1,12 @@
+$Id$
+--- ipsec-tools-0.6.4.orig/src/setkey/token.l 2005-06-29 15:01:30.000000000 +0200
++++ ipsec-tools-0.6.4/src/setkey/token.l 2007-06-28 16:58:31.000000000 +0200
+@@ -84,6 +84,8 @@
+ #ifndef SADB_X_EALG_AESCTR
+ #define SADB_X_EALG_AESCTR (-1)
+ #endif
++
++int yywrap(void) { return 1; }
+ %}
+
+ /* common section */