!10 [sync] PR-6: Upgrade mod_security to 2.9.5 for fix CVE-2021-42717
Merge pull request !10 from openeuler-sync-bot/sync-pr6-openEuler-20.03-LTS-SP1-to-openEuler-20.03-LTS-SP3
This commit is contained in:
commit
ee260ce51a
@ -6,8 +6,8 @@
|
|||||||
%global mod_audit_log_collector 0
|
%global mod_audit_log_collector 0
|
||||||
|
|
||||||
Name: mod_security
|
Name: mod_security
|
||||||
Version: 2.9.2
|
Version: 2.9.5
|
||||||
Release: 8
|
Release: 1
|
||||||
Summary: Security module for the Apache HTTP Server
|
Summary: Security module for the Apache HTTP Server
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://www.modsecurity.org/
|
URL: http://www.modsecurity.org/
|
||||||
@ -36,7 +36,7 @@ This package collects mod_security audit log.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n modsecurity-%{version}
|
%autosetup -p1 -n modsecurity-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-yajl --with-apxs=%{_httpd_apxs} --enable-pcre-match-limit-recursion=1000000 --enable-pcre-match-limit=1000000
|
%configure --with-yajl --with-apxs=%{_httpd_apxs} --enable-pcre-match-limit-recursion=1000000 --enable-pcre-match-limit=1000000
|
||||||
@ -72,7 +72,7 @@ install -m0755 mlogc/mlogc-batch-load.pl %{buildroot}%{_bindir}/mlogc-batch-load
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.TXT NOTICE LICENSE CHANGES
|
%doc README.* NOTICE LICENSE CHANGES
|
||||||
%{_httpd_moddir}/mod_security2.so
|
%{_httpd_moddir}/mod_security2.so
|
||||||
%config(noreplace) %{_httpd_confdir}/*.conf
|
%config(noreplace) %{_httpd_confdir}/*.conf
|
||||||
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
|
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
|
||||||
@ -95,6 +95,9 @@ install -m0755 mlogc/mlogc-batch-load.pl %{buildroot}%{_bindir}/mlogc-batch-load
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 14 2021 yaoxin <yaoxin30@huawei.com> - 2.9.5-1
|
||||||
|
- Upgrade mod_security to 2.9.5 for fix CVE-2021-42717
|
||||||
|
|
||||||
* Mon May 18 2020 wangchen <wangchen137@huawei.com> - 2.9.2-8
|
* Mon May 18 2020 wangchen <wangchen137@huawei.com> - 2.9.2-8
|
||||||
- rebuild for mod_security
|
- rebuild for mod_security
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user