svn commit: r565410 - in head/net-mgmt: . check_ups_health
Kurt Jaeger
pi at FreeBSD.org
Tue Feb 16 15:44:29 UTC 2021
Author: pi
Date: Tue Feb 16 15:44:27 2021
New Revision: 565410
URL: https://svnweb.freebsd.org/changeset/ports/565410
Log:
New port: net-mgmt/check_ups_health
Nagios plugin to check various UPS systems
Instead of one plugin per UPS manufacturer, this plugin should
cover many at once.
WWW: https://labs.consol.de/nagios/check_ups_health/
Added:
head/net-mgmt/check_ups_health/
head/net-mgmt/check_ups_health/Makefile (contents, props changed)
head/net-mgmt/check_ups_health/distinfo (contents, props changed)
head/net-mgmt/check_ups_health/pkg-descr (contents, props changed)
Modified:
head/net-mgmt/Makefile
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Tue Feb 16 15:37:31 2021 (r565409)
+++ head/net-mgmt/Makefile Tue Feb 16 15:44:27 2021 (r565410)
@@ -43,6 +43,7 @@
SUBDIR += check_mysql_health
SUBDIR += check_nwc_health
SUBDIR += check_ssl_cert
+ SUBDIR += check_ups_health
SUBDIR += chillispot
SUBDIR += choparp
SUBDIR += cidr
Added: head/net-mgmt/check_ups_health/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/check_ups_health/Makefile Tue Feb 16 15:44:27 2021 (r565410)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= check_ups_health
+PORTVERSION= 2.9.2.2
+CATEGORIES= net-mgmt
+MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/
+
+MAINTAINER= pi at 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>
Added: head/net-mgmt/check_ups_health/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/check_ups_health/distinfo Tue Feb 16 15:44:27 2021 (r565410)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613487970
+SHA256 (check_ups_health-2.9.2.2.tar.gz) = 1fee21f8e60a00dab8f7e21a1b5347096d4b2dcf14c12b5365893f5cb4257272
+SIZE (check_ups_health-2.9.2.2.tar.gz) = 283511
Added: head/net-mgmt/check_ups_health/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/check_ups_health/pkg-descr Tue Feb 16 15:44:27 2021 (r565410)
@@ -0,0 +1,6 @@
+Nagios plugin to check various UPS systems
+
+Instead of one plugin per UPS manufacturer, this plugin should
+cover many at once.
+
+WWW: https://labs.consol.de/nagios/check_ups_health/
More information about the svn-ports-all
mailing list