From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] package/nginx: add stream return option
Date: Mon, 22 Jun 2020 21:31:12 +0200 [thread overview]
Message-ID: <20200622193114.291257-2-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20200622193114.291257-1-fontaine.fabrice@gmail.com>
stream return module has been added in version 1.11.2 with
https://github.com/nginx/nginx/commit/a7c6f8c1d7cb817bf84b639ee0933f9ffed05275
and is enabled by default, add an option to be able to disable it
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
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 64406664d3..cad5903882 100644
--- a/package/nginx/Config.in
+++ b/package/nginx/Config.in
@@ -352,6 +352,12 @@ config BR2_PACKAGE_NGINX_STREAM_MAP_MODULE
help
Enable ngx_stream_map_module
+config BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE
+ bool "ngx_stream_return_module"
+ default y
+ help
+ Enable ngx_stream_return_module
+
config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE
bool "ngx_stream_upstream_hash_module"
default y
diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk
index 22ee851454..3289382027 100644
--- a/package/nginx/nginx.mk
+++ b/package/nginx/nginx.mk
@@ -233,6 +233,7 @@ NGINX_CONF_OPTS += \
$(if $(BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE),,--without-stream_limit_conn_module) \
$(if $(BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE),,--without-stream_access_module) \
$(if $(BR2_PACKAGE_NGINX_STREAM_MAP_MODULE),,--without-stream_map_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) \
$(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE),,--without-stream_upstream_zone_module)
--
2.26.2
next prev parent reply other threads:[~2020-06-22 19:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 19:31 [Buildroot] [PATCH 1/4] package/nginx: add stream map option Fabrice Fontaine
2020-06-22 19:31 ` Fabrice Fontaine [this message]
2020-06-22 19:31 ` [Buildroot] [PATCH 3/4] package/nginx: add stream geo option Fabrice Fontaine
2020-06-22 19:31 ` [Buildroot] [PATCH 4/4] package/nginx: add stream geoip support Fabrice Fontaine
2020-06-22 20:45 ` [Buildroot] [PATCH 1/4] package/nginx: add stream map option Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200622193114.291257-2-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox