From owner-svn-ports-head@freebsd.org Mon Apr 9 12:14:15 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 25DCFF9F482; Mon, 9 Apr 2018 12:14:15 +0000 (UTC) (envelope-from mfechner@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 C944871763; Mon, 9 Apr 2018 12:14:14 +0000 (UTC) (envelope-from mfechner@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 C3E421E8EC; Mon, 9 Apr 2018 12:14:14 +0000 (UTC) (envelope-from mfechner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w39CEEnW093664; Mon, 9 Apr 2018 12:14:14 GMT (envelope-from mfechner@FreeBSD.org) Received: (from mfechner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w39CEENs093662; Mon, 9 Apr 2018 12:14:14 GMT (envelope-from mfechner@FreeBSD.org) Message-Id: <201804091214.w39CEENs093662@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mfechner set sender to mfechner@FreeBSD.org using -f From: Matthias Fechner Date: Mon, 9 Apr 2018 12:14:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466849 - head/www/matomo X-SVN-Group: ports-head X-SVN-Commit-Author: mfechner X-SVN-Commit-Paths: head/www/matomo X-SVN-Commit-Revision: 466849 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.25 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: Mon, 09 Apr 2018 12:14:15 -0000 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 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