Files
meta-openembedded/meta-oe/recipes-support/monit/monit_5.30.0.bb
T
wangmy 02a08d021a monit: upgrade 5.29.0 -> 5.30.0
Changelog:
=========
-New: Add a read-only option to the set httpd statement. The option can be used
 on the TCP socket, the unix socket, or both.
-Changed: Issue #1011: The include statement was limited to 512 files, increase
 the limit to 1024 files.
-Fixed: The disk read and write bytes didn't show up in M/Monit for Monit 5.27.0
 or later.
-Fixed: Issue #998: Monit 5.29.0 may fail to compile on platforms without the
 monotonic clock support.
-Fixed: Issue #1002: 32-bit Linux machines with more then 4GB of RAM reported
 wrong system memory size and swap size values.
-Fixed: Issue #1005: When the port statement was used with the generic protocol
 test and the target server returned zeros in response, Monit >= 5.20.0 may crash.
-Fixed: Issue #1009: When one executes an action via the Monit HTML GUI (uses a
 POST request), the Monit HTTP server will redirect the browser back to the base
 URL, so the browser won't perform the POST request again on an automatic page
 refresh, which is performed to poll for status changes.
-Fixed: Issue #1015: The set httpd statement supports only one address option.
 Display warning if multiple address options are used.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-19 09:01:04 -08:00

53 lines
1.7 KiB
BlitzBasic

DESCRIPTION = "Monit is a free open source utility for managing and monitoring, \
processes, programs, files, directories and filesystems on a UNIX system. \
Monit conducts automatic maintenance and repair and can execute meaningful \
causal actions in error situations."
HOMEPAGE = "http://mmonit.com/monit/"
LICENSE = "AGPL-3.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=ea116a7defaf0e93b3bb73b2a34a3f51 \
file://libmonit/COPYING;md5=2405f1c59ed1bf3714cebdb40162ce92"
SRC_URI = " \
https://mmonit.com/monit/dist/monit-${PV}.tar.gz \
file://monit \
file://monitrc \
"
SRC_URI[sha256sum] = "e85649dfa8586f4fcdd34a0295c55ddd69b0eda6cfbdac47105a2673d10b1008"
DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt"
inherit autotools-brokensep systemd update-rc.d
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
EXTRA_OECONF = "\
libmonit_cv_setjmp_available=no \
libmonit_cv_vsnprintf_c99_conformant=no \
--with-ssl-lib-dir=${STAGING_LIBDIR} \
--with-ssl-incl-dir=${STAGING_INCDIR} \
"
SYSTEMD_SERVICE:${PN} = "monit.service"
SYSTEMD_AUTO_ENABLE = "enable"
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME:${PN} = "monit"
INITSCRIPT_PARAMS:${PN} = "defaults 89"
do_install:append() {
# Configuration file
install -Dm 0600 ${WORKDIR}/monitrc ${D}${sysconfdir}/monitrc
# SystemD
install -Dm 0644 ${S}/system/startup/monit.service.in ${D}${systemd_system_unitdir}/monit.service
sed -i -e 's,@prefix@,${exec_prefix},g' ${D}${systemd_unitdir}/system/monit.service
# SysV
install -Dm 0755 ${WORKDIR}/monit ${D}${sysconfdir}/init.d/monit
}