- Automagically configure correct library path for libxml2 library.
- Add LoadModule for mod_unique_id as the logging wants this at runtime
This commit is contained in:
parent
421ee46fb6
commit
e91c72149b
@ -1,11 +1,9 @@
|
|||||||
# Example configuration file for the mod_security Apache module
|
# Example configuration file for the mod_security Apache module
|
||||||
|
|
||||||
LoadFile /usr/lib/libxml2.so.2
|
LoadFile LIBDIR/libxml2.so.2
|
||||||
|
|
||||||
# For users of x86_64 / ppc64 et. al machines
|
|
||||||
# LoadFile /usr/lib64/libxml2.so.2
|
|
||||||
|
|
||||||
LoadModule security2_module modules/mod_security2.so
|
LoadModule security2_module modules/mod_security2.so
|
||||||
|
LoadModule unique_id_module modules/mod_unique_id.so
|
||||||
|
|
||||||
<IfModule mod_security2.c>
|
<IfModule mod_security2.c>
|
||||||
# This is the ModSecurity Core Rules Set.
|
# This is the ModSecurity Core Rules Set.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Security module for the Apache HTTP Server
|
Summary: Security module for the Apache HTTP Server
|
||||||
Name: mod_security
|
Name: mod_security
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.modsecurity.org/
|
URL: http://www.modsecurity.org/
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -23,6 +23,7 @@ as a powerful umbrella - shielding web applications from attacks.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make -C apache2 CFLAGS="%{optflags}" top_dir="%{_libdir}/httpd"
|
make -C apache2 CFLAGS="%{optflags}" top_dir="%{_libdir}/httpd"
|
||||||
|
perl -pi.orig -e 's|LIBDIR|%{_libdir}|;' %{SOURCE1}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -48,6 +49,10 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 1 2007 Michael Fleming <mfleming+rpm@enlartenment.com> 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 <mfleming+rpm@enlartenment.com> 2.1.0-2
|
* Mon Mar 26 2007 Michael Fleming <mfleming+rpm@enlartenment.com> 2.1.0-2
|
||||||
- Fix DSO permissions (bz#233733)
|
- Fix DSO permissions (bz#233733)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1,3 +1,3 @@
|
|||||||
3ca79f6bb96deb57e5035c246ce3c8aa mod_security.conf
|
|
||||||
2e919766f2878c4ee46334816004dd15 modsecurity-apache_2.1.0.tar.gz
|
2e919766f2878c4ee46334816004dd15 modsecurity-apache_2.1.0.tar.gz
|
||||||
cbd1dbca89666a85fe9d703de26444c6 modsecurity_localrules.conf
|
cbd1dbca89666a85fe9d703de26444c6 modsecurity_localrules.conf
|
||||||
|
ca0529cce7b56675e5f319c75cbb7398 mod_security.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user