From owner-svn-ports-head@freebsd.org Thu Sep 6 15:44:14 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41106FFEFCA; Thu, 6 Sep 2018 15:44:14 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB4397D00E; Thu, 6 Sep 2018 15:44:13 +0000 (UTC) (envelope-from swills@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E62F2715E; Thu, 6 Sep 2018 15:44:13 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w86FiDZ9049516; Thu, 6 Sep 2018 15:44:13 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w86FiDFO049512; Thu, 6 Sep 2018 15:44:13 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201809061544.w86FiDFO049512@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Thu, 6 Sep 2018 15:44:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479104 - in head/www/piwigo: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/www/piwigo: . files X-SVN-Commit-Revision: 479104 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 15:44:14 -0000 Author: swills Date: Thu Sep 6 15:44:12 2018 New Revision: 479104 URL: https://svnweb.freebsd.org/changeset/ports/479104 Log: www/piwigo: update AdminTools plugin to 2.9.4.1 PR: 231196 Submitted by: Ralf van der Enden (maintainer) Added: head/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php (contents, props changed) head/www/piwigo/files/patch-plugins_AdminTools_main.inc.php (contents, props changed) head/www/piwigo/files/patch-plugins_AdminTools_pem__metadata.txt (contents, props changed) Modified: head/www/piwigo/Makefile (contents, props changed) Modified: head/www/piwigo/Makefile ============================================================================== --- head/www/piwigo/Makefile Thu Sep 6 15:32:53 2018 (r479103) +++ head/www/piwigo/Makefile Thu Sep 6 15:44:12 2018 (r479104) @@ -3,6 +3,7 @@ PORTNAME= piwigo DISTVERSION= 2.9.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/ Added: head/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php Thu Sep 6 15:44:12 2018 (r479104) @@ -0,0 +1,20 @@ +--- plugins/AdminTools/include/MultiView.class.php.orig 2018-07-13 13:24:00 UTC ++++ plugins/AdminTools/include/MultiView.class.php +@@ -38,7 +38,7 @@ class MultiView + ); + + $this->data_url_params = array_keys($this->data); +- $this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params); ++ $this->data_url_params = array_map(function($d) { return 'ato_'.$d; }, $this->data_url_params); + } + + /** +@@ -226,7 +226,7 @@ class MultiView + } + if ($this->data['no_history']) + { +- $ret_false = create_function('', 'return false;'); ++ $ret_false = function() {return false;}; + add_event_handler('pwg_log_allowed', $ret_false); + add_event_handler('pwg_log_update_last_visit', $ret_false); + } Added: head/www/piwigo/files/patch-plugins_AdminTools_main.inc.php ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/piwigo/files/patch-plugins_AdminTools_main.inc.php Thu Sep 6 15:44:12 2018 (r479104) @@ -0,0 +1,11 @@ +--- plugins/AdminTools/main.inc.php.orig 2018-07-13 13:24:01 UTC ++++ plugins/AdminTools/main.inc.php +@@ -1,7 +1,7 @@ +