Update to 2.2.6 and update spec file since upstream moved to Github.
This commit is contained in:
parent
62e63a3d55
commit
72ab0cae56
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/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
|
||||||
|
@ -1,11 +1,17 @@
|
|||||||
|
%global git_short 21197fc
|
||||||
|
|
||||||
Summary: ModSecurity Rules
|
Summary: ModSecurity Rules
|
||||||
Name: mod_security_crs
|
Name: mod_security_crs
|
||||||
Version: 2.2.5
|
Version: 2.2.6
|
||||||
Release: 5%{?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://sourceforge.net/projects/mod-security/files/modsecurity-crs/0-CURRENT/modsecurity-crs_%{version}.tar.gz
|
|
||||||
|
# Use the following command to generate the tarball:
|
||||||
|
# wget https://github.com/SpiderLabs/owasp-modsecurity-crs/tarball/GIT_SHORT
|
||||||
|
|
||||||
|
Source: SpiderLabs-owasp-modsecurity-crs-%{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)
|
||||||
@ -22,7 +28,7 @@ Requires: %name = %version-%release
|
|||||||
This package provides supplementary rules for mod_security.
|
This package provides supplementary rules for mod_security.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n modsecurity-crs_%{version}
|
%setup -q -n SpiderLabs-owasp-modsecurity-crs-%{git_short}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -54,7 +60,7 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGELOG INSTALL LICENSE README
|
%doc CHANGELOG INSTALL LICENSE README.md
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/activated_rules/*
|
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/activated_rules/*
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/modsecurity_crs_10_config.conf
|
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/modsecurity_crs_10_config.conf
|
||||||
%{_prefix}/lib/modsecurity.d/base_rules
|
%{_prefix}/lib/modsecurity.d/base_rules
|
||||||
@ -65,6 +71,10 @@ rm -rf %{buildroot}
|
|||||||
%{_prefix}/lib/modsecurity.d/slr_rules
|
%{_prefix}/lib/modsecurity.d/slr_rules
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 15 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.2.6-1
|
||||||
|
- Update to 2.2.6
|
||||||
|
- Update spec file since upstream moved to Github.
|
||||||
|
|
||||||
* Thu Sep 13 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.2.5-5
|
* Thu Sep 13 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.2.5-5
|
||||||
- Enable extra rules sub-package for EPEL.
|
- Enable extra rules sub-package for EPEL.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user