summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-networking
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-08-31 11:02:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-02 11:47:50 +0100
commit9d9c7d4b0bb8fe7681496804b7afe8fc2d967419 (patch)
tree3e165d90c5a9c9bb461579c7afd86507877253a5 /meta/recipes-core/glib-networking
parent1fd22a4cd80567e832938323165aff070117d17a (diff)
downloadpoky-9d9c7d4b0bb8fe7681496804b7afe8fc2d967419.tar.gz
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 <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-networking')
-rw-r--r--meta/recipes-core/glib-networking/glib-networking_2.76.1.bb4
1 files changed, 3 insertions, 1 deletions
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"
16 16
17SRC_URI[archive.sha256sum] = "5c698a9994dde51efdfb1026a56698a221d6250e89dc50ebcddda7b81480a42b" 17SRC_URI[archive.sha256sum] = "5c698a9994dde51efdfb1026a56698a221d6250e89dc50ebcddda7b81480a42b"
18 18
19PACKAGECONFIG ??= "openssl environment ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" 19# Upstream note that for the openssl backend, half the tests where this backend don't return
20# the expected error code or don't work as expected so default to gnutls
21PACKAGECONFIG ??= "gnutls environment ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
20 22
21PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls" 23PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
22PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl" 24PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"