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/lftp | |
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/lftp')
-rw-r--r-- | package/lftp/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/lftp/Makefile b/package/lftp/Makefile index 467a923ab..d36b6f1c0 100644 --- a/package/lftp/Makefile +++ b/package/lftp/Makefile @@ -15,11 +15,14 @@ PKG_BUILDDEP:= ncurses expat readline zlib PKG_URL:= http://lftp.yar.ru/ PKG_SITES:= http://lftp.yar.ru/ftp/ -PKG_CHOICES_LFTP:= WITH_GNUTLS WITH_OPENSSL WITHOUT_SSL +PKG_CHOICES_LFTP:= WITHOUT_SSL WITH_GNUTLS WITH_LIBRESSL WITH_OPENSSL PKGCD_WITHOUT_SSL:= use no ssl PKGCD_WITH_OPENSSL:= use openssl for crypto PKGCS_WITH_OPENSSL:= libopenssl ca-certificates PKGCB_WITH_OPENSSL:= openssl +PKGCD_WITH_LIBRESSL:= use libressl for crypto +PKGCS_WITH_LIBRESSL:= libressl ca-certificates +PKGCB_WITH_LIBRESSL:= libressl PKGCD_WITH_GNUTLS:= use gnutls for crypto PKGCS_WITH_GNUTLS:= libgnutls ca-certificates PKGCB_WITH_GNUTLS:= gnutls @@ -40,6 +43,10 @@ ifeq (${ADK_PACKAGE_LFTP_WITH_OPENSSL},y) CONFIGURE_ARGS+= --with-openssl \ --without-gnutls endif +ifeq (${ADK_PACKAGE_LFTP_WITH_LIBRESSL},y) +CONFIGURE_ARGS+= --with-openssl \ + --without-gnutls +endif lftp-install: $(INSTALL_DIR) $(IDIR_LFTP)/usr/bin |