summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/extra-patch-xss-nginx-module-config15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/nginx-devel/files/extra-patch-xss-nginx-module-config b/www/nginx-devel/files/extra-patch-xss-nginx-module-config
new file mode 100644
index 000000000000..c5dc537b783c
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-xss-nginx-module-config
@@ -0,0 +1,15 @@
+--- ../xss-nginx-module-0.06/config.orig 2020-04-24 17:13:57.596040000 -0400
++++ ../xss-nginx-module-0.06/config 2020-04-24 17:18:16.438437000 -0400
+@@ -1,5 +1,9 @@
+ ngx_addon_name=ngx_http_xss_filter_module
+-HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_xss_filter_module"
+-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_xss_filter_module.c $ngx_addon_dir/src/ngx_http_xss_util.c"
+-NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/src/ddebug.h $ngx_addon_dir/src/ngx_http_xss_filter_module.h $ngx_addon_dir/src/ngx_http_xss_util.h"
+
++ngx_module_name="$ngx_addon_name"
++ngx_module_type=HTTP_FILTER
++
++ngx_module_srcs="$ngx_addon_dir/src/ngx_http_xss_filter_module.c $ngx_addon_dir/src/ngx_http_xss_util.c"
++ngx_module_deps="$ngx_addon_dir/src/ddebug.h $ngx_addon_dir/src/ngx_http_xss_filter_module.h $ngx_addon_dir/src/ngx_http_xss_util.h"
++
++. auto/module