summaryrefslogtreecommitdiff
path: root/package/strongswan
diff options
context:
space:
mode:
Diffstat (limited to 'package/strongswan')
-rw-r--r--package/strongswan/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile
index 4085b7581..2551f524b 100644
--- a/package/strongswan/Makefile
+++ b/package/strongswan/Makefile
@@ -15,13 +15,16 @@ PKG_SITES:= http://download.strongswan.org/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-PKG_CHOICES_STRONGSWAN:=WITH_GNUTLS WITH_OPENSSL WITH_GMP
+PKG_CHOICES_STRONGSWAN:=WITH_LIBRESSL WITH_GNUTLS WITH_OPENSSL WITH_GMP
PKGCD_WITH_GMP:= use gmp for crypto
PKGCS_WITH_GMP:= libgmp
PKGCB_WITH_GMP:= gmp
PKGCD_WITH_OPENSSL:= use openssl for crypto
PKGCS_WITH_OPENSSL:= libopenssl
PKGCB_WITH_OPENSSL:= openssl
+PKGCD_WITH_LIBRESSL:= use libressl for crypto
+PKGCS_WITH_LIBRESSL:= libressl
+PKGCB_WITH_LIBRESSL:= libressl
PKGCD_WITH_GNUTLS:= use gnutls for crypto
PKGCS_WITH_GNUTLS:= libgnutls
PKGCB_WITH_GNUTLS:= gnutls
@@ -39,6 +42,11 @@ CONFIGURE_ARGS+= --enable-openssl \
--disable-gcrypt \
--disable-gmp
endif
+ifeq (${ADK_PACKAGE_STRONGSWAN_WITH_LIBRESSL},y)
+CONFIGURE_ARGS+= --enable-openssl \
+ --disable-gcrypt \
+ --disable-gmp
+endif
ifeq (${ADK_PACKAGE_STRONGSWAN_WITH_GNUTLS},y)
CONFIGURE_ARGS+= --enable-gcrypt \
--disable-openssl \