[PATCH] glib-networking: build with gnutls support


Markus Volk
 

this fixes authentication issues with geary and tls connection

Signed-off-by: Markus Volk <f_l_k@...>
---
meta/recipes-core/glib-networking/glib-networking_2.72.0.bb | 2 +-
meta/recipes-support/gnutls/gnutls_3.7.4.bb | 2 +-
meta/recipes-support/p11-kit/p11-kit_0.24.1.bb | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/glib-networking/glib-networking_2.72.0.bb =
b/meta/recipes-core/glib-networking/glib-networking_2.72.0.bb
index d578f17aa5..73827b0a85 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.72.0.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.72.0.bb
@@ -11,7 +11,7 @@ DEPENDS =3D "glib-2.0"
=20
SRC_URI[archive.sha256sum] =3D "100aaebb369285041de52da422b6b716789d5e4d=
7549a3a71ba587b932e0823b"
=20
-PACKAGECONFIG ??=3D "openssl ${@bb.utils.contains('PTEST_ENABLED', '1', =
'tests', '', d)}"
+PACKAGECONFIG ??=3D "openssl gnutls ${@bb.utils.contains('PTEST_ENABLED'=
, '1', 'tests', '', d)}"
=20
PACKAGECONFIG[gnutls] =3D "-Dgnutls=3Denabled,-Dgnutls=3Ddisabled,gnutls=
"
PACKAGECONFIG[openssl] =3D "-Dopenssl=3Denabled,-Dopenssl=3Ddisabled,ope=
nssl"
diff --git a/meta/recipes-support/gnutls/gnutls_3.7.4.bb b/meta/recipes-s=
upport/gnutls/gnutls_3.7.4.bb
index b34eb7f5f0..c2bb1da8be 100644
--- a/meta/recipes-support/gnutls/gnutls_3.7.4.bb
+++ b/meta/recipes-support/gnutls/gnutls_3.7.4.bb
@@ -27,7 +27,7 @@ SRC_URI[sha256sum] =3D "e6adbebcfbc95867de01060d93c7899=
38cf89cc1d1f6ef9ef661890f62
=20
inherit autotools texinfo pkgconfig gettext lib_package gtk-doc
=20
-PACKAGECONFIG ??=3D "libidn ${@bb.utils.filter('DISTRO_FEATURES', 'secc=
omp', d)}"
+PACKAGECONFIG ??=3D "libidn p11-kit ${@bb.utils.filter('DISTRO_FEATURES'=
, 'seccomp', d)}"
=20
# You must also have CONFIG_SECCOMP enabled in the kernel for
# seccomp to work.
diff --git a/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb b/meta/recipe=
s-support/p11-kit/p11-kit_0.24.1.bb
index 59cbb67961..32c382489e 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
@@ -14,7 +14,7 @@ SRC_URI =3D "git://github.com/p11-glue/p11-kit;branch=3D=
master;protocol=3Dhttps"
SRCREV =3D "dd0590d4e583f107e3e9fafe9ed754149da335d0"
S =3D "${WORKDIR}/git"
=20
-PACKAGECONFIG ??=3D ""
+PACKAGECONFIG ??=3D "trust-paths"
PACKAGECONFIG[manpages] =3D "-Dman=3Dtrue,-Dman=3Dfalse,libxslt-native"
PACKAGECONFIG[trust-paths] =3D "-Dtrust_paths=3D/etc/ssl/certs/ca-certif=
icates.crt,,,ca-certificates"
=20
@@ -29,4 +29,4 @@ FILES:${PN} +=3D " \
# PN contains p11-kit-proxy.so, a symlink to a loadable module
INSANE_SKIP:${PN} =3D "dev-so"
=20
-BBCLASSEXTEND =3D "nativesdk"
+BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1

Join {openembedded-core@lists.openembedded.org to automatically receive all group messages.