Add a patch to fix incompatible rules. Update to new git release

This commit is contained in:
Athmane Madjoudj 2012-10-01 21:00:53 +01:00
parent 72ab0cae56
commit 419d08393c
4 changed files with 1362 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/modsecurity-crs_2.2.4.tar.gz /modsecurity-crs_2.2.4.tar.gz
/modsecurity-crs_2.2.5.tar.gz /modsecurity-crs_2.2.5.tar.gz
/SpiderLabs-owasp-modsecurity-crs-21197fc.tar.gz /SpiderLabs-owasp-modsecurity-crs-21197fc.tar.gz
/SpiderLabs-owasp-modsecurity-crs-v2.2.6-0-g3f85c76.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
%global git_short 21197fc %global git_short 3f85c76
Summary: ModSecurity Rules Summary: ModSecurity Rules
Name: mod_security_crs Name: mod_security_crs
Version: 2.2.6 Version: 2.2.6
Release: 1%{?dist} Release: 2%{?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
@ -11,10 +11,11 @@ Group: System Environment/Daemons
# Use the following command to generate the tarball: # Use the following command to generate the tarball:
# wget https://github.com/SpiderLabs/owasp-modsecurity-crs/tarball/GIT_SHORT # wget https://github.com/SpiderLabs/owasp-modsecurity-crs/tarball/GIT_SHORT
Source: SpiderLabs-owasp-modsecurity-crs-%{git_short}.tar.gz Source: SpiderLabs-owasp-modsecurity-crs-v%{version}-0-g%{git_short}.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: mod_security >= 2.6.5 Requires: mod_security >= 2.6.5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: %{name}-fix-incompatible-rules.patch
%description %description
This package provides the base rules for mod_security. This package provides the base rules for mod_security.
@ -29,6 +30,7 @@ This package provides supplementary rules for mod_security.
%prep %prep
%setup -q -n SpiderLabs-owasp-modsecurity-crs-%{git_short} %setup -q -n SpiderLabs-owasp-modsecurity-crs-%{git_short}
%patch0 -p1
%build %build
@ -71,6 +73,10 @@ rm -rf %{buildroot}
%{_prefix}/lib/modsecurity.d/slr_rules %{_prefix}/lib/modsecurity.d/slr_rules
%changelog %changelog
* Mon Oct 01 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.2.6-2
- Add a patch to fix incompatible rules.
- Update to new git release
* Sat Sep 15 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.2.6-1 * Sat Sep 15 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.2.6-1
- Update to 2.2.6 - Update to 2.2.6
- Update spec file since upstream moved to Github. - Update spec file since upstream moved to Github.

View File

@ -1 +1 @@
1e002f0892319724a4f14266b1213ae0 SpiderLabs-owasp-modsecurity-crs-21197fc.tar.gz 99fa2a3ec391c56ac4a92b749b299f35 SpiderLabs-owasp-modsecurity-crs-v2.2.6-0-g3f85c76.tar.gz