Browse Source

with_mod_php_suhosin and with_mod_php_hardened options only make sense within the with_mod_php scope

master
Christoph Schug 19 years ago committed by Ralf S. Engelschall
parent
commit
2f1b6769a6
  1. 10
      apache/apache.spec

10
apache/apache.spec

@ -68,7 +68,7 @@ Class: BASE
Group: Web
License: ASF
Version: %{V_apache}
Release: 20070205
Release: 20070206
# package options (suexec related)
%option with_suexec yes
@ -183,6 +183,10 @@ Release: 20070205
%undefine with_gdbm_ndbm
%define with_gdbm_ndbm yes
%endif
%if "%{with_mod_php_suhosin}" == "yes" && "%{with_mod_php_hardened}" == "yes"
%undefine with_mod_php_hardened
%define with_mod_php_hardened no
%endif
%if "%{with_mod_php_xsl}" == "yes"
%undefine with_mod_php_dom
%undefine with_mod_php_xml
@ -194,10 +198,6 @@ Release: 20070205
%undefine with_mod_define
%define with_mod_define yes
%endif
%if "%{with_mod_php_suhosin}" == "yes" && "%{with_mod_php_hardened}" == "yes"
%undefine with_mod_php_hardened
%define with_mod_php_hardened no
%endif
# list of sources
Source0: http://www.apache.org/dist/httpd/apache_%{V_apache}.tar.gz

Loading…
Cancel
Save