This commit updates monit to the latest 5.33.0 version which also requires an additional patch to configure.ac as well as enabled ipv6 support. Signed-off-by: Jens Maus <mail@jens-maus.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
42 lines
1011 B
Makefile
42 lines
1011 B
Makefile
################################################################################
|
|
#
|
|
# monit
|
|
#
|
|
################################################################################
|
|
|
|
MONIT_VERSION = 5.33.0
|
|
MONIT_SITE = http://mmonit.com/monit/dist
|
|
MONIT_LICENSE = AGPL-3.0 with OpenSSL exception
|
|
MONIT_LICENSE_FILES = COPYING
|
|
MONIT_CPE_ID_VENDOR = mmonit
|
|
MONIT_SELINUX_MODULES = monit
|
|
|
|
# Touching Makefile.am:
|
|
# 0001-configure.ac-fixes-missing-config-macro-dir.patch touches configure.ac
|
|
MONIT_AUTORECONF = YES
|
|
|
|
MONIT_CONF_ENV = \
|
|
libmonit_cv_setjmp_available=yes \
|
|
libmonit_cv_vsnprintf_c99_conformant=yes \
|
|
ac_cv_ipv6=yes
|
|
|
|
MONIT_CONF_OPTS += \
|
|
--without-pam \
|
|
--with-largefiles
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MONIT_CONF_OPTS += --with-ssl --with-ssl-dir=$(STAGING_DIR)/usr
|
|
MONIT_DEPENDENCIES += openssl
|
|
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))
|