Allow staging as a regular user
This commit is contained in:
parent
b6248e9dde
commit
3d00141e41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367685
@ -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}
|
||||
|
@ -1,3 +1,5 @@
|
||||
@owner %%WWWOWN%%
|
||||
@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%%
|
||||
@owner root
|
||||
@group wheel
|
||||
%%PORTDOCS%%%%DOCSDIR%%/docs.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user