freebsd-ports/net-mgmt/check_ups_health/Makefile
Kurt Jaeger 22bbdcb615 net-mgmt/check_ups_health: update 2.9.2.7 -> 3.0.1.2
- increase the recovery time after a selftest (APC Powermib) to 7 hours
- bugfixes in UPS and Liebert-GP (avoid undefined errors)
- fix the class inheritance, lower thresholds for powernet 4 hours
  after a selftest
- add EPPC-MIB
2021-06-20 14:59:47 +02:00

33 lines
874 B
Makefile

PORTNAME= check_ups_health
PORTVERSION= 3.0.1.2
CATEGORIES= net-mgmt
MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/
MAINTAINER= pi@FreeBSD.org
COMMENT= Nagios plugin to check various UPS systems
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5
NO_ARCH= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \
--with-nagios-user=${NAGIOSUSER} \
--with-nagios-group=${NAGIOSGROUP} \
--with-mymodules-dir=${PREFIX}/libexec/nagios \
--with-mymodules-dyn-dir=${PREFIX}/libexec/nagios \
--libexecdir=${PREFIX}/libexec/nagios \
--with-perl=${PERL}
NAGIOSUSER?= nagios
NAGIOSGROUP?= nagios
NAGIOSDIR?= /var/spool/nagios
PLIST_FILES= libexec/nagios/check_ups_health
post-patch:
${REINPLACE_CMD} -e "s| /bin/sed| ${SED}|" -e "s| /bin/grep| ${GREP}|" \
${WRKSRC}/plugins-scripts/Makefile.in
.include <bsd.port.mk>