summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2010-08-09 08:09:54 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2010-08-09 08:09:54 +0000
commitb8064f4099997a9e2179f3ad4ace605f5ccac3a1 (patch)
tree81778e976b476374c48b4fe83d084b986b890421 /Android.mk
parent1ac70afcc1f7d6d2738a34308810719b0976d29f (diff)
downloadvyos-strongswan-b8064f4099997a9e2179f3ad4ace605f5ccac3a1.tar.gz
vyos-strongswan-b8064f4099997a9e2179f3ad4ace605f5ccac3a1.zip
[svn-upgrade] new version strongswan (4.4.1)
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk17
1 files changed, 13 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index 0cda18302..0a9fc5387 100644
--- a/Android.mk
+++ b/Android.mk
@@ -3,8 +3,9 @@ include $(CLEAR_VARS)
# this is the list of plugins that are built into libstrongswan and charon
# also these plugins are loaded by default (if not changed in strongswan.conf)
-strongswan_PLUGINS := openssl fips-prf random x509 pubkey pkcs1 \
- pem xcbc hmac kernel-netlink socket-default android
+strongswan_PLUGINS := openssl fips-prf random pubkey pkcs1 \
+ pem xcbc hmac kernel-netlink socket-default android \
+ eap-identity eap-mschapv2 eap-md5
# helper macros to only add source files for plugins included in the list above
# source files are relative to the android.mk that called the macro
@@ -12,7 +13,9 @@ plugin_enabled = $(findstring $(1), $(strongswan_PLUGINS))
add_plugin = $(if $(call plugin_enabled,$(1)), \
$(patsubst $(LOCAL_PATH)/%,%, \
$(wildcard \
- $(LOCAL_PATH)/plugins/$(subst -,_,$(strip $(1)))/*.c \
+ $(subst %,$(subst -,_,$(strip $(1))), \
+ $(LOCAL_PATH)/plugins/%/%*.c \
+ ) \
) \
) \
)
@@ -40,11 +43,17 @@ strongswan_CFLAGS := \
-DHAVE_STRUCT_SADB_X_POLICY_SADB_X_POLICY_PRIORITY \
-DHAVE_IPSEC_MODE_BEET \
-DHAVE_IPSEC_DIR_FWD \
+ -DOPENSSL_NO_EC \
+ -DOPENSSL_NO_ECDSA \
+ -DOPENSSL_NO_ECDH \
+ -DOPENSSL_NO_ENGINE \
+ -DCAPABILITIES \
+ -DCAPABILITIES_NATIVE \
-DMONOLITHIC \
-DUSE_VSTR \
-DROUTING_TABLE=0 \
-DROUTING_TABLE_PRIO=220 \
- -DVERSION=\"4.4.0\" \
+ -DVERSION=\"4.4.1\" \
-DPLUGINS='"$(strongswan_PLUGINS)"' \
-DIPSEC_DIR=\"/system/bin\" \
-DIPSEC_PIDDIR=\"/data/misc/vpn\" \