OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 10-Feb-2003 15:54:03
Branch: HEAD Handle: 2003021014540100
Modified files:
openpkg-src/apache apache.spec
Log:
add better suexec support
Summary:
Revision Changes Path
1.117 +11 -2 openpkg-src/apache/apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.116 -r1.117 apache.spec
--- openpkg-src/apache/apache.spec 10 Feb 2003 13:07:49 -0000 1.116
+++ openpkg-src/apache/apache.spec 10 Feb 2003 14:54:01 -0000 1.117
@@ -62,6 +62,11 @@
Version: %{V_apache}
Release: 20030210
+# package options (suexec related)
+%option with_suexec yes
+%option with_suexec_caller %{l_nusr}
+%option with_suexec_userdir public_html
+
# package options (additionally used Apache modules; can be enabled without
thinking)
%option with_mod_ssl no
%option with_mod_perl no
@@ -703,9 +708,13 @@
--libexecdir=%{l_prefix}/lib/apache \
--datadir=%{l_prefix}/share/apache \
--localstatedir=%{l_prefix}/var/apache \
+%if "%{with_suexec}" == "yes"
--enable-suexec \
- --suexec-caller=%{l_nusr} \
- --suexec-userdir=.www \
+ --suexec-caller=%{with_suexec_caller} \
+ --suexec-userdir=%{with_suexec_userdir} \
+%else
+ --disable-suexec \
+%endif
--enable-module=most \
--with-perl=%{l_prefix}/bin/perl \
%if "%{with_mod_ssl}" == "yes"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]