summaryrefslogtreecommitdiff
path: root/package/strongswan/patches/310-make-ipsec-alg.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-02-28 13:30:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-02-28 13:30:51 +0000
commitc3521420dc2ddd0535690ab6569cd57c4b078035 (patch)
tree4b1f3ed52b3ea4d610732c7f0fbbf32d14f2cc57 /package/strongswan/patches/310-make-ipsec-alg.patch
parent15a9b61bbd1c7d1dec7cdb0992462356aec63905 (diff)
downloadmtk-20170518-c3521420dc2ddd0535690ab6569cd57c4b078035.zip
mtk-20170518-c3521420dc2ddd0535690ab6569cd57c4b078035.tar.gz
mtk-20170518-c3521420dc2ddd0535690ab6569cd57c4b078035.tar.bz2
Add strongswan (#1330)
SVN-Revision: 6429
Diffstat (limited to 'package/strongswan/patches/310-make-ipsec-alg.patch')
-rw-r--r--package/strongswan/patches/310-make-ipsec-alg.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/strongswan/patches/310-make-ipsec-alg.patch b/package/strongswan/patches/310-make-ipsec-alg.patch
new file mode 100644
index 0000000..cf4842a
--- /dev/null
+++ b/package/strongswan/patches/310-make-ipsec-alg.patch
@@ -0,0 +1,18 @@
+diff -ruN strongswan-2.8.1-orig/linux/net/ipsec/alg/Makefile.alg_cryptoapi strongswan-2.8.1/linux/net/ipsec/alg/Makefile.alg_cryptoapi
+--- strongswan-2.8.1-orig/linux/net/ipsec/alg/Makefile.alg_cryptoapi 2004-03-22 16:53:19.000000000 -0500
++++ strongswan-2.8.1/linux/net/ipsec/alg/Makefile.alg_cryptoapi 2007-01-17 02:28:26.835241726 -0500
+@@ -1,10 +1,10 @@
+ MOD_CRYPTOAPI := ipsec_cryptoapi.o
+
+ ifneq ($(wildcard $(TOPDIR)/include/linux/crypto.h),)
+-ALG_MODULES += $(MOD_CRYPTOAPI)
+-obj-$(CONFIG_IPSEC_ALG_CRYPTOAPI) += $(MOD_CRYPTOAPI)
+-static_init-func-$(CONFIG_IPSEC_ALG_CRYPTOAPI)+= ipsec_cryptoapi_init
+-alg_obj-$(CONFIG_IPSEC_ALG_CRYPTOAPI) += ipsec_alg_cryptoapi.o
++#ALG_MODULES += $(MOD_CRYPTOAPI)
++#obj-$(CONFIG_IPSEC_ALG_CRYPTOAPI) += $(MOD_CRYPTOAPI)
++#static_init-func-$(CONFIG_IPSEC_ALG_CRYPTOAPI)+= ipsec_cryptoapi_init
++#alg_obj-$(CONFIG_IPSEC_ALG_CRYPTOAPI) += ipsec_alg_cryptoapi.o
+ else
+ $(warning "Linux CryptoAPI (2.4.22+ or 2.6.x) not found, not building ipsec_cryptoapi.o")
+ endif