summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/openswan
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-29 12:40:16 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-29 12:40:16 +0000
commitd1c1fb556ba6d32095cac8cf6000f34926835bba (patch)
tree4099fdc897773dddb6f27afcda1f532a7f155360 /openwrt/target/linux/package/openswan
parent1f7186d2888ea9c65824c0c97aec7c84d606c387 (diff)
downloadmtk-20170518-d1c1fb556ba6d32095cac8cf6000f34926835bba.zip
mtk-20170518-d1c1fb556ba6d32095cac8cf6000f34926835bba.tar.gz
mtk-20170518-d1c1fb556ba6d32095cac8cf6000f34926835bba.tar.bz2
update openswan to 2.40
SVN-Revision: 2003
Diffstat (limited to 'openwrt/target/linux/package/openswan')
-rw-r--r--openwrt/target/linux/package/openswan/Makefile4
-rw-r--r--openwrt/target/linux/package/openswan/patches/fix-compile-pfkey.patch13
2 files changed, 15 insertions, 2 deletions
diff --git a/openwrt/target/linux/package/openswan/Makefile b/openwrt/target/linux/package/openswan/Makefile
index d54ffae..0e44690 100644
--- a/openwrt/target/linux/package/openswan/Makefile
+++ b/openwrt/target/linux/package/openswan/Makefile
@@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk
include ../../rules.mk
PKG_NAME:=openswan
-PKG_VERSION:=2.3.1
+PKG_VERSION:=2.4.0
PKG_RELEASE:=1
-PKG_MD5SUM:=3dcf1cd7efcbe8db3148fc288d429db1
+PKG_MD5SUM:=6cbba783658eb62b87cbf4937f5e8464
PKG_SOURCE_URL:=http://www.openswan.org/download
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/openwrt/target/linux/package/openswan/patches/fix-compile-pfkey.patch b/openwrt/target/linux/package/openswan/patches/fix-compile-pfkey.patch
new file mode 100644
index 0000000..0a0ece3
--- /dev/null
+++ b/openwrt/target/linux/package/openswan/patches/fix-compile-pfkey.patch
@@ -0,0 +1,13 @@
+diff -Nur openswan-2.4.0.orig/linux/net/ipsec/pfkey_v2.c openswan-2.4.0/linux/net/ipsec/pfkey_v2.c
+--- openswan-2.4.0.orig/linux/net/ipsec/pfkey_v2.c 2005-09-06 04:10:03.000000000 +0200
++++ openswan-2.4.0/linux/net/ipsec/pfkey_v2.c 2005-09-21 09:32:49.214628750 +0200
+@@ -821,7 +821,9 @@
+ return 0; /* -EINVAL; */
+ }
+
++#ifdef NET_26
+ write_lock_bh(&pfkey_sock_lock);
++#endif
+
+ KLIPS_PRINT(debug_pfkey,
+ "klips_debug:pfkey_release: "