Browse Source

update rules

master
parent
commit
c9a6bf4d2e
  1. 8
      apache-security/apache-security.spec

8
apache-security/apache-security.spec

@ -24,7 +24,7 @@
# package version
%define V_major 2.8
%define V_minor 0
%define V_rules 3.0.0
%define V_rules 3.0.1
# package information
Name: apache-security
@ -37,11 +37,11 @@ Class: EVAL
Group: Web
License: Open Source
Version: %{V_major}.%{V_minor}
Release: 20160306
Release: 20170510
# list of sources
Source0: https://github.com/SpiderLabs/ModSecurity/releases/download/v%{V_major}.%{V_minor}/modsecurity-%{V_major}.%{V_minor}.tar.gz
Source1: https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/%{V_rules}.tar.gz
Source1: https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v%{V_rules}.tar.gz
Source2: apache-security.conf
Patch0: apache-security.patch
@ -105,7 +105,7 @@ PreReq: apache, apr, libxml, pcre, curl, lua51
# install core rule sets
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/etc/apache-security
cp -rp rules/[a-z]*rules* \
cp -rp rules/rules/* \
$RPM_BUILD_ROOT%{l_prefix}/etc/apache-security/
# create directories for logs and data storages

Loading…
Cancel
Save