From 9d9c7d4b0bb8fe7681496804b7afe8fc2d967419 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 31 Aug 2023 11:02:43 +0100 Subject: glib-networking: use gnutls backend for TLS sockets As per upstream: There are hacks in half the tests where this backend doesn't return the expected error code or doesn't work as expected. I do hope to enable this backend by default in the future. For now, it's not there yet. https://gitlab.gnome.org/GNOME/glib-networking/-/commit/8e1d80c1e0fc52d17d08a21946fa4a86ec30e1db [RP: Add note to recipe about reasoning] (From OE-Core rev: 6ca7fe3d9f209a05daf094ad051175cf56b5cebd) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/glib-networking/glib-networking_2.76.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-core/glib-networking') diff --git a/meta/recipes-core/glib-networking/glib-networking_2.76.1.bb b/meta/recipes-core/glib-networking/glib-networking_2.76.1.bb index 66b6a78a53..3687123141 100644 --- a/meta/recipes-core/glib-networking/glib-networking_2.76.1.bb +++ b/meta/recipes-core/glib-networking/glib-networking_2.76.1.bb @@ -16,7 +16,9 @@ DEPENDS = "glib-2.0-native glib-2.0" SRC_URI[archive.sha256sum] = "5c698a9994dde51efdfb1026a56698a221d6250e89dc50ebcddda7b81480a42b" -PACKAGECONFIG ??= "openssl environment ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" +# Upstream note that for the openssl backend, half the tests where this backend don't return +# the expected error code or don't work as expected so default to gnutls +PACKAGECONFIG ??= "gnutls environment ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls" PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl" -- cgit v1.2.3-54-g00ecf