Browse Source

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>
Adam Duskett 4 years ago
parent
commit
ec2e4722be
2 changed files with 10 additions and 0 deletions
  1. 6 0
      package/nginx/Config.in
  2. 4 0
      package/nginx/nginx.mk

+ 6 - 0
package/nginx/Config.in

@@ -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

+ 4 - 0
package/nginx/nginx.mk

@@ -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