summaryrefslogtreecommitdiff
path: root/package/vtun/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/vtun/Makefile')
-rw-r--r--package/vtun/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/vtun/Makefile b/package/vtun/Makefile
index c79f344c7..0dfc30d34 100644
--- a/package/vtun/Makefile
+++ b/package/vtun/Makefile
@@ -9,11 +9,19 @@ PKG_RELEASE:= 1
PKG_HASH:= 22507499a8f650ef97157977e62fa632d5b0034070629a2d0fd0512e304eaeeb
PKG_DESCR:= vpn tunnel daemon
PKG_SECTION:= net/security
-PKG_DEPENDS:= zlib libopenssl liblzo
-PKG_BUILDDEP:= zlib openssl liblzo
+PKG_DEPENDS:= zlib liblzo
+PKG_BUILDDEP:= zlib liblzo
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vtun/}
PKG_CFLINE_VTUN:= select ADK_KERNEL_TUN m
+PKG_CHOICES_VTUN:= WITH_LIBRESSL WITH_OPENSSL
+PKGCD_WITH_LIBRESSL:= use libressl for crypto
+PKGCB_WITH_LIBRESSL:= libressl
+PKGCS_WITH_LIBRESSL:= libressl ca-certificates
+PKGCD_WITH_OPENSSL:= use openssl for crypto
+PKGCB_WITH_OPENSSL:= openssl
+PKGCS_WITH_OPENSSL:= libopenssl ca-certificates
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= !freebsd