From 3e6b35900f4f4aed4fd11e0187a36a7f374271aa Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 23 Jun 2020 22:35:26 +0200 Subject: [PATCH] package/nginx: add stream split clients option stream split clients module has been added in version 1.11.3 with https://github.com/nginx/nginx/commit/6c2b086d0e10cab769f9321998dcb631796ec49b and is enabled by default, add an option to be able to disable it Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/nginx/Config.in | 6 ++++++ package/nginx/nginx.mk | 1 + 2 files changed, 7 insertions(+) diff --git a/package/nginx/Config.in b/package/nginx/Config.in index 9f742e3e6b..eba0d30329 100644 --- a/package/nginx/Config.in +++ b/package/nginx/Config.in @@ -364,6 +364,12 @@ config BR2_PACKAGE_NGINX_STREAM_MAP_MODULE help Enable ngx_stream_map_module +config BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE + bool "ngx_stream_split_client_module" + default y + help + Enable ngx_stream_split_clients_module + config BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE bool "ngx_stream_return_module" default y diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk index 8a5739cbb4..1180810f51 100644 --- a/package/nginx/nginx.mk +++ b/package/nginx/nginx.mk @@ -239,6 +239,7 @@ NGINX_CONF_OPTS += \ $(if $(BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE),,--without-stream_access_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_GEO_MODULE),,--without-stream_geo_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_MAP_MODULE),,--without-stream_map_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE),,--without-stream_split_clients_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE),,--without-stream_return_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE),,--without-stream_upstream_hash_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE),,--without-stream_upstream_least_conn_module) \ -- 2.30.2