@@ -11,9 +11,9 @@ Distribution: Azure Linux
1111
1212Summary: Security module for the Apache HTTP Server
1313Name: mod_security
14- Version: 2.9.4
15- Release: 1 %{?dist }
16- License: ASL 2.0
14+ Version: 2.9.7
15+ Release: 8 %{?dist }
16+ License: Apache- 2.0
1717URL: http://www.modsecurity.org/
1818Source: https://github.com/SpiderLabs/ModSecurity/releases/download/v%{version }/modsecurity-%{version }.tar.gz
1919Source1: mod_security.conf
@@ -22,15 +22,17 @@ Source3: modsecurity_localrules.conf
2222Patch0: modsecurity-2.9.3-lua-54.patch
2323Patch1: modsecurity-2.9.3-apulibs.patch
2424Patch2: mod_security-2.9.3-remote-rules-timeout.patch
25+ Patch3: mod_security-2.9.7-send_error_bucket.patch
2526
26- Requires: httpd httpd-mmn = %{_httpd_mmn }
27+ Requires: httpd
28+ Provides: httpd-mmn = %{_httpd_mmn }
2729Requires(pre): httpd-filesystem
2830
2931BuildRequires: gcc, make, autoconf, automake, libtool
3032BuildRequires: httpd-devel
3133BuildRequires: perl-generators
34+ BuildRequires: pcre2-devel
3235BuildRequires: pkgconfig(libcurl)
33- BuildRequires: pkgconfig(libpcre)
3436BuildRequires: pkgconfig(libxml-2.0)
3537BuildRequires: pkgconfig(lua)
3638
@@ -66,6 +68,7 @@ This package contains the ModSecurity Audit Log Collector.
6668 --enable-pcre-match-limit-recursion=1000000 \
6769 --with-apxs=%{_httpd_apxs } \
6870 --with-yajl \
71+ --with-pcre2 \
6972 --disable-static
7073
7174# remove rpath
@@ -116,8 +119,8 @@ install -m0644 mlogc/mlogc-default.conf %{buildroot}%{_sysconfdir}/mlogc.conf
116119
117120
118121%files
119- %license LICENSE
120- %doc CHANGES README.* NOTICE
122+ %license LICENSE NOTICE
123+ %doc CHANGES README.*
121124%{_httpd_moddir }/mod_security2.so
122125%config(noreplace) %{_httpd_confdir }/* .conf
123126%if " %{_httpd_modconfdir}" ! = " %{_httpd_confdir}"
@@ -140,12 +143,70 @@ install -m0644 mlogc/mlogc-default.conf %{buildroot}%{_sysconfdir}/mlogc.conf
140143%endif
141144
142145%changelog
143- *
Fri Mar 04 2022 Pawel Winogrodzki <[email protected] > -
2.9.4-1 144- - Updating to version 2.9.4 using Fedora 36 spec (license: MIT) for guidance.
145- - License verified.
146+ *
Mon Jan 06 2025 Aninda Pradhan <[email protected] > -
2.9.7-8 147+ - Initial Azure Linux import from Fedora 41 (license: MIT)
148+ - License verified
146149
147- *
Fri Oct 15 2021 Pawel Winogrodzki <[email protected] > -
2.9.3-5 148- - Initial CBL-Mariner import from Fedora 32 (license: MIT).
150+ *
Thu Jul 18 2024 Fedora Release Engineering <[email protected] > -
2.9.7-7 151+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
152+
153+ *
Thu Jan 25 2024 Fedora Release Engineering <[email protected] > -
2.9.7-6 154+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
155+
156+ *
Sun Jan 21 2024 Fedora Release Engineering <[email protected] > -
2.9.7-5 157+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
158+
159+ *
Tue Jan 02 2024 Tomas Korbar <[email protected] > -
2.9.7-4 160+ - Clear original response code in send_error_bucket function
161+
162+ *
Thu Jul 20 2023 Fedora Release Engineering <[email protected] > -
2.9.7-3 163+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
164+
165+ *
Fri Jun 02 2023 Luboš Uhliarik <[email protected] > -
2.9.7-2 166+ - SPDX migration
167+
168+ *
Thu Apr 13 2023 Luboš Uhliarik <[email protected] > -
2.9.7-1 169+ - new version 2.9.7
170+ - use pcre2 instead of deprecated pcre (rhbz #2128330)
171+
172+ *
Thu Jan 19 2023 Fedora Release Engineering <[email protected] > -
2.9.6-2 173+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
174+
175+ *
Wed Sep 14 2022 Luboš Uhliarik <[email protected] > -
2.9.6-1 176+ - new version 2.9.6
177+
178+ *
Wed Aug 31 2022 Luboš Uhliarik <[email protected] > -
2.9.5-1 179+ - new version 2.9.5
180+
181+ *
Thu Jul 21 2022 Fedora Release Engineering <[email protected] > -
2.9.4-3 182+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
183+
184+ *
Thu Jan 20 2022 Fedora Release Engineering <[email protected] > -
2.9.4-2 185+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
186+
187+ *
Wed Aug 18 2021 Luboš Uhliarik <[email protected] > -
2.9.4-1 188+ - new version 2.9.4
189+
190+ *
Thu Jul 22 2021 Fedora Release Engineering <[email protected] > -
2.9.3-11 191+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
192+
193+ *
Tue Jan 26 2021 Fedora Release Engineering <[email protected] > -
2.9.3-10 194+ - Resolves: #1930664 - RFE: Add a feature that can set a mod_security/libcurl
195+ timeout for retrieving the rules
196+ - rename mlogc to mod_security-mlogc
197+
198+ *
Fri Jan 22 2021 Joe Orton <[email protected] > -
2.9.3-8 199+ - don't link against redundant apr-util dependent libraries
200+
201+ *
Sat Aug 08 2020 Othman Madjoudj <[email protected] > -
2.9.3-7 202+ - Add a patch to fix build with Lua 5.4 until we completely switch to mod_sec3 as default
203+
204+ *
Sat Aug 01 2020 Fedora Release Engineering <[email protected] > -
2.9.3-6 205+ - Second attempt - Rebuilt for
206+ https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
207+
208+ *
Tue Jul 28 2020 Fedora Release Engineering <[email protected] > -
2.9.3-5 209+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
149210
150211*
Wed Jan 29 2020 Fedora Release Engineering <[email protected] > -
2.9.3-4 151212- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0 commit comments