Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
managed
:
testing
>
mod_security
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 24
[-]
[+]
Changed
mod_security-ix.changes
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jul 11 19:33:18 UTC 2013 - cs@linux-administrator.com + +- build against asl-libxml2 for EL5 based systems + +------------------------------------------------------------------- Sat Jun 29 17:00:16 UTC 2013 - cs@linux-administrator.com - added CVE-2013-2765.patch for 2.6.8 (included in 2.7.4)
[-]
[+]
Changed
mod_security-ix.spec
^
@@ -1,11 +1,21 @@ +%define aslxml 1 + Summary: Security module for the Apache HTTP Server Name: mod_security %if 0%{?centos_version} >= 6 || 0%{?rhel_version} >= 600 || 0%{?sl_version} >= 600 || 0%{?suse_version} >= 1110 || 0%{?sles_version} >= 11 %define pkgversion 2.7.4 %define oldver 0 +BuildRequires: libxml2-devel +%else +%if %{aslxml} +%define pkgversion 2.7.4 +%define oldver 0 +BuildRequires: asl-libxml2-devel %else %define pkgversion 2.6.8 %define oldver 1 +BuildRequires: libxml2-devel +%endif %endif Version: %{pkgversion} Release: 35 @@ -57,7 +67,7 @@ Provides: apache2-mod_security2 = %{version} %endif -BuildRequires: libxml2-devel pcre-devel libtool curl-devel +BuildRequires: pcre-devel libtool curl-devel BuildRequires: curl Requires: libxml2 pcre @@ -81,11 +91,12 @@ export CFLAGS %configure \ - --disable-pcre-match-limit \ - --disable-pcre-match-limit-recursion - -# Legacy from LoadFile -#perl -pi.orig -e 's|LIBDIR|%{_libdir}|;' %{SOURCE1} +%if %{aslxml} + --with-libxml=/var/asl/usr/ \ +%endif + --enable-pcre-match-limit=no \ + --enable-pcre-match-limit-recursion=no \ + --enable-pcre-study make %{_smp_mflags}