freebsd-ports/www/nginx-devel/files/extra-patch-xss-nginx-module-config
Sergey A. Osokin d24f4815ef Convert another 2 third-party modules to dynamic:
o) slowfs_cache
o) xss

Bump PORTREVISION.
2020-04-24 21:36:32 +00:00

15 lines
882 B
Text

--- ../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