[OE-core] [PATCH] glib-networking: add PACKAGECONFIG for openssl

Martin Jansa martin.jansa at gmail.com
Tue May 14 12:02:10 UTC 2019


Thanks all, I think the discussion made it clear that we shouldn't change
the default yet.

Makes it easier for me as I'll need this PACKAGECONFIG backported to
warrior as well (and we shouldn't change the default there for sure).

RP: please take this for some next master-next.

On Fri, May 10, 2019 at 11:54 PM Martin Jansa <martin.jansa at gmail.com>
wrote:

> * gnutls from meta-gplv2 isn't new enough for this version of
> glib-networking:
>   meson.build:74:0: ERROR:  Invalid version of dependency, need 'gnutls'
> ['>= 3.4.6'] found '3.3.30'
>
> * disabling gnutls PACKAGECONFIG isn't an option either:
>   meson.build:131:2: ERROR:  Problem encountered: No TLS backends enabled.
> Please enable at least one TLS backend
>
> * add an option to replace gnutls with openssl
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  meta/recipes-core/glib-networking/glib-networking_2.60.1.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/glib-networking/glib-networking_2.60.1.bb
> b/meta/recipes-core/glib-networking/glib-networking_2.60.1.bb
> index 09af229d69..e2b4cffb2b 100644
> --- a/meta/recipes-core/glib-networking/glib-networking_2.60.1.bb
> +++ b/meta/recipes-core/glib-networking/glib-networking_2.60.1.bb
> @@ -15,6 +15,7 @@ SRC_URI[archive.sha256sum] =
> "d71c6b2faa5ac29100314f08a1be020a2afd0291f025614c0a
>  PACKAGECONFIG ??= "gnutls"
>
>  PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
> +PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
>  PACKAGECONFIG[libproxy] =
> "-Dlibproxy=enabled,-Dlibproxy=disabled,libproxy"
>
>  EXTRA_OEMESON = "-Dgnome_proxy=disabled"
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190514/747df118/attachment.html>


More information about the Openembedded-core mailing list