diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-20 07:58:13 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-22 22:31:26 +0200 |
commit | 26e2aca4359bc7cff080c8446a67b838a5026d15 (patch) | |
tree | 404eafc8d39d46286fc41118e9d511f873b6ce8d /package/vtun/Makefile | |
parent | 75114af47a5f090b59b80d511472493b93c2e2c6 (diff) |
ssl: rework ssl support
Use libressl as default, where SSL is required.
Allow to choose openssl.
Disable SSL where not strictly required to build.
Diffstat (limited to 'package/vtun/Makefile')
-rw-r--r-- | package/vtun/Makefile | 12 |
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 |