summaryrefslogtreecommitdiff
path: root/package/tinc
diff options
context:
space:
mode:
Diffstat (limited to 'package/tinc')
-rw-r--r--package/tinc/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/tinc/Makefile b/package/tinc/Makefile
index c562ed5e1..eb2ec673d 100644
--- a/package/tinc/Makefile
+++ b/package/tinc/Makefile
@@ -9,14 +9,22 @@ PKG_RELEASE:= 1
PKG_HASH:= bcf06bdf16ff903821e33fc1ce6219d6429971aa5acd70f4e8a35b4332442812
PKG_DESCR:= vpn tunnel daemon
PKG_SECTION:= net/security
-PKG_DEPENDS:= zlib liblzo libopenssl
-PKG_BUILDDEP:= zlib liblzo openssl
+PKG_DEPENDS:= zlib liblzo
+PKG_BUILDDEP:= zlib liblzo
PKG_URL:= http://www.tinc-vpn.org/
PKG_SITES:= http://www.tinc-vpn.org/packages/
PKG_CFLINE_TINC:= select ADK_KERNEL_TUN m
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+PKG_CHOICES_TINC:= 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
+
include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TINC,tinc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))