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 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. 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.
Responsible Changed From-To: freebsd-ports-bugs->araujo Over to maintainer (via the GNATS Auto Assign Tool)
araujo 2008-04-08 03:23:57 UTC FreeBSD ports repository Modified files: www/mod_security2 Makefile distinfo Log: - Update to 2.1.7. - Always build with libxml2 as a dependency. [1] PR: ports/122364 [1] Submitted by: Julian C. Dunn <jdunn@aquezada.com> [1] Revision Changes Path 1.14 +2 -8 ports/www/mod_security2/Makefile 1.9 +3 -3 ports/www/mod_security2/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!