summaryrefslogtreecommitdiff
path: root/www/nginx-devel/Makefile.extmod
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2019-11-06 11:13:22 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2019-11-06 11:13:22 +0000
commitfbc7104090abecc3b01d79a002a123f6c1be0e4c (patch)
tree3cb1d258bbffe218461b819928e5642b2638255b /www/nginx-devel/Makefile.extmod
parentUpdate xfce4-whiskermenu-plugin to 2.3.4 (diff)
Fix the issue with third-aprty modsecurity2 module, it is not
being built into after selection. An additional useful file is installed now. Bump PORTREVISION. Submitted by: Felipe Zipitria <felipe.zipitria@owasp.org> (in a private mail)
Diffstat (limited to 'www/nginx-devel/Makefile.extmod')
-rw-r--r--www/nginx-devel/Makefile.extmod1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod
index a0a7340c941f..15d58bfcde68 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -222,6 +222,7 @@ MODSECURITY_MASTER_SITES= https://www.modsecurity.org/tarball/${MODSECURITY_VERS
MODSECURITY_DISTFILES= modsecurity-${MODSECURITY_VERSION}.tar.gz:modsecurity
MODSECURITY_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-modsecurity-configure
MODSECURITY_VARS= WRKSRC_modsecurity=${WRKDIR}/modsecurity-${MODSECURITY_VERSION}
+MODSECURITY_CONFIGURE_ON= --add-module=${WRKDIR}/modsecurity-${MODSECURITY_VERSION}/nginx/modsecurity
MODSECURITY3_LIB_DEPENDS= libmodsecurity.so:security/modsecurity3
MODSECURITY3_GH_TUPLE= SpiderLabs:ModSecurity-nginx:ecb255a:modsec