22bbdcb615
- 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
33 lines
874 B
Makefile
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>
|