Add a patch to fix incompatible rules. Update to new git release
This commit is contained in:
parent
72ab0cae56
commit
419d08393c
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||||
|
1351
mod_security_crs-fix-incompatible-rules.patch
Normal file
1351
mod_security_crs-fix-incompatible-rules.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user