package/monit: security bump to version 5.20.0
authorJörg Krause <joerg.krause@embedded.rocks>
Wed, 21 Dec 2016 16:01:34 +0000 (17:01 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 21 Dec 2016 16:15:34 +0000 (17:15 +0100)
Fixes CVE-2016-7067.

Note that since version 5.20.0 monit optionally depends on zlib.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/monit/monit.hash
package/monit/monit.mk

index 04f87901eb83eb156eeef0d6b73811d8b52ad571..8eb02fce6687b83c363bab37153964424151960a 100644 (file)
@@ -1,2 +1,2 @@
-# From https://mmonit.com/monit/dist/monit-5.17.tar.gz.sha256:
-sha256  2fbcdea79ae39228791a0aaa685ebbf650f2b58d086eaf77a33226e972cb216e  monit-5.17.tar.gz
+# From https://mmonit.com/monit/dist/monit-5.20.0.tar.gz.sha256:
+sha256  ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d  monit-5.20.0.tar.gz
index 1d5904b64d7275806f4e949b68f960cfd24638d3..f4899c3c0dd11232b64788c349e81bf06d1a3778 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MONIT_VERSION = 5.17
+MONIT_VERSION = 5.20.0
 MONIT_SITE = http://mmonit.com/monit/dist
 MONIT_LICENSE = AGPLv3 with OpenSSL exception
 MONIT_LICENSE_FILES = COPYING
@@ -27,4 +27,11 @@ else
 MONIT_CONF_OPTS += --without-ssl
 endif
 
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+MONIT_CONF_OPTS += --with-zlib
+MONIT_DEPENDENCIES += zlib
+else
+MONIT_CONF_OPTS += --without-zlib
+endif
+
 $(eval $(autotools-package))