Changes of Revision 10
[-] | Changed | mod_security-ix.spec |
x 1
2 Summary: Security module for the Apache HTTP Server 3 Name: mod_security 4 Version: 2.5.13 5 -Release: 21 6 +Release: 22 7 License: GPLv2 8 URL: http://www.modsecurity.org/ 9 Group: System Environment/Daemons 10 Source: http://www.modsecurity.org/download/modsecurity-apache_%{version}.tar.gz 11 Source1: 00_mod_security.conf 12 Source2: modsecurity_crs_10_config-default.conf 13 -Source3: 999_asl_custom_exclude.conf 14 +Source3: zzz_asl_custom_exclude.conf 15 Source4: 999_asl_custom_local_exclude.conf 16 Patch1: waf-label.patch 17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 18
19 install -D -m755 apache2/.libs/mod_security2.so %{buildroot}/%{_libdir}/httpd/modules/mod_security2.so 20 install -D -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/00_mod_security.conf 21 install -D -m644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/modsecurity_crs_10_config.conf 22 -install -D -m644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/httpd/modsec/999_asl_custom_exclude.conf 23 +install -D -m644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/httpd/modsec/zzz_asl_custom_exclude.conf 24 install -D -m644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/httpd/modsec/999_asl_custom_local_exclude.conf 25 install -D -m755 rules/util/modsec-clamscan.pl %{buildroot}%{_bindir}/modsec-clamscan.pl 26 27
28 %config %{_sysconfdir}/httpd/conf.d/00_mod_security.conf 29 %dir %{_sysconfdir}/httpd/modsecurity.d 30 %config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/modsecurity_crs_10_config.conf 31 -%config %{_sysconfdir}/httpd/modsec/999_asl_custom_exclude.conf 32 +%config %{_sysconfdir}/httpd/modsec/zzz_asl_custom_exclude.conf 33 %config(noreplace) %{_sysconfdir}/httpd/modsec/999_asl_custom_local_exclude.conf 34 35 %defattr(-,apache,apache) 36
37 %dir /var/asl/data/audit 38 39 %changelog 40 +* Mon Jun 27 2011 Carsten Schoene <cs@linux-administrator.com> - 2.5.13-22 41 +- rename 999_asl_custom_exclude.conf to zzz_asl_custom_exclude.conf 42 + 43 * Mon Jun 06 2011 Carsten Schoene <cs@linux-administrator.com> - 2.5.13-21 44 - added 999_asl_custom_local_exclude.conf with noreplace 45 - set 999_asl_custom_exclude.conf to replace 46 |
||
[+] | Deleted | 999_asl_custom_exclude.conf ^ |
@@ -1,6 +0,0 @@ -# do local changes in 999_asl_custom_local_exclude.conf this file will be overwritten -SecRuleRemoveById 350000 -SecRuleRemoveById 351000 -SecRuleRemoveById 350147 -SecRuleRemoveById 350148 -SecRuleRemoveById 340162 | ||
[+] | Added | zzz_asl_custom_exclude.conf ^ |
@@ -0,0 +1,6 @@ +# do local changes in 999_asl_custom_local_exclude.conf this file will be overwritten +SecRuleRemoveById 350000 +SecRuleRemoveById 351000 +SecRuleRemoveById 350147 +SecRuleRemoveById 350148 +SecRuleRemoveById 340162 |