From owner-svn-ports-all@freebsd.org Thu Jan 4 17:29:30 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48D0CEA79E1; Thu, 4 Jan 2018 17:29:30 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11D3274FEA; Thu, 4 Jan 2018 17:29:29 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w04HTTBw080548; Thu, 4 Jan 2018 17:29:29 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w04HTTqK080546; Thu, 4 Jan 2018 17:29:29 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201801041729.w04HTTqK080546@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Thu, 4 Jan 2018 17:29:28 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/net-mgmt/nagiosgraph: . files X-SVN-Commit-Revision: 458039 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 17:29:30 -0000 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); + }