|
@@ -51,7 +51,7 @@
|
|
|
%define V_mod_roaming 1.0.2
|
|
%define V_mod_roaming 1.0.2
|
|
|
%define V_mod_relocate 1.0
|
|
%define V_mod_relocate 1.0
|
|
|
%define V_mod_security 1.8.7
|
|
%define V_mod_security 1.8.7
|
|
|
-%define V_mod_evasive 1.10
|
|
|
|
|
|
|
+%define V_mod_evasive 1.10.1
|
|
|
%define V_suphp 0.6.0
|
|
%define V_suphp 0.6.0
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
@@ -65,7 +65,7 @@ Class: BASE
|
|
|
Group: Web
|
|
Group: Web
|
|
|
License: ASF
|
|
License: ASF
|
|
|
Version: %{V_apache}
|
|
Version: %{V_apache}
|
|
|
-Release: 20051006
|
|
|
|
|
|
|
+Release: 20051009
|
|
|
|
|
|
|
|
# package options (suexec related)
|
|
# package options (suexec related)
|
|
|
%option with_suexec yes
|
|
%option with_suexec yes
|
|
@@ -1026,8 +1026,8 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
# optionally prepare mod_evasive
|
|
# optionally prepare mod_evasive
|
|
|
%if "%{with_mod_evasive}" == "yes"
|
|
%if "%{with_mod_evasive}" == "yes"
|
|
|
- ( cd mod_dosevasive
|
|
|
|
|
- cp mod_dosevasive.c ../apache_%{V_apache}/src/modules/extra/
|
|
|
|
|
|
|
+ ( cd mod_evasive
|
|
|
|
|
+ cp mod_evasive.c ../apache_%{V_apache}/src/modules/extra/
|
|
|
) || exit $?
|
|
) || exit $?
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
@@ -1182,7 +1182,7 @@ AutoReqProv: no
|
|
|
--activate-module=src/modules/extra/mod_security.o \
|
|
--activate-module=src/modules/extra/mod_security.o \
|
|
|
%endif
|
|
%endif
|
|
|
%if "%{with_mod_evasive}" == "yes"
|
|
%if "%{with_mod_evasive}" == "yes"
|
|
|
- --activate-module=src/modules/extra/mod_dosevasive.o \
|
|
|
|
|
|
|
+ --activate-module=src/modules/extra/mod_evasive.o \
|
|
|
%endif
|
|
%endif
|
|
|
--enable-module=so
|
|
--enable-module=so
|
|
|
%{l_make} %{l_mflags -O} build-quiet
|
|
%{l_make} %{l_mflags -O} build-quiet
|