-# From http://download.strongswan.org/strongswan-5.2.2.tar.bz2.md5
-md5 7ee1a33060b2bde35be0f6d78a1d26d0 strongswan-5.2.2.tar.bz2
+# From http://download.strongswan.org/strongswan-5.3.0.tar.bz2.md5
+md5 c52d4228231c2025d9c320d0e9990327 strongswan-5.3.0.tar.bz2
#
################################################################################
-STRONGSWAN_VERSION = 5.2.2
+STRONGSWAN_VERSION = 5.3.0
STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2
STRONGSWAN_SITE = http://download.strongswan.org
STRONGSWAN_LICENSE = GPLv2+
STRONGSWAN_DEPENDENCIES = host-pkgconf
STRONGSWAN_CONF_OPTS += \
--without-lib-prefix \
+ --enable-led \
--enable-pkcs11=yes \
--enable-kernel-netlink=$(if $(BR2_INET_IPV6),yes,no) \
--enable-socket-default=$(if $(BR2_INET_IPV6),yes,no) \
$(if $(BR2_PACKAGE_MYSQL),mysql)
endif
+ifeq ($(BR2_PACKAGE_IPTABLES),y)
+STRONGSWAN_DEPENDENCIES += iptables
+STRONGSWAN_CONF_OPTS += \
+ --enable-connmark \
+ --enable-forecast
+else
+STRONGSWAN_COF_OPTS += \
+ --disable-connmark \
+ --disable-forecast
+endif
+
$(eval $(autotools-package))