- Update to 2.7.7

- Fix the spec file since upstream fixed the bugs reported.
This commit is contained in:
Athmane Madjoudj 2013-12-19 15:31:21 +01:00
parent f8df6bc93b
commit 7ef9d1bdfe
3 changed files with 11 additions and 10 deletions

2
.gitignore vendored
View File

@ -11,3 +11,5 @@ modsecurity-apache_2.5.12.tar.gz
/modsecurity-apache_2.7.5.tar.gz /modsecurity-apache_2.7.5.tar.gz
/modsecurity-apache_2.7.5.tar.gz.sha256 /modsecurity-apache_2.7.5.tar.gz.sha256
/v2.7.6.tar.gz /v2.7.6.tar.gz
/modsecurity-apache_2.7.7.tar.gz
/modsecurity-apache_2.7.7.tar.gz.sha256

View File

@ -9,18 +9,16 @@
Summary: Security module for the Apache HTTP Server Summary: Security module for the Apache HTTP Server
Name: mod_security Name: mod_security
Version: 2.7.6 Version: 2.7.7
Release: 2%{?dist} Release: 1%{?dist}
License: ASL 2.0 License: ASL 2.0
URL: http://www.modsecurity.org/ URL: http://www.modsecurity.org/
Group: System Environment/Daemons Group: System Environment/Daemons
Source: https://github.com/SpiderLabs/ModSecurity/archive/v%{version}.tar.gz Source: https://www.modsecurity.org/tarball/%{version}/modsecurity-apache_%{version}.tar.gz
Source1: mod_security.conf Source1: mod_security.conf
Source2: 10-mod_security.conf Source2: 10-mod_security.conf
Requires: httpd httpd-mmn = %{_httpd_mmn} Requires: httpd httpd-mmn = %{_httpd_mmn}
BuildRequires: httpd-devel libxml2-devel pcre-devel curl-devel lua-devel BuildRequires: httpd-devel libxml2-devel pcre-devel curl-devel lua-devel
# Autogen issue reporte to upstream: issue #621
BuildRequires: autoconf automake libtool
%description %description
ModSecurity is an open source intrusion detection and prevention engine ModSecurity is an open source intrusion detection and prevention engine
@ -38,12 +36,9 @@ This package contains the ModSecurity Audit Log Collector.
%endif %endif
%prep %prep
%setup -q -n ModSecurity-%{version} %setup -q -n modsecurity-apache_%{version}
%build %build
# Autogen issue reporte to upstream:
# https://github.com/SpiderLabs/ModSecurity/issues/621
./autogen.sh
%configure --enable-pcre-match-limit=1000000 \ %configure --enable-pcre-match-limit=1000000 \
--enable-pcre-match-limit-recursion=1000000 \ --enable-pcre-match-limit-recursion=1000000 \
--with-apxs=%{_httpd_apxs} --with-apxs=%{_httpd_apxs}
@ -112,6 +107,10 @@ rm -rf %{buildroot}
%endif %endif
%changelog %changelog
* Thu Dec 19 2013 2.7.7-1
- Update to 2.7.7
- Fix the spec file since upstream fixed the bugs reported.
* Tue Dec 17 2013 Athmane Madjoudj <athmane@fedoraproject.org> 2.7.6-2 * Tue Dec 17 2013 Athmane Madjoudj <athmane@fedoraproject.org> 2.7.6-2
- Add autotools deps - Add autotools deps

View File

@ -1 +1 @@
006dc14cceaffa9bb4bdd2883548add1 v2.7.6.tar.gz 89d8a186e87493b6c6d091940c5313ba modsecurity-apache_2.7.7.tar.gz.sha256