Bug 122364 - www/mod_security2 won't work properly without libxml2
Summary: www/mod_security2 won't work properly without libxml2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcelo Araujo
Depends on:
Reported: 2008-04-02 04:10 UTC by jdunn
Modified: 2008-04-08 04:30 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description jdunn 2008-04-02 04:10:01 UTC
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


Remove this knob from the Makefile:

 .if defined(WITH_LIBXML2)
 AP_INC= ${LOCALBASE}/include/libxml2
 USE_GNOME= libxml2

and always build with libxml2 as a dependency.
Install www/mod_security2 without specifying the make flag -DWITH_LIBXML2. The above error will be seen when activating it in Apache.
Comment 1 Edwin Groothuis freebsd_committer 2008-04-02 04:21:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-04-08 04:24:02 UTC
araujo      2008-04-08 03:23:57 UTC

  FreeBSD ports repository

  Modified files:
    www/mod_security2    Makefile distinfo 
  - 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
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Marcelo Araujo freebsd_committer 2008-04-08 04:24:18 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!