diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2012-07-26 17:48:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-07-26 17:48:07 +0200 |
commit | 7f0a66667a815bb8e28b4c8b93666b92a667b485 (patch) | |
tree | 278cb0360d1542d2015b170b437d3723cbb0f05c /package/strongswan/patches | |
parent | a31be23e9df88345b1045f62817768bb22c6aef5 (diff) |
update to latest version, tested with transport mode on alix1c
Diffstat (limited to 'package/strongswan/patches')
-rw-r--r-- | package/strongswan/patches/patch-configure | 19 | ||||
-rw-r--r-- | package/strongswan/patches/patch-ltmain_sh | 11 | ||||
-rw-r--r-- | package/strongswan/patches/patch-src_pluto_adns_c | 20 | ||||
-rw-r--r-- | package/strongswan/patches/patch-src_starter_netkey_c | 18 |
4 files changed, 18 insertions, 50 deletions
diff --git a/package/strongswan/patches/patch-configure b/package/strongswan/patches/patch-configure deleted file mode 100644 index 86e29c72f..000000000 --- a/package/strongswan/patches/patch-configure +++ /dev/null @@ -1,19 +0,0 @@ ---- strongswan-4.5.0.orig/configure 2010-10-29 07:13:56.000000000 +0200 -+++ strongswan-4.5.0/configure 2011-01-21 21:54:43.396152093 +0100 -@@ -13865,16 +13865,6 @@ $as_echo "$ipsecuid" >&6; } - else - as_fn_error $? "not found" "$LINENO" 5 - fi --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gid of group \"$ipsecgroup\"" >&5 --$as_echo_n "checking for gid of group \"$ipsecgroup\"... " >&6; } --ipsecgid=`$EGREP "^$ipsecgroup:" /etc/group | $AWK -F: '{ print $3 }'` --if test -n "$ipsecgid"; then -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipsecgid" >&5 --$as_echo "$ipsecgid" >&6; } -- --else -- as_fn_error $? "not found" "$LINENO" 5 --fi - - - if test x$eap_aka_3gpp2 = xtrue; then diff --git a/package/strongswan/patches/patch-ltmain_sh b/package/strongswan/patches/patch-ltmain_sh deleted file mode 100644 index 826fc7cbc..000000000 --- a/package/strongswan/patches/patch-ltmain_sh +++ /dev/null @@ -1,11 +0,0 @@ ---- strongswan-4.5.0.orig/ltmain.sh 2010-01-06 11:19:45.000000000 +0100 -+++ strongswan-4.5.0/ltmain.sh 2011-01-17 15:14:37.000000000 +0100 -@@ -4765,7 +4765,7 @@ func_mode_link () - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) -+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - func_append compile_command " $arg" diff --git a/package/strongswan/patches/patch-src_pluto_adns_c b/package/strongswan/patches/patch-src_pluto_adns_c deleted file mode 100644 index 49043fb1b..000000000 --- a/package/strongswan/patches/patch-src_pluto_adns_c +++ /dev/null @@ -1,20 +0,0 @@ ---- strongswan-4.5.0.orig/src/pluto/adns.c 2010-01-24 02:49:37.000000000 +0100 -+++ strongswan-4.5.0/src/pluto/adns.c 2010-12-30 20:25:54.000000000 +0100 -@@ -179,7 +179,8 @@ write_pipe(int fd, const unsigned char * - res_query(dname, class, type, answer, anslen) - # define res_nclose(statp) res_close() - --static struct __res_state *statp = &_res; -+static struct __res_state *statp; -+//static struct __res_state *statp = &_res; - - #else /* !OLD_RESOLVER */ - -@@ -590,6 +591,7 @@ int - main(int argc UNUSED, char **argv) - { - int i = 1; -+ statp = &_res; - - name = argv[0]; - diff --git a/package/strongswan/patches/patch-src_starter_netkey_c b/package/strongswan/patches/patch-src_starter_netkey_c new file mode 100644 index 000000000..b87895eeb --- /dev/null +++ b/package/strongswan/patches/patch-src_starter_netkey_c @@ -0,0 +1,18 @@ +--- strongswan-5.0.0.orig/src/starter/netkey.c 2012-06-13 06:32:03.000000000 +0200 ++++ strongswan-5.0.0/src/starter/netkey.c 2012-07-26 16:55:59.000000000 +0200 +@@ -43,6 +43,7 @@ bool starter_netkey_init(void) + } + + /* make sure that all required IPsec modules are loaded */ ++ /* + if (stat(PROC_MODULES, &stb) == 0) + { + ignore_result(system("modprobe -qv ah4")); +@@ -51,6 +52,7 @@ bool starter_netkey_init(void) + ignore_result(system("modprobe -qv xfrm4_tunnel")); + ignore_result(system("modprobe -qv xfrm_user")); + } ++ */ + + DBG2(DBG_APP, "found netkey IPsec stack"); + return TRUE; |