- Update to upstream 2.5.7

- Reinstate mlogc
This commit is contained in:
Michael Fleming 2008-12-29 12:39:54 +00:00
parent e60a776d7d
commit 85fb8e7585
3 changed files with 13 additions and 4 deletions

View File

@ -1 +1 @@
modsecurity-apache_2.5.6.tar.gz
modsecurity-apache_2.5.7.tar.gz

View File

@ -1,6 +1,6 @@
Summary: Security module for the Apache HTTP Server
Name: mod_security
Version: 2.5.6
Version: 2.5.7
Release: 1%{?dist}
License: GPLv2
URL: http://www.modsecurity.org/
@ -25,6 +25,7 @@ as a powerful umbrella - shielding web applications from attacks.
cd apache2
%configure
make %{_smp_mflags}
make %{_smp_mflags} mlogc
%install
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/optional_rules/*.conf %{buildroot}/%{_sysconfdir}/httpd/modsecurity.d/optional_rules/
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
rm -rf %{buildroot}
%files
%defattr (-,root,root)
%doc CHANGES LICENSE README.* modsecurity* doc
%doc CHANGES LICENSE README.* modsecurity* doc MODSECURITY_LICENSING_EXCEPTION
%{_libdir}/httpd/modules/mod_security2.so
%{_bindir}/mlogc
%config(noreplace) %{_sysconfdir}/mlogc.conf
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_security.conf
%dir %{_sysconfdir}/httpd/modsecurity.d
%dir %{_sysconfdir}/httpd/modsecurity.d/optional_rules
@ -49,6 +54,10 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/optional_rules/*.conf
%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
- Update to upstream 2.5.6
- Remove references to mlogc, it no longer ships in the main tarball.

View File

@ -1 +1 @@
eb9e80a232269378752aa5b81f3e99f8 modsecurity-apache_2.5.6.tar.gz
049509c4d76048ce02cfb558d6598761 modsecurity-apache_2.5.7.tar.gz