From 888fdb6dfcb527321b78534191bf60762934a03d Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Wed, 7 Sep 2022 14:33:11 +0200 Subject: [PATCH] Fix application of early blocking patch Related: rhbz#2115313 --- mod_security_crs.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mod_security_crs.spec b/mod_security_crs.spec index d2666c4..277da37 100644 --- a/mod_security_crs.spec +++ b/mod_security_crs.spec @@ -1,7 +1,7 @@ Summary: ModSecurity Rules Name: mod_security_crs Version: 3.3.0 -Release: 5%{?dist} +Release: 6%{?dist} License: ASL 2.0 URL: https://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project Source: https://github.com/coreruleset/coreruleset/archive/refs/tags/v%{version}.tar.gz @@ -29,7 +29,9 @@ install -d %{buildroot}%{_datarootdir}/mod_modsecurity_crs/rules mv rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/activated_rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf mv rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf.example %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/activated_rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf -install -m0644 rules/* %{buildroot}%{_datarootdir}/mod_modsecurity_crs/rules/ +install -m0644 rules/*.conf %{buildroot}%{_datarootdir}/mod_modsecurity_crs/rules/ +install -m0644 rules/*.data %{buildroot}%{_datarootdir}/mod_modsecurity_crs/rules/ + mv crs-setup.conf.example %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/crs-setup.conf # activate base_rules @@ -46,6 +48,10 @@ done %{_datarootdir}/mod_modsecurity_crs %changelog +* Wed Sep 07 2022 Tomas Korbar - 3.3.0-6 +- Fix application of early blocking patch +- Related: rhbz#2115313 + * Fri Aug 05 2022 Tomas Korbar - 3.3.0-5 - Fix patch for early blocking - Related: rhbz#2115313