Index: head/www/piwigo/Makefile =================================================================== --- head/www/piwigo/Makefile (revision 479103) +++ head/www/piwigo/Makefile (revision 479104) @@ -1,67 +1,68 @@ # Created by: Goran Lowkrantz # $FreeBSD$ PORTNAME= piwigo DISTVERSION= 2.9.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/ MAINTAINER= tremere@cainites.net COMMENT= PHP based Web Gallery LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/COPYING NO_BUILD= yes NO_ARCH= yes USES= cpe php:web zip USE_PHP= calendar ctype dom exif filter gd gettext hash iconv json \ mbstring mcrypt mysqli openssl pcre pdf pdo posix \ session simplexml sockets spl tokenizer xml xmlreader \ xmlwriter zlib WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-deinstall pkg-message SUB_LIST+= CP="${CP}" \ MKDIR="${MKDIR}" \ CHOWN="${CHOWN}" \ TOUCH="${TOUCH}" \ WWWOWN="${WWWOWN}" \ WWWGRP="${WWWGRP}" OPTIONS_DEFINE= IMAGICK X11 DOCS EXAMPLES OPTIONS_DEFAULT=IMAGICK IMAGICK_DESC= ${IMAGEMAGICK_DESC} PORTDOCS= README_ca.txt README_en.txt README_fr.txt PLIST_SUB+= WWWOWN="${WWWOWN}" \ WWWGRP="${WWWGRP}" \ CHOWN="${CHOWN}" .include .if ${PORT_OPTIONS:MIMAGICK} .if ${PORT_OPTIONS:MX11} RUN_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick .else RUN_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick-nox11 .endif .endif pre-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ pre-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ @cd ${WRKSRC}/tools/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ do-install: @cd ${WRKSRC}/doc/ && ${RM} ${PORTDOCS} @${RM} -r ${WRKSRC}/tools ${WRKSRC}/_data/dummy.txt @${INSTALL} -d ${STAGEDIR}${WWWDIR} @${TAR} -C ${WRKSRC} -cf - . | \ ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - .include Index: head/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php =================================================================== --- head/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php (nonexistent) +++ head/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php (revision 479104) @@ -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); + } Property changes on: head/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/piwigo/files/patch-plugins_AdminTools_main.inc.php =================================================================== --- head/www/piwigo/files/patch-plugins_AdminTools_main.inc.php (nonexistent) +++ head/www/piwigo/files/patch-plugins_AdminTools_main.inc.php (revision 479104) @@ -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 @@ +