Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161674220
D57894.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D57894.diff
View Options
Index: www/mod_security/Makefile
===================================================================
--- www/mod_security/Makefile
+++ www/mod_security/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mod_security
PORTVERSION= 2.9.13
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www security
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
@@ -14,9 +15,7 @@
LIB_DEPENDS+= libpcre2-8.so:devel/pcre2 \
libapr-1.so:devel/apr1 \
- libyajl.so:devel/yajl \
libcurl.so:ftp/curl \
- libgdbm.so:databases/gdbm \
libexpat.so:textproc/expat2
USES= apache gnome perl5 pkgconfig shebangfix autoreconf libtool:build
@@ -43,7 +42,7 @@
APMOD_FILE= 280_${PORTNAME}.conf
SUB_LIST+= APMOD_FILE=${APMOD_FILE}
-OPTIONS_DEFINE= DOCS FUZZYHASH LUA MLOGC
+OPTIONS_DEFINE= DOCS FUZZYHASH LUA MLOGC YAJL
OPTIONS_SUB= yes
LUA_CONFIGURE_ON= --with-lua=${LOCALBASE}
@@ -59,13 +58,17 @@
FUZZYHASH_CONFIGURE_OFF=--without-ssdeep
FUZZYHASH_LIB_DEPENDS= libfuzzy.so:security/ssdeep
+YAJL_DESC= JSON body processor support
+YAJL_CONFIGURE_ON= --with-yajl=${LOCALBASE}
+YAJL_CONFIGURE_OFF+= --without-yajl
+YAJL_LIB_DEPENDS= libyajl.so:devel/yajl
+
ETCDIR= ${PREFIX}/etc/modsecurity
REINPLACE_ARGS= -i ""
AP_EXTRAS+= -DWITH_LIBXML2
CONFIGURE_ARGS+=--with-apxs=${APXS} \
--with-pcre2=${LOCALBASE} \
- --with-yajl=${LOCALBASE} \
--with-curl=${LOCALBASE}
pre-install:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 8:32 PM (5 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34746738
Default Alt Text
D57894.diff (1 KB)
Attached To
Mode
D57894: www/mod_security: make YAJL support optional
Attached
Detach File
Event Timeline
Log In to Comment