Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2018 12:14:14 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466849 - head/www/matomo
Message-ID:  <201804091214.w39CEENs093662@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+@dir(%%WWWOWN%%,%%WWWGRP%%,755) %%WWWDIR%%/tmp/cache/tracker
+@dir(%%WWWOWN%%,%%WWWGRP%%,755) %%WWWDIR%%/tmp/cache
 @dir(%%WWWOWN%%,%%WWWGRP%%,755) %%WWWDIR%%/tmp
 @dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config



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