1
0

Accepting request 560465 from home:jengelh:branches:Apache:Modules

* (TM) ought not to be used according to openSUSE's license guidelines (when I last looked at it)
* simplify the find line

OBS-URL: https://build.opensuse.org/request/show/560465
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=77
This commit is contained in:
Kristyna Streitova 2018-01-04 12:36:56 +00:00 committed by Git OBS Bridge
parent 0cf4ea6d08
commit 11811bcb4e
2 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 29 00:09:38 UTC 2017 - jengelh@inai.de
- Trim advertisement and filler wording from descriptions.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 20 09:13:49 UTC 2017 - pgajdos@suse.com Wed Dec 20 09:13:49 UTC 2017 - pgajdos@suse.com

View File

@ -22,7 +22,7 @@
Name: apache2-mod_security2 Name: apache2-mod_security2
Version: 2.9.2 Version: 2.9.2
Release: 0 Release: 0
Summary: ModSecurity Open Source Web Application Firewall Summary: Web Application Firewall for apache httpd
License: Apache-2.0 License: Apache-2.0
Group: Productivity/Networking/Web/Servers Group: Productivity/Networking/Web/Servers
Url: http://www.modsecurity.org/ Url: http://www.modsecurity.org/
@ -55,15 +55,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif %endif
%description %description
ModSecurity(TM) is an open source intrusion detection and prevention ModSecurity is an intrusion detection and prevention
engine for web applications (or a web application firewall). Operating engine for web applications (or a web application firewall). Operating
as an Apache Web server module or standalone, the purpose of as an Apache Web server module or standalone, the purpose of
ModSecurity is to increase web application security, protecting web ModSecurity is to increase web application security, protecting web
applications from known and unknown attacks. applications from known and unknown attacks.
The modsecurity team also offer a commercial version of their excellent
ruleset. Please have a look at http://www.modsecurity.org/ for more details.
%prep %prep
%setup -q -n %{tarballname} %setup -q -n %{tarballname}
%setup -q -D -T -a 1 -n %{tarballname} %setup -q -D -T -a 1 -n %{tarballname}
@ -99,8 +96,7 @@ install -d -m 0755 %{buildroot}/%{usrsharedir}/tools
rm -f rules/.gitignore rules/LICENSE rm -f rules/.gitignore rules/LICENSE
cp -a rules/util/README %{buildroot}/%{usrsharedir}/tools/README-rules-updater.txt cp -a rules/util/README %{buildroot}/%{usrsharedir}/tools/README-rules-updater.txt
cp -a tools/rules-updater.pl tools/rules-updater-example.conf %{buildroot}/%{usrsharedir}/tools cp -a tools/rules-updater.pl tools/rules-updater-example.conf %{buildroot}/%{usrsharedir}/tools
find rules -type f -print0 | \ find rules -type f -exec chmod 644 {} +
xargs -0 chmod 644
cp -a rules %{buildroot}/%{usrsharedir} cp -a rules %{buildroot}/%{usrsharedir}
rm -rf %{buildroot}/%{usrsharedir}/rules/util rm -rf %{buildroot}/%{usrsharedir}/rules/util
rm -rf %{buildroot}/%{usrsharedir}/rules/lua rm -rf %{buildroot}/%{usrsharedir}/rules/lua