Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2018 15:44:13 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479104 - in head/www/piwigo: . files
Message-ID:  <201809061544.w86FiDFO049512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <tremere@cainites.net> (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 @@
+ <?php
+ /*
+ Plugin Name: Admin Tools
+-Version: 2.9.4
++Version: 2.9.4.1
+ Description: Do some admin task from the public pages
+ Plugin URI: http://piwigo.org/ext/extension_view.php?eid=720
+ Author: Piwigo team

Added: head/www/piwigo/files/patch-plugins_AdminTools_pem__metadata.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/piwigo/files/patch-plugins_AdminTools_pem__metadata.txt	Thu Sep  6 15:44:12 2018	(r479104)
@@ -0,0 +1,11 @@
+--- plugins/AdminTools/pem_metadata.txt.orig	2018-07-13 13:24:01 UTC
++++ plugins/AdminTools/pem_metadata.txt
+@@ -1,2 +1,4 @@
+-https://github.com/Piwigo/AdminTools.git
+-4161bc7f94819af01fea8631ad2b4258d00e5151 2017-12-11 18:11:36 +0100
+\ No newline at end of file
++File automatically created from SVN or Git repository.
++
++URL: https://github.com/Piwigo/AdminTools 
++Revision: d99a1378f9e05b087c9d590665e52ad5ccf2a41b (Mon Jul 16 17:38:42 2018 +0200)
+\ No newline at end of file



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809061544.w86FiDFO049512>