From fe4c5cb101161286065ed8e238bb6b26bed06b4f Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Thu, 27 Oct 2022 12:33:34 -0500 Subject: nginx: Add ipv6 support Adds a PACKAGECONFIG to enable ipv6 in nginx Signed-off-by: Joshua Watt Signed-off-by: Khem Raj --- meta-webserver/recipes-httpd/nginx/nginx.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-webserver') diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index dfced33300..260f5f320c 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -37,12 +37,13 @@ NGINX_USER ?= "www" EXTRA_OECONF = "" DISABLE_STATIC = "" -PACKAGECONFIG ??= "ssl" +PACKAGECONFIG ??= "ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" PACKAGECONFIG[gunzip] = "--with-http_gunzip_module,," PACKAGECONFIG[http2] = "--with-http_v2_module,," PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl" PACKAGECONFIG[http-auth-request] = "--with-http_auth_request_module,," +PACKAGECONFIG[ipv6] = "--with-ipv6,," do_configure () { if [ "${SITEINFO_BITS}" = "64" ]; then -- cgit v1.2.3-54-g00ecf