svn commit: r458039 - in head/net-mgmt/nagiosgraph: . files
Ryan Steinmetz
zi at FreeBSD.org
Thu Jan 4 17:29:30 UTC 2018
Author: zi
Date: Thu Jan 4 17:29:28 2018
New Revision: 458039
URL: https://svnweb.freebsd.org/changeset/ports/458039
Log:
- Resolve perl warnings
- Bump PORTREVISION
Added:
head/net-mgmt/nagiosgraph/files/patch-etc_ngshared.pm (contents, props changed)
Modified:
head/net-mgmt/nagiosgraph/Makefile
Modified: head/net-mgmt/nagiosgraph/Makefile
==============================================================================
--- head/net-mgmt/nagiosgraph/Makefile Thu Jan 4 17:09:27 2018 (r458038)
+++ head/net-mgmt/nagiosgraph/Makefile Thu Jan 4 17:29:28 2018 (r458039)
@@ -3,7 +3,7 @@
PORTNAME= nagiosgraph
PORTVERSION= 1.5.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= SF
Added: head/net-mgmt/nagiosgraph/files/patch-etc_ngshared.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/nagiosgraph/files/patch-etc_ngshared.pm Thu Jan 4 17:29:28 2018 (r458039)
@@ -0,0 +1,20 @@
+--- etc/ngshared.pm.orig 2018-01-04 17:27:27 UTC
++++ etc/ngshared.pm
+@@ -231,7 +231,7 @@ sub init {
+ my ($cgi, $params) = getparams();
+ getdebug($app, $params->{host}, $params->{service});
+
+- $errmsg = readi18nfile($cgi->param('language'));
++ $errmsg = readi18nfile($cgi->multi_param('language'));
+ if ($errmsg ne q()) {
+ debug(DBWRN, $errmsg);
+ }
+@@ -381,7 +381,7 @@ sub getparams {
+ my @rval = $cgi->param($ii);
+ $rval{$ii} = \@rval;
+ } elsif ($ii eq 'db' || $ii eq 'label') {
+- $rval{$ii} = [$cgi->param($ii),];
++ $rval{$ii} = [$cgi->multi_param($ii),];
+ } else {
+ $rval{$ii} = $cgi->param($ii);
+ }
More information about the svn-ports-all
mailing list