summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.obsolete.mk
diff options
context:
space:
mode:
authorjlam <jlam>2001-12-26 21:20:26 +0000
committerjlam <jlam>2001-12-26 21:20:26 +0000
commitff634e70dc6d749cfd18dae37de423ba259c0ae4 (patch)
treedb288e147ec49a0af8e9db2f388aa4298747274f /mk/bsd.pkg.obsolete.mk
parentfc2ed3e96f6091fa2190ff268503582b1075aa7d (diff)
downloadpkgsrc-ff634e70dc6d749cfd18dae37de423ba259c0ae4.tar.gz
(1) Create new variable "APACHE_SUEXEC_CONFIGURE_ARGS" that may contain
--suexec-* configure options that are passed directly to the Apache configure script. This may be used to tune the suEXEC configuration in more restrictive ways, e.g. --suexec-uidmin=1000. This solution is more open-ended than the fix proposed in pkg/14973. Also, we don't duplicate all of the options from the Apache configure script in pkgsrc bsd.pkg.defaults.mk. This closes pkg/14973 by Eric Schnoebelen <eric@cirr.com> (2) For namespace consistency, deprecate APACHE_USER in favor of APACHE_SUEXEC_USER. Move APACHE_USER into bsd.pkg.obsolete.mk. (3) Create the suEXEC user when the functionality is enabled in the server so that CGI scripts will work properly. This closes pkg/14903 by Wojciech Puchar <wojtek@3miasto.net>
Diffstat (limited to 'mk/bsd.pkg.obsolete.mk')
-rw-r--r--mk/bsd.pkg.obsolete.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.obsolete.mk b/mk/bsd.pkg.obsolete.mk
index 6fd8d71fc16..c9804eede51 100644
--- a/mk/bsd.pkg.obsolete.mk
+++ b/mk/bsd.pkg.obsolete.mk
@@ -1,9 +1,13 @@
-# $NetBSD: bsd.pkg.obsolete.mk,v 1.5 2001/12/18 20:22:59 jlam Exp $
+# $NetBSD: bsd.pkg.obsolete.mk,v 1.6 2001/12/26 21:20:26 jlam Exp $
#
# This file holds make(1) logic to allow obsolete or deprecated variables
# still to be used. These may eventually disappear over time as the contents
# are, by definition, obsolete and deprecated.
+.if defined(APACHE_USER)
+APACHE_SUEXEC_USER?= ${APACHE_USER}
+.endif
+
.if defined(APACHE_SYSCONFDIR)
PKG_SYSCONFDIR.ap-ssl?= ${APACHE_SYSCONFDIR}
PKG_SYSCONFDIR.apache?= ${APACHE_SYSCONFDIR}