diff options
author | Ross Burton <ross.burton@arm.com> | 2023-05-15 14:29:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-22 10:53:44 +0100 |
commit | cdfeb38ffc8d15618be0dd768c9abf44ff23678e (patch) | |
tree | 08612d2797df251ed042683d4caa1358c3d6f338 /meta/recipes-core/glib-networking | |
parent | b49dc6f29533ab7debd299419c8b891e106f5d9d (diff) | |
download | openembedded-core-contrib-cdfeb38ffc8d15618be0dd768c9abf44ff23678e.tar.gz |
glib-networking: fix LICENSE statement
The glib-networking license is LGPLv2.1 _or later_ and also has an
additional exception if OpenSSL is being used.
Add source comments to the checksum, and extend LICENSE if the openssl
PACKAGECONFIG has been enabled.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta/recipes-core/glib-networking')
-rw-r--r-- | meta/recipes-core/glib-networking/glib-networking_2.74.0.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-core/glib-networking/glib-networking_2.74.0.bb b/meta/recipes-core/glib-networking/glib-networking_2.74.0.bb index b3a88aca8d..ebf9e26050 100644 --- a/meta/recipes-core/glib-networking/glib-networking_2.74.0.bb +++ b/meta/recipes-core/glib-networking/glib-networking_2.74.0.bb @@ -3,8 +3,13 @@ DESCRIPTION = "glib-networking contains the implementations of certain GLib netw HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/" BUGTRACKER = "http://bugzilla.gnome.org" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +LICENSE = "LGPL-2.1-or-later" +LICENSE:append = "${@bb.utils.contains('PACKAGECONFIG', 'openssl', ' & Glib-Networking-OpenSSL-Exception', '', d)}" +NO_GENERIC_LICENSE[Glib-Networking-OpenSSL-Exception] = "LICENSE_EXCEPTION" + +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ + file://LICENSE_EXCEPTION;md5=0f5be697951b5e71aff00f4a4ce66be8 \ + file://tls/base/gtlsconnection-base.c;beginline=7;endline=22;md5=ab641ac307f3337811008ea9afe7059f" SECTION = "libs" DEPENDS = "glib-2.0-native glib-2.0" |