summaryrefslogtreecommitdiff
path: root/www/nginx/files
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2020-06-06 10:45:27 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2020-06-06 10:45:27 +0000
commit995f7b54d1fa58c4c1911b99b07cd5ac731a675d (patch)
treef116c603fe27dbcd0bd4674ea8940d7661d8e22e /www/nginx/files
parentgraphics/feh: update to 3.4.1 (diff)
Merge r533146 from www/nginx-devel:
Convert another 3 third-party modules to dynamic: o) ngx_http_subs_filter o) ngx_http_upstream_check o) ngx_http_response Sponsored by: Netzkommune GmbH
Notes
Notes: svn path=/head/; revision=538085
Diffstat (limited to 'www/nginx/files')
-rw-r--r--www/nginx/files/extra-patch-nginx_upstream_check_module-config32
-rw-r--r--www/nginx/files/extra-patch-ngx_http_response-config11
2 files changed, 43 insertions, 0 deletions
diff --git a/www/nginx/files/extra-patch-nginx_upstream_check_module-config b/www/nginx/files/extra-patch-nginx_upstream_check_module-config
new file mode 100644
index 000000000000..17a3d5c104e8
--- /dev/null
+++ b/www/nginx/files/extra-patch-nginx_upstream_check_module-config
@@ -0,0 +1,32 @@
+--- ../nginx_upstream_check_module-9aecf15/config.orig 2020-04-27 09:51:23.976467000 -0400
++++ ../nginx_upstream_check_module-9aecf15/config 2020-04-27 09:54:11.429571000 -0400
+@@ -1,23 +1,7 @@
+-ngx_feature="ngx_http_upstream_check_module"
+-ngx_feature_name=
+-ngx_feature_run=no
+-ngx_feature_incs=
+-ngx_feature_path="$ngx_addon_dir"
+-ngx_feature_deps="$ngx_addon_dir/ngx_http_upstream_check_module.h"
+-ngx_check_src="$ngx_addon_dir/ngx_http_upstream_check_module.c"
+-ngx_feature_test="int a;"
+-. auto/feature
++ngx_addon_name=ngx_http_upstream_check_module
++ngx_module_name="$ngx_addon_name"
++ngx_module_type=HTTP
++ngx_module_deps="$ngx_addon_dir/ngx_http_upstream_check_module.h"
++ngx_module_srcs="$ngx_addon_dir/ngx_http_upstream_check_module.c"
+
+-if [ $ngx_found = yes ]; then
+- have=NGX_HTTP_UPSTREAM_CHECK . auto/have
+- CORE_INCS="$CORE_INCS $ngx_feature_path"
+- ngx_addon_name=ngx_http_upstream_check_module
+- HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_check_module"
+- NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_feature_deps"
+- NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_check_src"
+-else
+- cat << END
+- $0: error: the ngx_http_upstream_check_module addon error.
+-END
+- exit 1
+-fi
++. auto/module
diff --git a/www/nginx/files/extra-patch-ngx_http_response-config b/www/nginx/files/extra-patch-ngx_http_response-config
new file mode 100644
index 000000000000..3b39255595cd
--- /dev/null
+++ b/www/nginx/files/extra-patch-ngx_http_response-config
@@ -0,0 +1,11 @@
+--- ../ngx_http_response-0.3/config.orig 2020-04-27 11:41:14.626983000 -0400
++++ ../ngx_http_response-0.3/config 2020-04-27 11:41:50.008905000 -0400
+@@ -1,3 +1,6 @@
+ ngx_addon_name=ngx_http_response_module
+-HTTP_MODULES="$HTTP_MODULES ngx_http_response_module"
+-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_response_module.c"
++ngx_module_name="$ngx_addon_name"
++ngx_module_type=HTTP
++ngx_module_srcs="$ngx_addon_dir/ngx_http_response_module.c"
++ngx_module_deps=""
++. auto/module