- Use ${WWWOWN} and ${WWWGRP} for apache's user. (instead of harcoded
www/www). It should help to keep consistancy in www-related ports.
This commit is contained in:
parent
2130669c32
commit
17deeb0cd6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119232
@ -224,7 +224,9 @@ pre-configure:
|
||||
|
||||
post-configure:
|
||||
@FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` ;\
|
||||
${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$$FTPUSERS," \
|
||||
${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$$FTPUSERS, ; \
|
||||
s,%%WWWOWN%%,${WWWOWN}, ; \
|
||||
s,%%WWWGRP%%,${WWWGRP}, " \
|
||||
${WRKSRC}/docs/conf/httpd-std.conf
|
||||
|
||||
pre-install:
|
||||
|
@ -15,8 +15,8 @@
|
||||
#
|
||||
-User nobody
|
||||
-Group #-1
|
||||
+User www
|
||||
+Group www
|
||||
+User %%WWWOWN%%
|
||||
+Group %%WWWGRP%%
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
|
@ -224,7 +224,9 @@ pre-configure:
|
||||
|
||||
post-configure:
|
||||
@FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` ;\
|
||||
${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$$FTPUSERS," \
|
||||
${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$$FTPUSERS, ; \
|
||||
s,%%WWWOWN%%,${WWWOWN}, ; \
|
||||
s,%%WWWGRP%%,${WWWGRP}, " \
|
||||
${WRKSRC}/docs/conf/httpd-std.conf
|
||||
|
||||
pre-install:
|
||||
|
@ -15,8 +15,8 @@
|
||||
#
|
||||
-User nobody
|
||||
-Group #-1
|
||||
+User www
|
||||
+Group www
|
||||
+User %%WWWOWN%%
|
||||
+Group %%WWWGRP%%
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user