diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2022-10-27 12:33:34 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-10-27 10:44:16 -0700 |
commit | fe4c5cb101161286065ed8e238bb6b26bed06b4f (patch) | |
tree | 7c06f0510007423b658bc291cfcead49e41c348b | |
parent | cca9e65fae35b029f0fddbbc29ff6aa7c3b5caee (diff) | |
download | meta-openembedded-fe4c5cb101161286065ed8e238bb6b26bed06b4f.tar.gz |
nginx: Add ipv6 support
Adds a PACKAGECONFIG to enable ipv6 in nginx
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index dfced3330..260f5f320 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc | |||
@@ -37,12 +37,13 @@ NGINX_USER ?= "www" | |||
37 | EXTRA_OECONF = "" | 37 | EXTRA_OECONF = "" |
38 | DISABLE_STATIC = "" | 38 | DISABLE_STATIC = "" |
39 | 39 | ||
40 | PACKAGECONFIG ??= "ssl" | 40 | PACKAGECONFIG ??= "ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
41 | 41 | ||
42 | PACKAGECONFIG[gunzip] = "--with-http_gunzip_module,," | 42 | PACKAGECONFIG[gunzip] = "--with-http_gunzip_module,," |
43 | PACKAGECONFIG[http2] = "--with-http_v2_module,," | 43 | PACKAGECONFIG[http2] = "--with-http_v2_module,," |
44 | PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl" | 44 | PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl" |
45 | PACKAGECONFIG[http-auth-request] = "--with-http_auth_request_module,," | 45 | PACKAGECONFIG[http-auth-request] = "--with-http_auth_request_module,," |
46 | PACKAGECONFIG[ipv6] = "--with-ipv6,," | ||
46 | 47 | ||
47 | do_configure () { | 48 | do_configure () { |
48 | if [ "${SITEINFO_BITS}" = "64" ]; then | 49 | if [ "${SITEINFO_BITS}" = "64" ]; then |