On Thu, Oct 27, 2022 at 10:33 AM Joshua Watt <[email protected]> wrote:

> Adds a PACKAGECONFIG to enable ipv6 in nginx
>
> Signed-off-by: Joshua Watt <[email protected]>
> ---
>  meta-webserver/recipes-httpd/nginx/nginx.inc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> 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"
>  EXTRA_OECONF = ""
>  DISABLE_STATIC = ""
>
> -PACKAGECONFIG ??= "ssl"
> +PACKAGECONFIG ??= "ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"


much better, I was also going to suggest this

>
>
>  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
> --
> 2.33.0
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99326): 
https://lists.openembedded.org/g/openembedded-devel/message/99326
Mute This Topic: https://lists.openembedded.org/mt/94609597/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to