svn commit: r367685 - head/www/ismail

Antoine Brodin antoine at FreeBSD.org
Mon Sep 8 19:33:00 UTC 2014


Author: antoine
Date: Mon Sep  8 19:32:59 2014
New Revision: 367685
URL: http://svnweb.freebsd.org/changeset/ports/367685
QAT: https://qat.redports.org/buildarchive/r367685/

Log:
  Allow staging as a regular user

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

Modified: head/www/ismail/Makefile
==============================================================================
--- head/www/ismail/Makefile	Mon Sep  8 19:28:30 2014	(r367684)
+++ head/www/ismail/Makefile	Mon Sep  8 19:32:59 2014	(r367685)
@@ -17,6 +17,7 @@ USES=		tar:bzip2
 USE_PHP=	imap
 WANT_PHP_WEB=	yes
 
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	DOCS
@@ -49,7 +50,6 @@ pre-install:
 do-install:
 	@${MKDIR} ${STAGEDIR}${WWWDIR}
 	${TAR} --exclude '*~' -C ${WRKSRC}/${PORTNAME} -cf - . | ${TAR} -C ${STAGEDIR}${WWWDIR} -xf -
-	@${CHOWN} -R www:www ${STAGEDIR}${WWWDIR}
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs.html ${STAGEDIR}${DOCSDIR}

Modified: head/www/ismail/pkg-plist
==============================================================================
--- head/www/ismail/pkg-plist	Mon Sep  8 19:28:30 2014	(r367684)
+++ head/www/ismail/pkg-plist	Mon Sep  8 19:32:59 2014	(r367685)
@@ -1,3 +1,5 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
 %%WWWDIR%%/addressbook.php
 %%WWWDIR%%/addressbookdecrypt.php
 %%WWWDIR%%/addressbookentry.php
@@ -138,7 +140,6 @@
 %%WWWDIR%%/viewmailheader.php
 %%WWWDIR%%/xtree/xtree-css.php
 %%WWWDIR%%/xtree/xtree.php
-%%PORTDOCS%%%%DOCSDIR%%/docs.html
 @dirrm %%WWWDIR%%/include/datastores
 @dirrm %%WWWDIR%%/include
 @dirrm %%WWWDIR%%/locale/cs_CZ/LC_MESSAGES
@@ -158,4 +159,7 @@
 @dirrm %%WWWDIR%%/themes
 @dirrm %%WWWDIR%%/xtree
 @dirrm %%WWWDIR%%
+ at owner root
+ at group wheel
+%%PORTDOCS%%%%DOCSDIR%%/docs.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%


More information about the svn-ports-head mailing list