- Update to upstream 2.5.7
- Reinstate mlogc
This commit is contained in:
parent
e60a776d7d
commit
85fb8e7585
@ -1 +1 @@
|
|||||||
modsecurity-apache_2.5.6.tar.gz
|
modsecurity-apache_2.5.7.tar.gz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Summary: Security module for the Apache HTTP Server
|
Summary: Security module for the Apache HTTP Server
|
||||||
Name: mod_security
|
Name: mod_security
|
||||||
Version: 2.5.6
|
Version: 2.5.7
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://www.modsecurity.org/
|
URL: http://www.modsecurity.org/
|
||||||
@ -25,6 +25,7 @@ as a powerful umbrella - shielding web applications from attacks.
|
|||||||
cd apache2
|
cd apache2
|
||||||
%configure
|
%configure
|
||||||
make %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
|
make %{_smp_mflags} mlogc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -34,14 +35,18 @@ install -d %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/optional_rules/
|
|||||||
cp -r rules/*.conf %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/
|
cp -r rules/*.conf %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/
|
||||||
cp -r rules/optional_rules/*.conf %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/optional_rules/
|
cp -r rules/optional_rules/*.conf %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/optional_rules/
|
||||||
install -D -m644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/modsecurity_localrules.conf
|
install -D -m644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/modsecurity_localrules.conf
|
||||||
|
install -Dp tools/mlogc %{buildroot}/%{_bindir}/mlogc
|
||||||
|
install -D -m644 apache2/mlogc-src/mlogc-default.conf %{buildroot}/%{_sysconfdir}/mlogc.conf
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%doc CHANGES LICENSE README.* modsecurity* doc
|
%doc CHANGES LICENSE README.* modsecurity* doc MODSECURITY_LICENSING_EXCEPTION
|
||||||
%{_libdir}/httpd/modules/mod_security2.so
|
%{_libdir}/httpd/modules/mod_security2.so
|
||||||
|
%{_bindir}/mlogc
|
||||||
|
%config(noreplace) %{_sysconfdir}/mlogc.conf
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_security.conf
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_security.conf
|
||||||
%dir %{_sysconfdir}/httpd/modsecurity.d
|
%dir %{_sysconfdir}/httpd/modsecurity.d
|
||||||
%dir %{_sysconfdir}/httpd/modsecurity.d/optional_rules
|
%dir %{_sysconfdir}/httpd/modsecurity.d/optional_rules
|
||||||
@ -49,6 +54,10 @@ rm -rf %{buildroot}
|
|||||||
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/optional_rules/*.conf
|
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/optional_rules/*.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 29 2008 Michael Fleming <mfleming+rpm@enlartenment.com> 2.5.7-1
|
||||||
|
- Update to upstream 2.5.7
|
||||||
|
- Reinstate mlogc
|
||||||
|
|
||||||
* Sat Aug 2 2008 Michael Fleming <mfleming+rpm@enlartenment.com> 2.5.6-1
|
* Sat Aug 2 2008 Michael Fleming <mfleming+rpm@enlartenment.com> 2.5.6-1
|
||||||
- Update to upstream 2.5.6
|
- Update to upstream 2.5.6
|
||||||
- Remove references to mlogc, it no longer ships in the main tarball.
|
- Remove references to mlogc, it no longer ships in the main tarball.
|
||||||
|
Loading…
Reference in New Issue
Block a user