summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-12-11 00:03:07 +0000
committerjlam <jlam@pkgsrc.org>2000-12-11 00:03:07 +0000
commitb8de91e2612f81eaaac1a9071aa83e5788d0852e (patch)
tree2671d5cb398e693bbab17873faeddb374170b5aa /www
parent7e0d5e868bfad979bff63f840dc220efc76593c6 (diff)
downloadpkgsrc-b8de91e2612f81eaaac1a9071aa83e5788d0852e.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')
-rw-r--r--www/apache/Makefile6
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)