FreeBSD Bugzilla – Attachment 184795 Details for
Bug 220353
www/nginx: Add mod_security v3 support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nginx-1.12.1-mod_security-devel.patch
nginx-1.12.1.diff (text/plain), 2.33 KB, created by
Marius Halden
on 2017-07-28 11:23:22 UTC
(
hide
)
Description:
nginx-1.12.1-mod_security-devel.patch
Filename:
MIME Type:
Creator:
Marius Halden
Created:
2017-07-28 11:23:22 UTC
Size:
2.33 KB
patch
obsolete
>Index: www/nginx/Makefile >=================================================================== >--- www/nginx/Makefile (revision 446815) >+++ www/nginx/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= nginx > PORTVERSION= 1.12.1 >+PORTREVISION?= 1 > PORTEPOCH= 2 > CATEGORIES= www > MASTER_SITES= http://nginx.org/download/ >@@ -112,6 +113,7 @@ > LUA \ > MEMC \ > MODSECURITY \ >+ MODSECURITY_DEVEL \ > NAXSI \ > PASSENGER \ > POSTGRES \ >@@ -226,6 +228,7 @@ > LUA_DESC= 3rd party lua module > MEMC_DESC= 3rd party memc (memcached) module > MODSECURITY_DESC= 3rd party mod_security module >+MODSECURITY_DEVEL_DESC= 3ds party mod_security v3 module > NAXSI_DESC= 3rd party naxsi module > PASSENGER_DESC= 3rd party passenger module > POSTGRES_DESC= 3rd party postgres module >@@ -906,6 +909,15 @@ > ${PATCHDIR}/extra-patch-ngx_http_modsecurity.c > .endif > >+.if ${PORT_OPTIONS:MMODSECURITY_DEVEL} >+LIB_DEPENDS+= libmodsecurity.so.3:www/mod_security-devel >+GIT_MODSECURITY_DEVEL_VERSION=abbf2c4 >+GH_ACCOUNT+= SpiderLabs:modsec >+GH_PROJECT+= ModSecurity-nginx:modsec >+GH_TAGNAME+= ${GIT_MODSECURITY_DEVEL_VERSION}:modsec >+CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_modsec} >+.endif >+ > .if ${PORT_OPTIONS:MNAXSI} > NGINX_NAXSI_VERSION= 0.54 > GH_ACCOUNT+= nbs-system:naxsi >Index: www/nginx/distinfo >=================================================================== >--- www/nginx/distinfo (revision 446815) >+++ www/nginx/distinfo (working copy) >@@ -1,4 +1,4 @@ >-TIMESTAMP = 1499818015 >+TIMESTAMP = 1501239413 > SHA256 (nginx-1.12.1.tar.gz) = 8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb > SIZE (nginx-1.12.1.tar.gz) = 981093 > SHA256 (ngx_cache_purge-2.3.tar.gz) = 279e0d8a46d3b1521fd43b3f78bc1c08b263899142a7cc5058c1c0361a92c89c >@@ -15,6 +15,8 @@ > SIZE (08a395c66e42.tar.gz) = 120603 > SHA256 (modsecurity-2.9.1.tar.gz) = 958cc5a7a7430f93fac0fd6f8b9aa92fc1801efce0cda797d6029d44080a9b24 > SIZE (modsecurity-2.9.1.tar.gz) = 4261212 >+SHA256 (SpiderLabs-ModSecurity-nginx-abbf2c4_GH0.tar.gz) = 3d216e7c282213cd64b4671fe86d9057a3f318f692f4f906c695eee619c82228 >+SIZE (SpiderLabs-ModSecurity-nginx-abbf2c4_GH0.tar.gz) = 25917 > SHA256 (passenger-5.1.5.tar.gz) = ea4139d2f0d9f7aa6488be966ffbfe602f80764a47b7077892d92324bff5eb47 > SIZE (passenger-5.1.5.tar.gz) = 5126337 > SHA256 (ngx_slowfs_cache-1.10.tar.gz) = 1e81453942e5b0877de1f1f06c56ae82918ea9818255cb935bcb673c95a758a1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220353
:
183907
|
184795
|
184953
|
185497