summaryrefslogtreecommitdiff
path: root/package/monit
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/monit
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/monit')
-rw-r--r--package/monit/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/monit/Makefile b/package/monit/Makefile
index cf3113159..1bbfe7bd6 100644
--- a/package/monit/Makefile
+++ b/package/monit/Makefile
@@ -9,13 +9,20 @@ PKG_RELEASE:= 2
PKG_HASH:= 38e09bd8b39abc59e6b9a9bb7a78f7eac2b02a92f4de1f3a6dc24e84dfedae0d
PKG_DESCR:= utility for system services monitoring
PKG_SECTION:= sys/misc
-PKG_DEPENDS:= libpthread libopenssl
-PKG_BUILDDEP:= openssl
+PKG_DEPENDS:= libpthread
PKG_URL:= http://mmonit.com/monit/
PKG_SITES:= http://www.tildeslash.com/monit/dist/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+PKG_CHOICES_MONIT:= 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,MONIT,monit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))