diff options
author | jlam <jlam> | 2000-12-11 00:03:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-12-11 00:03:07 +0000 |
commit | bc52c1179420a7884a0398c48822911c1a5b3ef1 (patch) | |
tree | 2671d5cb398e693bbab17873faeddb374170b5aa /www/apache | |
parent | 34a487816b5f36c4562775df8d71c5e2e76b3552 (diff) | |
download | pkgsrc-bc52c1179420a7884a0398c48822911c1a5b3ef1.tar.gz |
Introduce APACHE_USER: the user allowed to execute the suexec wrapper
if apache was build with APACHE_SUEXEC == YES.
Diffstat (limited to 'www/apache')
-rw-r--r-- | www/apache/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile index 56b905bdb3e..2d0aac03303 100644 --- a/www/apache/Makefile +++ b/www/apache/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2000/10/17 18:14:15 jlam Exp $ +# $NetBSD: Makefile,v 1.54 2000/12/11 00:03:08 jlam Exp $ # # The fourth number in the PKGNAME version indicates a NetBSD pkg revision # (to indicate changes in the shipped third party patches such as the mod_ssl @@ -44,10 +44,12 @@ CONFIGURE_ENV+= OPTIM="${OPTIM}" .include "../../mk/bsd.prefs.mk" .if defined(APACHE_SUEXEC) && ${APACHE_SUEXEC} == YES +APACHE_USER?= www SUEXEC_PATH= /bin:/usr/bin:${PREFIX}/bin:/usr/local/bin -CONFIGURE_ARGS+= --enable-suexec --suexec-caller=www \ +CONFIGURE_ARGS+= --enable-suexec --suexec-caller=${APACHE_USER} \ --suexec-safepath='${SUEXEC_PATH}' PLIST_SRC= ${PKGDIR}/PLIST.suexec +BUILD_DEFS+= APACHE_USER .endif .if !defined(NOPIC) |