aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-10-13 22:03:06 +0800
committerclement <clement@FreeBSD.org>2004-10-13 22:03:06 +0800
commit4ed2a2bb858a59e565ca3153a209d60124e0f686 (patch)
tree8e203aa7cb2269621c2fe1cd0e2f571f3193efd6 /www/apache20
parent4e7baefa1709b15a7ee02b7659d5d07bc1e2b945 (diff)
downloadfreebsd-ports-gnome-4ed2a2bb858a59e565ca3153a209d60124e0f686.tar.gz
freebsd-ports-gnome-4ed2a2bb858a59e565ca3153a209d60124e0f686.tar.zst
freebsd-ports-gnome-4ed2a2bb858a59e565ca3153a209d60124e0f686.zip
- Use ${WWWOWN} and ${WWWGRP} for apache's user. (instead of harcoded
www/www). It should help to keep consistancy in www-related ports.
Diffstat (limited to 'www/apache20')
-rw-r--r--www/apache20/Makefile4
-rw-r--r--www/apache20/files/patch-docs:conf:httpd-std.conf.in4
2 files changed, 5 insertions, 3 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index ecaad59fbe21..4b21f69232c1 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -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:
diff --git a/www/apache20/files/patch-docs:conf:httpd-std.conf.in b/www/apache20/files/patch-docs:conf:httpd-std.conf.in
index 12128e97a5a1..16abb83030ba 100644
--- a/www/apache20/files/patch-docs:conf:httpd-std.conf.in
+++ b/www/apache20/files/patch-docs:conf:httpd-std.conf.in
@@ -15,8 +15,8 @@
#
-User nobody
-Group #-1
-+User www
-+Group www
++User %%WWWOWN%%
++Group %%WWWGRP%%
</IfModule>
</IfModule>