From 26e2aca4359bc7cff080c8446a67b838a5026d15 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 20 Oct 2015 07:58:13 +0200 Subject: ssl: rework ssl support Use libressl as default, where SSL is required. Allow to choose openssl. Disable SSL where not strictly required to build. --- package/libssh2/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'package/libssh2') diff --git a/package/libssh2/Makefile b/package/libssh2/Makefile index 9a678eac8..14b1dcf48 100644 --- a/package/libssh2/Makefile +++ b/package/libssh2/Makefile @@ -9,14 +9,22 @@ PKG_RELEASE:= 1 PKG_HASH:= eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d PKG_DESCR:= client-side c library implementing ssh2 protocol PKG_SECTION:= libs/net -PKG_BUILDDEP:= openssl zlib -PKG_DEPENDS:= libopenssl zlib +PKG_BUILDDEP:= zlib +PKG_DEPENDS:= zlib PKG_URL:= http://www.libssh2.org/ PKG_SITES:= http://www.libssh2.org/download/ PKG_OPTS:= dev DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +PKG_CHOICES_LIBSSH2:= 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,LIBSSH2,libssh2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -- cgit v1.2.3