mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
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)
This commit is contained in:
parent
78a5d328c7
commit
fbc7104090
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516875
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= nginx
|
||||
PORTVERSION= 1.17.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= https://nginx.org/download/ \
|
||||
LOCAL/osa
|
||||
@ -345,6 +346,11 @@ do-install-FASTDFS-on:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fdfs
|
||||
${INSTALL_DATA} ${WRKSRC_fastdfs}/src/mod_fastdfs.conf ${STAGEDIR}${PREFIX}/etc/fdfs/mod_fastdfs.conf.sample
|
||||
|
||||
do-install-MODSECURITY-on:
|
||||
${INSTALL_DATA} \
|
||||
${WRKDIR}/modsecurity-${MODSECURITY_VERSION}/unicode.mapping \
|
||||
${STAGEDIR}${ETCDIR}
|
||||
|
||||
do-install-NAXSI-on:
|
||||
${INSTALL_DATA} \
|
||||
${WRKDIR}/naxsi-${NAXSI_NGINX_VER}/naxsi_config/naxsi_core.rules \
|
||||
|
@ -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
|
||||
|
@ -5,6 +5,7 @@
|
||||
%%NAXSI%%%%ETCDIR%%/naxsi_core.rules
|
||||
@sample %%ETCDIR%%/scgi_params-dist %%ETCDIR%%/scgi_params
|
||||
@sample %%ETCDIR%%/uwsgi_params-dist %%ETCDIR%%/uwsgi_params
|
||||
%%MODSECURITY%%%%ETCDIR%%/unicode.mapping
|
||||
%%ETCDIR%%/win-utf
|
||||
@sample %%ETCDIR%%/mime.types-dist %%ETCDIR%%/mime.types
|
||||
@sample %%ETCDIR%%/nginx.conf-dist %%ETCDIR%%/nginx.conf
|
||||
|
Loading…
Reference in New Issue
Block a user