From 498f4994f54f36b9cfd373bd7731c8361dffbe82 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Tue, 17 Dec 2013 22:11:20 +0100 Subject: [PATCH] Update to 2.7.6 Fix spec since upstream will only provide tarball via Github --- .gitignore | 1 + mod_security.spec | 15 +++++++++++---- sources | 3 +-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index af62c65..51b187e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ modsecurity-apache_2.5.12.tar.gz /modsecurity-apache_2.7.4.tar.gz /modsecurity-apache_2.7.5.tar.gz /modsecurity-apache_2.7.5.tar.gz.sha256 +/v2.7.6.tar.gz diff --git a/mod_security.spec b/mod_security.spec index cc5c1bf..58e902a 100644 --- a/mod_security.spec +++ b/mod_security.spec @@ -9,12 +9,12 @@ Summary: Security module for the Apache HTTP Server Name: mod_security -Version: 2.7.5 -Release: 2%{?dist} +Version: 2.7.6 +Release: 1%{?dist} License: ASL 2.0 URL: http://www.modsecurity.org/ Group: System Environment/Daemons -Source: http://www.modsecurity.org/tarball/%{version}/modsecurity-apache_%{version}.tar.gz +Source: https://github.com/SpiderLabs/ModSecurity/archive/v%{version}.tar.gz Source1: mod_security.conf Source2: 10-mod_security.conf Requires: httpd httpd-mmn = %{_httpd_mmn} @@ -36,9 +36,12 @@ This package contains the ModSecurity Audit Log Collector. %endif %prep -%setup -q -n modsecurity-apache_%{version} +%setup -q -n ModSecurity-%{version} %build +# Autogen issue reporte to upstream: +# https://github.com/SpiderLabs/ModSecurity/issues/621 +./autogen.sh %configure --enable-pcre-match-limit=1000000 \ --enable-pcre-match-limit-recursion=1000000 \ --with-apxs=%{_httpd_apxs} @@ -107,6 +110,10 @@ rm -rf %{buildroot} %endif %changelog +* Tue Dec 17 2013 Athmane Madjoudj 2.7.6-1 +- Update to 2.7.6 +- Fix spec since upstream will only provide tarball via Github + * Sat Aug 03 2013 Petr Pisar - 2.7.5-2 - Perl 5.18 rebuild diff --git a/sources b/sources index 3de85e3..1eaba44 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -ef471f4e126c34bf4d214103402a24ee modsecurity-apache_2.7.5.tar.gz -ab6be1b61fd2e352b1e0746c692d340d modsecurity-apache_2.7.5.tar.gz.sha256 +006dc14cceaffa9bb4bdd2883548add1 v2.7.6.tar.gz