package/nginx: add stream_set_module support

This is a new module in 1.20

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett 2021-06-30 10:36:57 -07:00 committed by Thomas Petazzoni
parent 05610e04b3
commit ec2e4722be
2 changed files with 10 additions and 0 deletions

View File

@ -339,6 +339,12 @@ config BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE
help help
Enable ngx_stream_realip_module Enable ngx_stream_realip_module
config BR2_PACKAGE_NGINX_STREAM_SET_MODULE
bool "ngx_stream_set_module"
default y
help
Enable ngx_stream_set_module
config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE
bool "ngx_stream_ssl_module" bool "ngx_stream_ssl_module"
select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL

View File

@ -232,6 +232,10 @@ ifeq ($(BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE),y)
NGINX_CONF_OPTS += --with-stream_realip_module NGINX_CONF_OPTS += --with-stream_realip_module
endif endif
ifeq ($(BR2_PACKAGE_NGINX_STREAM_SET_MODULE),)
NGINX_CONF_OPTS += --without-stream_set_module
endif
ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_MODULE),y) ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_MODULE),y)
NGINX_DEPENDENCIES += openssl NGINX_DEPENDENCIES += openssl
NGINX_CONF_OPTS += --with-stream_ssl_module NGINX_CONF_OPTS += --with-stream_ssl_module