diff --git a/mod_security.conf b/mod_security.conf index 07aef9d..394f1d3 100644 --- a/mod_security.conf +++ b/mod_security.conf @@ -1,11 +1,9 @@ # Example configuration file for the mod_security Apache module -LoadFile /usr/lib/libxml2.so.2 - -# For users of x86_64 / ppc64 et. al machines -# LoadFile /usr/lib64/libxml2.so.2 +LoadFile LIBDIR/libxml2.so.2 LoadModule security2_module modules/mod_security2.so +LoadModule unique_id_module modules/mod_unique_id.so # This is the ModSecurity Core Rules Set. diff --git a/mod_security.spec b/mod_security.spec index 9bb3432..e520e35 100644 --- a/mod_security.spec +++ b/mod_security.spec @@ -1,7 +1,7 @@ Summary: Security module for the Apache HTTP Server Name: mod_security Version: 2.1.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL URL: http://www.modsecurity.org/ Group: System Environment/Daemons @@ -23,6 +23,7 @@ as a powerful umbrella - shielding web applications from attacks. %build make -C apache2 CFLAGS="%{optflags}" top_dir="%{_libdir}/httpd" +perl -pi.orig -e 's|LIBDIR|%{_libdir}|;' %{SOURCE1} %install rm -rf %{buildroot} @@ -48,6 +49,10 @@ rm -rf %{buildroot} %changelog +* Sun Apr 1 2007 Michael Fleming 2.1.0-3 +- Automagically configure correct library path for libxml2 library. +- Add LoadModule for mod_unique_id as the logging wants this at runtime + * Mon Mar 26 2007 Michael Fleming 2.1.0-2 - Fix DSO permissions (bz#233733) diff --git a/sources b/sources index 4072767..b080293 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -3ca79f6bb96deb57e5035c246ce3c8aa mod_security.conf 2e919766f2878c4ee46334816004dd15 modsecurity-apache_2.1.0.tar.gz cbd1dbca89666a85fe9d703de26444c6 modsecurity_localrules.conf +ca0529cce7b56675e5f319c75cbb7398 mod_security.conf