svn commit: r466849 - head/www/matomo
Matthias Fechner
mfechner at FreeBSD.org
Mon Apr 9 12:14:15 UTC 2018
Author: mfechner
Date: Mon Apr 9 12:14:14 2018
New Revision: 466849
URL: https://svnweb.freebsd.org/changeset/ports/466849
Log:
Added required directory %%WWWDIR%%/tmp/cache/tracker with correct permissions to pkg-plist.
Made the file %%WWWDIR%%/piwik.js writeable for user www, as systemChecks of matomo complains if that file is not writeable.
PR: 227364
Reviewed by: tz (mentor)
Approved by: tz (maintainer, mentor)
Differential Revision: https://reviews.freebsd.org/D15013
Modified:
head/www/matomo/Makefile
head/www/matomo/pkg-plist
Modified: head/www/matomo/Makefile
==============================================================================
--- head/www/matomo/Makefile Mon Apr 9 11:46:50 2018 (r466848)
+++ head/www/matomo/Makefile Mon Apr 9 12:14:14 2018 (r466849)
@@ -2,6 +2,7 @@
PORTNAME= matomo
DISTVERSION= 3.4.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://builds.matomo.org/
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
@@ -43,6 +44,7 @@ pre-install:
fi
do-install:
+ ${MKDIR} ${STAGEDIR}${WWWDIR}/tmp/cache/tracker
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>
Modified: head/www/matomo/pkg-plist
==============================================================================
--- head/www/matomo/pkg-plist Mon Apr 9 11:46:50 2018 (r466848)
+++ head/www/matomo/pkg-plist Mon Apr 9 12:14:14 2018 (r466849)
@@ -1401,7 +1401,7 @@
%%WWWDIR%%/misc/others/widget_example_lastvisits.html
%%WWWDIR%%/misc/proxy-hide-piwik-url/README.md
%%WWWDIR%%/misc/user/index.html
-%%WWWDIR%%/piwik.js
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/piwik.js
%%WWWDIR%%/piwik.php
%%WWWDIR%%/plugins/API/API.php
%%WWWDIR%%/plugins/API/Controller.php
@@ -7818,5 +7818,7 @@
@dir %%WWWDIR%%/plugins/ExampleTheme/screenshots
@dir %%WWWDIR%%/vendor/symfony/console/Symfony/Component/Console/Resources
@dir %%WWWDIR%%/vendor/szymach/c-pchart/app/cache
+ at dir(%%WWWOWN%%,%%WWWGRP%%,755) %%WWWDIR%%/tmp/cache/tracker
+ at dir(%%WWWOWN%%,%%WWWGRP%%,755) %%WWWDIR%%/tmp/cache
@dir(%%WWWOWN%%,%%WWWGRP%%,755) %%WWWDIR%%/tmp
@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config
More information about the svn-ports-all
mailing list