Use plist to set credentials instead of executing some post install install(1)

or chown(8)
This commit is contained in:
Baptiste Daroussin 2015-05-15 10:53:59 +00:00
parent c82902ddc8
commit 3c21c8e640
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386398
2 changed files with 8 additions and 8 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= piwik
PORTVERSION= 2.13.1
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://builds.piwik.org/

View file

@ -6,11 +6,11 @@
%%WWWDIR%%/bower.json
%%WWWDIR%%/composer.json
%%WWWDIR%%/composer.lock
%%WWWDIR%%/config/environment/dev.php
%%WWWDIR%%/config/environment/test.php
%%WWWDIR%%/config/global.ini.php
%%WWWDIR%%/config/global.php
%%WWWDIR%%/config/manifest.inc.php
@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config/environment/dev.php
@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config/environment/test.php
@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config/global.ini.php
@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config/global.php
@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config/manifest.inc.php
%%WWWDIR%%/console
%%WWWDIR%%/core/API/ApiRenderer.php
%%WWWDIR%%/core/API/CORSHandler.php
@ -6803,6 +6803,5 @@
%%WWWDIR%%/vendor/twig/twig/lib/Twig/TokenStream.php
%%WWWDIR%%/vendor/twig/twig/phpunit.xml.dist
@dir %%WWWDIR%%/vendor/symfony/console/Symfony/Component/Console/Resources
@dir %%WWWDIR%%/tmp
@exec install -m 755 -o %%WWWOWN%% -g %%WWWGRP%% -d %D/%%WWWDIR%%/tmp
@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%/config
@dir(%%WWWOWN%%,%%WWWGRP%%,755) %%WWWDIR%%/tmp
@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/config