From 131bc8aba2906dc20735d2b6551ac754fb14b422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Uhliarik?= Date: Wed, 7 Sep 2022 17:46:13 +0200 Subject: [PATCH] Fix application of early blocking patch --- mod_security_crs.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mod_security_crs.spec b/mod_security_crs.spec index 7d3b0e3..5b517dd 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 @@ -30,7 +30,8 @@ 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 @@ -47,6 +48,9 @@ done %{_datarootdir}/mod_modsecurity_crs %changelog +* Wed Sep 07 2022 Luboš Uhliarik - 3.3.0-6 +- Fix application of early blocking patch + * Wed Aug 31 2022 Luboš Uhliarik - 3.3.0-5 - Backport early blocking feature