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/mosquitto/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'package/mosquitto') diff --git a/package/mosquitto/Makefile b/package/mosquitto/Makefile index ba0e86787..282f0be72 100644 --- a/package/mosquitto/Makefile +++ b/package/mosquitto/Makefile @@ -9,13 +9,21 @@ PKG_RELEASE:= 1 PKG_HASH:= 16eb3dbef183827665feee9288362c7352cd016ba04ca0402a0ccf857d1c2ab2 PKG_DESCR:= mqtt broker PKG_SECTION:= net/misc -PKG_DEPENDS:= c-ares libopenssl librt libpthreads -PKG_BUILDDEP:= cmake-host c-ares openssl +PKG_DEPENDS:= c-ares librt libpthreads +PKG_BUILDDEP:= cmake-host c-ares PKG_URL:= http://mosquitto.org PKG_SITES:= http://mosquitto.org/files/source/ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +PKG_CHOICES_MOSQUITTO:= 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,MOSQUITTO,mosquitto,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) -- cgit v1.2.3