summaryrefslogtreecommitdiff
path: root/package/openvpn/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-20 07:58:13 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-22 22:31:26 +0200
commit26e2aca4359bc7cff080c8446a67b838a5026d15 (patch)
tree404eafc8d39d46286fc41118e9d511f873b6ce8d /package/openvpn/Makefile
parent75114af47a5f090b59b80d511472493b93c2e2c6 (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/openvpn/Makefile')
-rw-r--r--package/openvpn/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/openvpn/Makefile b/package/openvpn/Makefile
index 629000a06..4bf1a290f 100644
--- a/package/openvpn/Makefile
+++ b/package/openvpn/Makefile
@@ -9,12 +9,18 @@ PKG_RELEASE:= 1
PKG_HASH:= 4062ce972500f98988e9c6e9dd1040be25582f0d49aa7e69f3f4cff96e9aebee
PKG_DESCR:= vpn solution using ssl/tls
PKG_SECTION:= net/security
-PKG_DEPENDS:= libopenssl
-PKG_BUILDDEP:= openssl
PKG_URL:= http://openvpn.net/
PKG_SITES:= http://swupdate.openvpn.org/community/releases/
PKG_CFLINE_OPENVPN:= select ADK_KERNEL_TUN m
+PKG_CHOICES_OPENVPN:= 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_OPENVPN:= WITH_LZO WITH_MANAGEMENT WITH_HTTPPROXY WITH_SOCKS WITH_SMALL
PKGFD_WITH_LZO:= enable lzo compression support
PKGFS_WITH_LZO:= liblzo