- Allow staging as a regular user
- Bump portrevision as some files were not packaged with intended owner
This commit is contained in:
parent
c6de41a768
commit
deb12dd501
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370609
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= mySAR
|
||||
PORTVERSION= 2.1.4
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}
|
||||
@ -24,7 +24,7 @@ CONFIGURE_ARGS= --with-mysql-lib=${LOCALBASE}
|
||||
|
||||
MYSARPREFIX= mysar
|
||||
MYSARDIR?= ${PREFIX}/${MYSARPREFIX}
|
||||
PLIST_SUB= MYSAR=${MYSARPREFIX}
|
||||
PLIST_SUB= MYSAR=${MYSARPREFIX} WWWOWN="${WWWOWN}"
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MYSARDIR=${MYSARDIR}
|
||||
@ -58,7 +58,5 @@ do-install:
|
||||
${CP} -R `find ${WRKROOT} -mindepth 1 -maxdepth 1 ! -name mysar-binary-importer` ${STAGEDIR}${MYSARDIR}
|
||||
${INSTALL_PROGRAM} ${WRKROOT}/mysar-binary-importer/src/mysar ${STAGEDIR}${MYSARDIR}/bin
|
||||
${INSTALL_DATA} ${WRKROOT}/mysar-binary-importer/mysar.conf ${STAGEDIR}${MYSARDIR}/etc
|
||||
${CHOWN} -R ${WWWOWN} ${STAGEDIR}${MYSARDIR}/www-templates
|
||||
${CHOWN} -R ${WWWOWN} ${STAGEDIR}${MYSARDIR}/smarty-tmp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -86,6 +86,7 @@
|
||||
%%MYSAR%%/inc/smarty/plugins/shared.escape_special_chars.php
|
||||
%%MYSAR%%/inc/smarty/plugins/shared.make_timestamp.php
|
||||
%%MYSAR%%/log/.keep
|
||||
@owner %%WWWOWN%%
|
||||
%%MYSAR%%/www-templates/IPSitesSummary.tpl
|
||||
%%MYSAR%%/www-templates/IPSummary.tpl
|
||||
%%MYSAR%%/www-templates/administration.tpl
|
||||
@ -95,6 +96,7 @@
|
||||
%%MYSAR%%/www-templates/header.tpl
|
||||
%%MYSAR%%/www-templates/index.tpl
|
||||
%%MYSAR%%/www-templates/siteusers.tpl
|
||||
@owner
|
||||
%%MYSAR%%/www-templates.fr_FR/header.tpl
|
||||
%%MYSAR%%/www-templates.fr_FR/IPSummary.tpl
|
||||
%%MYSAR%%/www-templates.fr_FR/details.tpl
|
||||
@ -128,19 +130,5 @@
|
||||
%%MYSAR%%/www/images/up-arrow.gif
|
||||
%%MYSAR%%/www/index.php
|
||||
%%MYSAR%%/www/install/index.php
|
||||
@dirrmtry %%MYSAR%%/bin
|
||||
@dirrmtry %%MYSAR%%/etc
|
||||
@dirrmtry %%MYSAR%%/inc/smarty/internals
|
||||
@dirrmtry %%MYSAR%%/inc/smarty/plugins
|
||||
@dirrmtry %%MYSAR%%/inc/smarty
|
||||
@dirrmtry %%MYSAR%%/inc
|
||||
@dirrmtry %%MYSAR%%/smarty-tmp
|
||||
@dirrmtry %%MYSAR%%/log
|
||||
@dirrmtry %%MYSAR%%/www-templates.ru_RU
|
||||
@dirrmtry %%MYSAR%%/www-templates.fr_FR
|
||||
@dirrmtry %%MYSAR%%/www-templates.pt_BR
|
||||
@dirrmtry %%MYSAR%%/www-templates
|
||||
@dirrmtry %%MYSAR%%/www/images
|
||||
@dirrmtry %%MYSAR%%/www/install
|
||||
@dirrmtry %%MYSAR%%/www
|
||||
@dirrmtry %%MYSAR%%
|
||||
@dir(%%WWWOWN%%,,) %%MYSAR%%/smarty-tmp
|
||||
@dir(%%WWWOWN%%,,) %%MYSAR%%/www-templates
|
||||
|
Loading…
Reference in New Issue
Block a user