svn commit: r368095 - head/www/eventum

Antoine Brodin antoine at FreeBSD.org
Sat Sep 13 13:25:43 UTC 2014


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 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
 %%WWWDIR%%/CONTRIB
 %%WWWDIR%%/COPYING
 %%WWWDIR%%/ChangeLog
@@ -857,3 +859,5 @@
 @dirrm %%WWWDIR%%/css
 @dirrmtry %%WWWDIR%%/config
 @dirrmtry %%WWWDIR%%
+ at owner root
+ at group wheel


More information about the svn-ports-head mailing list