pkgsrc/security/ap-modsecurity2/options.mk
adrianp 863460b3b3 Update from 2.1.4->2.5.7
Use ./configure as one is now supplied
libmxl2 is no longer optional but curl is
Rename doc/eg dirs from ap-security to ap-modsecurity

* Allow for disabling request body limit checks in phase:1
* Now log XML parsing/validation warnings and errors to be in the debug log
  at levels 3 and 4, respectivly.
* Transformation caching has been deprecated, and is now off by default. We
  now advise against using transformation caching in production.
* Improve request body processing error messages.

Any many more . . . see CHANGES for all the details
2008-10-12 12:50:17 +00:00

28 lines
618 B
Makefile

# $NetBSD: options.mk,v 1.3 2008/10/12 12:50:17 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ap-modsecurity2
PKG_SUPPORTED_OPTIONS= curl
.include "../../mk/bsd.options.mk"
###
### Bring in support for libxml2
###
.if !empty(PKG_OPTIONS:Mxml)
. include "../../textproc/libxml2/buildlink3.mk"
CONFIGURE_ARGS+= --with-libxml
MESSAGE_SRC+= ${WRKDIR}/.MESSAGE_SRC.xml
.else
CONFIGURE_ARGS+= --without-libxml
.endif
###
### Bring in support for curl
###
.if !empty(PKG_OPTIONS:Mcurl)
. include "../../www/curl/buildlink3.mk"
CONFIGURE_ARGS+= --with-curl=${PREFIX}/bin/curl
.else
CONFIGURE_ARGS+= --without-curl
.endif