- Rename USER and GROUP variables to PHPUA_USER and PHPUA_GROUP to avoid
collision with environment variables - Use WWWOWN and WWWGRP as default values for PHPUA_USER and PHPUA_GROUP Approved by: portmgr (clement)
This commit is contained in:
parent
7cf1aaaec5
commit
524abdd69a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140832
14 changed files with 34 additions and 34 deletions
|
@ -18,8 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine
|
|||
|
||||
# Some variables you can change
|
||||
PHPUA?= www/data/phpua
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
PHPUA_USER?= ${WWWOWN}
|
||||
PHPUA_GROUP?= ${WWWGRP}
|
||||
|
||||
# Static Variables
|
||||
PKGOPTS= ${FILESDIR}/pkg-opts
|
||||
|
@ -43,7 +43,7 @@ pre-everything::
|
|||
do-install:
|
||||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${ECHO_MSG} ""
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
> PHPUA [www/data/phpua]
|
||||
The DocumentRoot for your webserver under ${PREFIX}
|
||||
|
||||
> USER [www]
|
||||
> PHPUA_USER [www]
|
||||
The user ID under which your webserver runs
|
||||
|
||||
> GROUP [www]
|
||||
> PHPUA_GROUP [www]
|
||||
The group ID under which your webserver runs
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine
|
|||
|
||||
# Some variables you can change
|
||||
PHPUA?= www/data/phpua
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
PHPUA_USER?= ${WWWOWN}
|
||||
PHPUA_GROUP?= ${WWWGRP}
|
||||
|
||||
# Static Variables
|
||||
PKGOPTS= ${FILESDIR}/pkg-opts
|
||||
|
@ -44,7 +44,7 @@ do-install:
|
|||
@ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${ECHO_MSG} ""
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
> PHPUA [www/data/phpua]
|
||||
The DocumentRoot for your webserver under ${PREFIX}
|
||||
|
||||
> USER [www]
|
||||
> PHPUA_USER [www]
|
||||
The user ID under which your webserver runs
|
||||
|
||||
> GROUP [www]
|
||||
> PHPUA_GROUP [www]
|
||||
The group ID under which your webserver runs
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@ PLIST_SUB+= PHPUADIR=${PHPUADIR}
|
|||
|
||||
# Dynamic custom variables
|
||||
WWWDOC?= www/data
|
||||
PHPUA_USER?= www
|
||||
PHPUA_GROUP?= www
|
||||
PHPUA_USER?= ${WWWOWN}
|
||||
PHPUA_GROUP?= ${WWWGRP}
|
||||
APPNAME?= phpua
|
||||
|
||||
# Static Variables
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
> WWWDOC [www/data]
|
||||
The DocumentRoot for your webserver under ${PREFIX}
|
||||
|
||||
> USER [www]
|
||||
> PHPUA_USER [www]
|
||||
The user ID under which your webserver runs
|
||||
|
||||
> GROUP [www]
|
||||
> PHPUA_GROUP [www]
|
||||
The group ID under which your webserver runs
|
||||
|
||||
> APPNAME [phpua]
|
||||
|
|
|
@ -18,8 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine
|
|||
|
||||
# Some variables you can change
|
||||
PHPUA?= www/data/phpua
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
PHPUA_USER?= ${WWWOWN}
|
||||
PHPUA_GROUP?= ${WWWGRP}
|
||||
|
||||
# Static Variables
|
||||
PKGOPTS= ${FILESDIR}/pkg-opts
|
||||
|
@ -44,7 +44,7 @@ do-install:
|
|||
@ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${ECHO_MSG} ""
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
> PHPUA [www/data/phpua]
|
||||
The DocumentRoot for your webserver under ${PREFIX}
|
||||
|
||||
> USER [www]
|
||||
> PHPUA_USER [www]
|
||||
The user ID under which your webserver runs
|
||||
|
||||
> GROUP [www]
|
||||
> PHPUA_GROUP [www]
|
||||
The group ID under which your webserver runs
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine
|
|||
|
||||
# Some variables you can change
|
||||
PHPUA?= www/data/phpua
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
PHPUA_USER?= ${WWWOWN}
|
||||
PHPUA_GROUP?= ${WWWGRP}
|
||||
|
||||
# Static Variables
|
||||
PKGOPTS= ${FILESDIR}/pkg-opts
|
||||
|
@ -44,7 +44,7 @@ do-install:
|
|||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUA}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${ECHO_MSG} ""
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
> PHPUA [www/data/phpua]
|
||||
The DocumentRoot for your webserver under ${PREFIX}
|
||||
|
||||
> USER [www]
|
||||
> PHPUA_USER [www]
|
||||
The user ID under which your webserver runs
|
||||
|
||||
> GROUP [www]
|
||||
> PHPUA_GROUP [www]
|
||||
The group ID under which your webserver runs
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine
|
|||
|
||||
# Some variables you can change
|
||||
PHPUA?= www/data/phpua
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
PHPUA_USER?= ${WWWOWN}
|
||||
PHPUA_GROUP?= ${WWWGRP}
|
||||
|
||||
# Static Variables
|
||||
PKGOPTS= ${FILESDIR}/pkg-opts
|
||||
|
@ -44,7 +44,7 @@ do-install:
|
|||
@ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${ECHO_MSG} ""
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
> PHPUA [www/data/phpua]
|
||||
The DocumentRoot for your webserver under ${PREFIX}
|
||||
|
||||
> USER [www]
|
||||
> PHPUA_USER [www]
|
||||
The user ID under which your webserver runs
|
||||
|
||||
> GROUP [www]
|
||||
> PHPUA_GROUP [www]
|
||||
The group ID under which your webserver runs
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ RUN_DEPENDS= ${PKG_DBDIR}/phpua-engine-1.1.0b:${PORTSDIR}/games/phpua-engine
|
|||
|
||||
# Some variables you can change
|
||||
PHPUA?= www/data/phpua
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
PHPUA_USER?= ${WWWOWN}
|
||||
PHPUA_GROUP?= ${WWWGRP}
|
||||
|
||||
# Static Variables
|
||||
PKGOPTS= ${FILESDIR}/pkg-opts
|
||||
|
@ -43,7 +43,7 @@ pre-everything::
|
|||
do-install:
|
||||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${ECHO_MSG} ""
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
> PHPUA [www/data/phpua]
|
||||
The DocumentRoot for your webserver under ${PREFIX}
|
||||
|
||||
> USER [www]
|
||||
> PHPUA_USER [www]
|
||||
The user ID under which your webserver runs
|
||||
|
||||
> GROUP [www]
|
||||
> PHPUA_GROUP [www]
|
||||
The group ID under which your webserver runs
|
||||
|
||||
|
|
Loading…
Reference in a new issue