ports/122364: mod_security2 won't work properly without libxml2
Julian C. Dunn
jdunn at aquezada.com
Wed Apr 2 03:10:01 UTC 2008
>Number: 122364
>Category: ports
>Synopsis: mod_security2 won't work properly without libxml2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 02 03:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Julian C. Dunn
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD aphrodite.acf.aquezada.com 6.3-STABLE FreeBSD 6.3-STABLE #7: Wed Mar 5 09:24:32 EST 2008 jdunn at aphrodite.acf.aquezada.com:/usr/obj/usr/src/sys/APHRODITE i386
>Description:
If mod_security is built without libxml2 support, then the bundled ruleset won't load with the following error:
Error creating rule: Unknown variable: XML
>How-To-Repeat:
Install www/mod_security2 without specifying the make flag -DWITH_LIBXML2. The above error will be seen when activating it in Apache.
>Fix:
Remove this knob from the Makefile:
.if defined(WITH_LIBXML2)
AP_EXTRAS+= -DWITH_LIBXML2
AP_INC= ${LOCALBASE}/include/libxml2
AP_LIB= ${LOCALBASE}/lib
USE_GNOME= libxml2
.endif
and always build with libxml2 as a dependency.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list