diff --git a/net-mgmt/check_ups_health/Makefile b/net-mgmt/check_ups_health/Makefile index 630ed6d2775f..44763cb7f15e 100644 --- a/net-mgmt/check_ups_health/Makefile +++ b/net-mgmt/check_ups_health/Makefile @@ -1,34 +1,34 @@ PORTNAME= check_ups_health -PORTVERSION= 3.0.1.2 +PORTVERSION= 3.0.4.1 CATEGORIES= net-mgmt MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/ MAINTAINER= pi@FreeBSD.org COMMENT= Nagios plugin to check various UPS systems WWW= https://labs.consol.de/nagios/check_ups_health/ 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 diff --git a/net-mgmt/check_ups_health/distinfo b/net-mgmt/check_ups_health/distinfo index 882e2ead3a88..ff1a75db529d 100644 --- a/net-mgmt/check_ups_health/distinfo +++ b/net-mgmt/check_ups_health/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1624193058 -SHA256 (check_ups_health-3.0.1.2.tar.gz) = e86dee71279a1875349ca2be2b02182db2dccd36062bfee12ab95f72505d68e7 -SIZE (check_ups_health-3.0.1.2.tar.gz) = 289867 +TIMESTAMP = 1672487336 +SHA256 (check_ups_health-3.0.4.1.tar.gz) = 0d8e9020e3324d28cf88b8e1668ab419a35461e72f755f7eab1092a6e487fd8f +SIZE (check_ups_health-3.0.4.1.tar.gz) = 292354 diff --git a/net-mgmt/check_ups_health/files/patch-plugins-scripts_subst.in b/net-mgmt/check_ups_health/files/patch-plugins-scripts_subst.in new file mode 100644 index 000000000000..e2b59e321b02 --- /dev/null +++ b/net-mgmt/check_ups_health/files/patch-plugins-scripts_subst.in @@ -0,0 +1,11 @@ +--- plugins-scripts/subst.in.orig 2022-05-02 13:20:51 UTC ++++ plugins-scripts/subst.in +@@ -41,7 +41,7 @@ BEGIN { + + /^#! ?\/.*\/python/ {sub(/^#! ?\/.*\/python/,"#! @PYTHON@");} + /^#! ?\/.*\/perl/ {sub(/^#! ?\/.*\/perl/,"#! @PERL@");} +-/^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! @AWK@");} ++# /^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! @AWK@");} + /^#! ?\/.*\/sh/ {sub(/^#! ?\/.*\/sh/,"#! @SHELL@");} + + # add to libexecdir to INC for perl utils.pm