|
|
@@ -76,6 +76,8 @@ Release: 20050907
|
|
|
%option with_suphp no
|
|
|
%option with_suphp_caller %{l_nusr}
|
|
|
%option with_suphp_phpcgi %{l_prefix}/cgi/php
|
|
|
+%option with_suphp_ugid_mode paranoid
|
|
|
+%option with_suphp_ugid_check yes
|
|
|
|
|
|
# package options (additionally used Apache modules; can be enabled without thinking)
|
|
|
%option with_mod_ssl no
|
|
|
@@ -1005,7 +1007,12 @@ AutoReqProv: no
|
|
|
--with-apxs="" \
|
|
|
--with-apache-user=%{with_suphp_caller} \
|
|
|
--with-php=%{with_suphp_phpcgi} \
|
|
|
- --with-logfile=%{l_prefix}/var/apache/log/suphp.log
|
|
|
+ --with-logfile=%{l_prefix}/var/apache/log/suphp.log \
|
|
|
+%if "%{with_suphp_ugid_check}" == "no"
|
|
|
+ --disable-checkuid \
|
|
|
+ --disable-checkgid \
|
|
|
+%endif
|
|
|
+ --with-setid-mode=%{with_suphp_ugid_mode}
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
) || exit $?
|
|
|
%endif
|