Date: Thu, 4 Jan 2018 17:29:28 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458039 - in head/net-mgmt/nagiosgraph: . files Message-ID: <201801041729.w04HTTqK080546@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801041729.w04HTTqK080546>