Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2015 10:54:00 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386398 - head/www/piwik
Message-ID:  <201505151054.t4FAs03L066940@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri May 15 10:53:59 2015
New Revision: 386398
URL: https://svnweb.freebsd.org/changeset/ports/386398

Log:
  Use plist to set credentials instead of executing some post install install(1)
  or chown(8)

Modified:
  head/www/piwik/Makefile
  head/www/piwik/pkg-plist

Modified: head/www/piwik/Makefile
==============================================================================
--- head/www/piwik/Makefile	Fri May 15 10:45:25 2015	(r386397)
+++ head/www/piwik/Makefile	Fri May 15 10:53:59 2015	(r386398)
@@ -3,6 +3,7 @@
 
 PORTNAME=	piwik
 PORTVERSION=	2.13.1
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://builds.piwik.org/
 

Modified: head/www/piwik/pkg-plist
==============================================================================
--- head/www/piwik/pkg-plist	Fri May 15 10:45:25 2015	(r386397)
+++ head/www/piwik/pkg-plist	Fri May 15 10:53:59 2015	(r386398)
@@ -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



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