diff options
author | osa <osa@FreeBSD.org> | 2013-06-04 14:58:09 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2013-06-04 14:58:09 +0800 |
commit | 4256b4b499bad84464edb00b67ee00f5903b8254 (patch) | |
tree | 26f25193b9a32798030731d8c5d46917b3e6a6cb /www/nginx-devel/files | |
parent | e1344f88792aca6fb3899daa31315b0b35dc6540 (diff) | |
download | freebsd-ports-gnome-4256b4b499bad84464edb00b67ee00f5903b8254.tar.gz freebsd-ports-gnome-4256b4b499bad84464edb00b67ee00f5903b8254.tar.zst freebsd-ports-gnome-4256b4b499bad84464edb00b67ee00f5903b8254.zip |
Add third-party modsecurity module support, version 2.7.4.
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r-- | www/nginx-devel/files/extra-patch-nginx-modsecurity-config | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/nginx-devel/files/extra-patch-nginx-modsecurity-config b/www/nginx-devel/files/extra-patch-nginx-modsecurity-config new file mode 100644 index 000000000000..0b34d169bdf0 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-nginx-modsecurity-config @@ -0,0 +1,10 @@ +--- ../modsecurity-apache_2.7.4/nginx/modsecurity/config.orig 2013-06-04 10:14:07.000000000 +0400 ++++ ../modsecurity-apache_2.7.4/nginx/modsecurity/config 2013-06-04 10:17:30.000000000 +0400 +@@ -3,5 +3,5 @@ + HTTP_AUX_FILTER_MODULES="ngx_http_modsecurity $HTTP_AUX_FILTER_MODULES" + NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_modsecurity.c $ngx_addon_dir/apr_bucket_nginx.c $ngx_addon_dir/ngx_pool_context.c" + NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/apr_bucket_nginx.h $ngx_addon_dir/ngx_pool_context.h" +-CORE_LIBS="$CORE_LIBS $ngx_addon_dir/../../standalone/.libs/standalone.a -L/usr/local/apr/lib -lapr-1 -L/usr/local/apr/lib -laprutil-1 -lpcre -lxml2 -lz -lm -ldl " +-CORE_INCS="$CORE_INCS $ngx_addon_dir $ngx_addon_dir/../../standalone $ngx_addon_dir/../../apache2 /usr/include/libxml2 /usr/local/apache2/include /usr/local/apr/include/apr-1 /usr/local/apr/include/apr-1" ++CORE_LIBS="$CORE_LIBS $ngx_addon_dir/../../standalone/.libs/standalone.a -lapr-1 -laprutil-1 -lpcre -lxml2 -lz -lm " ++CORE_INCS="$CORE_INCS $ngx_addon_dir $ngx_addon_dir/../../standalone $ngx_addon_dir/../../apache2 %%PREFIX%%/include/libxml2 %%PREFIX%%/include/apache22 %%PREFIX%%/include/apr-1 " |