Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 13:25:43 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368095 - head/www/eventum
Message-ID:  <201409131325.s8DDPh3K018591@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Sep 13 13:25:42 2014
New Revision: 368095
URL: http://svnweb.freebsd.org/changeset/ports/368095
QAT: https://qat.redports.org/buildarchive/r368095/

Log:
  - Allow staging as a regular user
  - Bump portrevison as files were not packaged with intended owner

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

Modified: head/www/eventum/Makefile
==============================================================================
--- head/www/eventum/Makefile	Sat Sep 13 13:19:39 2014	(r368094)
+++ head/www/eventum/Makefile	Sat Sep 13 13:25:42 2014	(r368095)
@@ -3,6 +3,7 @@
 
 PORTNAME=	eventum
 PORTVERSION=	2.2
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_MYSQL}
 MASTER_SITE_SUBDIR=	eventum
@@ -13,6 +14,7 @@ COMMENT=	Eventum issue tracking system
 NO_BUILD=	YES
 USE_PHP=	pcre session mysql gd gettext
 WANT_PHP_WEB=	YES
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 
 pre-install:
 	@${MV} ${WRKSRC}/setup/config.php ${WRKSRC}/setup/config.php-dist
@@ -25,7 +27,6 @@ post-patch:
 do-install:
 	-${MKDIR} ${STAGEDIR}${WWWDIR}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 	@${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
 	@${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
 	@if [ ! -f ${STAGEDIR}${WWWDIR}/setup/config.php ]; then \

Modified: head/www/eventum/pkg-plist
==============================================================================
--- head/www/eventum/pkg-plist	Sat Sep 13 13:19:39 2014	(r368094)
+++ head/www/eventum/pkg-plist	Sat Sep 13 13:25:42 2014	(r368095)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%WWWDIR%%/CONTRIB
 %%WWWDIR%%/COPYING
 %%WWWDIR%%/ChangeLog
@@ -857,3 +859,5 @@
 @dirrm %%WWWDIR%%/css
 @dirrmtry %%WWWDIR%%/config
 @dirrmtry %%WWWDIR%%
+@owner root
+@group wheel



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