diff options
author | Ross Burton <ross.burton@arm.com> | 2023-08-31 11:02:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-02 07:56:24 +0100 |
commit | 6ca7fe3d9f209a05daf094ad051175cf56b5cebd (patch) | |
tree | 6400d5b13ab6a48ec8aa89618f66e1cb2e4fb2f6 /meta/recipes-core/glib-networking | |
parent | 6fd615ec2350d190b52784a0596c09cdaafec4bf (diff) | |
download | openembedded-core-contrib-6ca7fe3d9f209a05daf094ad051175cf56b5cebd.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]
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.bb | 4 |
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" 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" |