summaryrefslogtreecommitdiff
path: root/package/ipsec-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ipsec-tools/Makefile')
-rw-r--r--package/ipsec-tools/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile
index e7d93e5b6..e21c271b6 100644
--- a/package/ipsec-tools/Makefile
+++ b/package/ipsec-tools/Makefile
@@ -9,13 +9,20 @@ PKG_RELEASE:= 1
PKG_HASH:= 8eb6b38716e2f3a8a72f1f549c9444c2bc28d52c9536792690564c74fe722f2d
PKG_DESCR:= ipsec management tools
PKG_SECTION:= net/security
-PKG_BUILDDEP:= openssl flex
-PKG_DEPENDS:= libopenssl
+PKG_BUILDDEP:= flex
PKG_URL:= http://ipsec-tools.sourceforge.net/
PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=ipsec-tools/)
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_CHOICES_IPSEC_TOOLS:= WITH_LIBRESSL WITH_OPENSSL
+PKGCD_WITH_LIBRESSL:= use libressl for crypto
+PKGCB_WITH_LIBRESSL:= libressl
+PKGCS_WITH_LIBRESSL:= libressl
+PKGCD_WITH_OPENSSL:= use openssl for crypto
+PKGCB_WITH_OPENSSL:= openssl
+PKGCS_WITH_OPENSSL:= libopenssl
+
PKG_FLAVOURS_IPSEC_TOOLS:= WITH_IPV6
PKGFD_WITH_IPV6:= enable ipv6 support