diff options
author | clement <clement@FreeBSD.org> | 2004-10-13 22:03:06 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-10-13 22:03:06 +0800 |
commit | 4ed2a2bb858a59e565ca3153a209d60124e0f686 (patch) | |
tree | 8e203aa7cb2269621c2fe1cd0e2f571f3193efd6 /www/apache2 | |
parent | 4e7baefa1709b15a7ee02b7659d5d07bc1e2b945 (diff) | |
download | freebsd-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/apache2')
-rw-r--r-- | www/apache2/Makefile | 4 | ||||
-rw-r--r-- | www/apache2/files/patch-docs:conf:httpd-std.conf.in | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index ecaad59fbe21..4b21f69232c1 100644 --- a/www/apache2/Makefile +++ b/www/apache2/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/apache2/files/patch-docs:conf:httpd-std.conf.in b/www/apache2/files/patch-docs:conf:httpd-std.conf.in index 12128e97a5a1..16abb83030ba 100644 --- a/www/apache2/files/patch-docs:conf:httpd-std.conf.in +++ b/www/apache2/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> |