diff options
author | jlam <jlam> | 2001-05-08 17:28:08 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-08 17:28:08 +0000 |
commit | 3952f9581eb424e26a555c6ab019982b89498d2d (patch) | |
tree | 9a0eeedb90aaa2f45138568632c7493b16313ea9 /www/apache6 | |
parent | 6781ba22ff18aa96a4d2f7b3ba3d454c47362895 (diff) | |
download | pkgsrc-3952f9581eb424e26a555c6ab019982b89498d2d.tar.gz |
Allow changing document root for suexec through ${APACHE_SUEXEC_DOCROOT}.
Closes pkg/12852 by Eric Schnoebelen <eric@milo.cirr.com>.
Diffstat (limited to 'www/apache6')
-rw-r--r-- | www/apache6/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/apache6/Makefile b/www/apache6/Makefile index c5514a8a02b..67d2a80dabe 100644 --- a/www/apache6/Makefile +++ b/www/apache6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2001/04/29 21:21:13 jlam Exp $ +# $NetBSD: Makefile,v 1.30 2001/05/08 17:28:09 jlam Exp $ # # This package does not compile in mod_ssl support hooks, as it conflicts # with IPv6-enable patch. @@ -51,12 +51,14 @@ BUILD_DEFS+= APACHE_SYSCONFDIR .if defined(APACHE_SUEXEC) && ${APACHE_SUEXEC} == YES APACHE_USER?= www +APACHE_SUEXEC_DOCROOT?= ${LOCALBASE}/share/httpd/htdocs SUEXEC_PATH= /bin:/usr/bin:${PREFIX}/bin:/usr/local/bin CONFIGURE_ARGS+= --enable-suexec \ --suexec-caller=${APACHE_USER} \ - --suexec-safepath='${SUEXEC_PATH}' + --suexec-safepath='${SUEXEC_PATH}' \ + --suexec-docroot=${APACHE_SUEXEC_DOCROOT} PLIST_SRC= ${PKGDIR}/PLIST.suexec -BUILD_DEFS+= APACHE_USER +BUILD_DEFS+= APACHE_USER APACHE_SUEXEC_DOCROOT .endif .if !defined(NOPIC) |