summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-02-27 19:21:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-01 23:44:59 +0000
commit83766c9fffa45cd3a94cf8076f7c8f45aba11a12 (patch)
tree86f6f27a115e7416bf3cae085ef6d82f9ecbccb1
parent68d1a56e987ee530620bdf245ddf1812f8cf6d39 (diff)
downloadpoky-83766c9fffa45cd3a94cf8076f7c8f45aba11a12.tar.gz
meta, meta-selftest: Replace more non-SPDX license identifiers
In commit ceda3238 (meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers) all LICENSE variables were updated to only use SPDX license identifiers. This does the same for comments and other variables where it is appropriate to use the official SPDX license identifiers. There are still references to, e.g., "GPLv3", but they are then typically in descriptive text where they refer to the license in a generic sense. (From OE-Core rev: 165759dced7fbe73b1db2ede67047896071dc6d0) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-selftest/recipes-test/license/incompatible-licenses.bb2
-rw-r--r--meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb2
-rw-r--r--meta/classes/devicetree.bbclass4
-rw-r--r--meta/classes/license.bbclass7
-rw-r--r--meta/conf/documentation.conf2
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_014.bb3
-rw-r--r--meta/recipes-connectivity/avahi/avahi_0.8.bb4
-rw-r--r--meta/recipes-core/kbd/kbd_2.4.0.bb2
-rw-r--r--meta/recipes-core/readline/readline.inc2
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.186.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc2
-rw-r--r--meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb2
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.2.3.bb2
-rw-r--r--meta/recipes-extended/bash/bash_5.1.16.bb2
-rw-r--r--meta/recipes-extended/findutils/findutils_4.9.0.bb2
-rw-r--r--meta/recipes-extended/gawk/gawk_5.1.1.bb4
-rw-r--r--meta/recipes-extended/gzip/gzip.inc1
-rw-r--r--meta/recipes-extended/gzip/gzip_1.11.bb2
-rw-r--r--meta/recipes-extended/less/less_600.bb2
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.2.bb2
-rw-r--r--meta/recipes-extended/pam/libpam_1.5.2.bb2
-rw-r--r--meta/recipes-extended/xz/xz_5.2.5.bb9
-rw-r--r--meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb14
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils.inc3
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio.inc14
-rw-r--r--meta/recipes-sato/l3afpad/l3afpad_git.bb4
26 files changed, 53 insertions, 46 deletions
diff --git a/meta-selftest/recipes-test/license/incompatible-licenses.bb b/meta-selftest/recipes-test/license/incompatible-licenses.bb
index ab3b58d2c9..9709892644 100644
--- a/meta-selftest/recipes-test/license/incompatible-licenses.bb
+++ b/meta-selftest/recipes-test/license/incompatible-licenses.bb
@@ -1,3 +1,3 @@
1SUMMARY = "Recipe with multiple SPDX licenses" 1SUMMARY = "Recipe with multiple SPDX licenses"
2DESCRIPTION = "Is licensed with multiple SPDX licenses to be used for testing" 2DESCRIPTION = "Is licensed with multiple SPDX licenses to be used for testing"
3LICENSE = "GPL-2.0-only & GPL-3.0 & LGPL-3.0-only" 3LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-3.0-only"
diff --git a/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb b/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb
index 4a9b94eceb..c5037a4912 100644
--- a/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb
+++ b/meta-selftest/recipes-test/selftest-ed/selftest-ed_0.5.bb
@@ -1,4 +1,4 @@
1SUMMARY = "Line-oriented text editor -- selftest GPLv2 version" 1SUMMARY = "Line-oriented text editor -- selftest GPL-2.0-or-later version"
2HOMEPAGE = "http://www.gnu.org/software/ed/" 2HOMEPAGE = "http://www.gnu.org/software/ed/"
3SECTION = "base" 3SECTION = "base"
4LICENSE = "GPL-2.0-or-later" 4LICENSE = "GPL-2.0-or-later"
diff --git a/meta/classes/devicetree.bbclass b/meta/classes/devicetree.bbclass
index 7f3b808572..2a62ae7bc8 100644
--- a/meta/classes/devicetree.bbclass
+++ b/meta/classes/devicetree.bbclass
@@ -15,8 +15,8 @@
15SECTION ?= "bsp" 15SECTION ?= "bsp"
16 16
17# The default inclusion of kernel device tree includes and headers means that 17# The default inclusion of kernel device tree includes and headers means that
18# device trees built with them are at least GPLv2 (and in some cases dual 18# device trees built with them are at least GPL-2.0-only (and in some cases dual
19# licensed). Default to GPLv2 if the recipe does not specify a license. 19# licensed). Default to GPL-2.0-only if the recipe does not specify a license.
20LICENSE ?= "GPL-2.0-only" 20LICENSE ?= "GPL-2.0-only"
21LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 21LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
22 22
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index dec9867209..68c022248c 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -193,7 +193,7 @@ def find_license_files(d):
193 os.path.join(srcdir, non_generic_lic), None, None)) 193 os.path.join(srcdir, non_generic_lic), None, None))
194 non_generic_lics[non_generic_lic] = license_type 194 non_generic_lics[non_generic_lic] = license_type
195 else: 195 else:
196 # Add explicity avoid of CLOSED license because this isn't generic 196 # Explicitly avoid the CLOSED license because this isn't generic
197 if license_type != 'CLOSED': 197 if license_type != 'CLOSED':
198 # And here is where we warn people that their licenses are lousy 198 # And here is where we warn people that their licenses are lousy
199 oe.qa.handle_error("license-exists", 199 oe.qa.handle_error("license-exists",
@@ -252,7 +252,7 @@ def return_spdx(d, license):
252def canonical_license(d, license): 252def canonical_license(d, license):
253 """ 253 """
254 Return the canonical (SPDX) form of the license if available (so GPLv3 254 Return the canonical (SPDX) form of the license if available (so GPLv3
255 becomes GPL-3.0) or the passed license if there is no canonical form. 255 becomes GPL-3.0-only) or the passed license if there is no canonical form.
256 """ 256 """
257 return d.getVarFlag('SPDXLICENSEMAP', license) or license 257 return d.getVarFlag('SPDXLICENSEMAP', license) or license
258 258
@@ -287,7 +287,8 @@ def expand_wildcard_licenses(d, wildcard_licenses):
287 for wld_lic in wildcard_licenses: 287 for wld_lic in wildcard_licenses:
288 spdxflags = fnmatch.filter(spdxmapkeys, wld_lic) 288 spdxflags = fnmatch.filter(spdxmapkeys, wld_lic)
289 licenses += [d.getVarFlag('SPDXLICENSEMAP', flag) for flag in spdxflags] 289 licenses += [d.getVarFlag('SPDXLICENSEMAP', flag) for flag in spdxflags]
290 # Assume if we're passed "GPLv3" or "*GPLv3" it means -or-later as well 290 # Assume that if we are passed "GPL-3.0" or "*GPL-3.0", then it means
291 # "-or-later" as well.
291 if not wld_lic.endswith(("-or-later", "-only", "*", "+")): 292 if not wld_lic.endswith(("-or-later", "-only", "*", "+")):
292 spdxflags = fnmatch.filter(spdxmapkeys, wld_lic + "+") 293 spdxflags = fnmatch.filter(spdxmapkeys, wld_lic + "+")
293 licenses += [d.getVarFlag('SPDXLICENSEMAP', flag) for flag in spdxflags] 294 licenses += [d.getVarFlag('SPDXLICENSEMAP', flag) for flag in spdxflags]
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index 1789da0bb8..feb23a666b 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -226,7 +226,7 @@ IMAGE_ROOTFS_EXTRA_SPACE[doc] = "Defines additional free disk space created in t
226IMAGE_ROOTFS_SIZE[doc] = "Defines the size in Kbytes for the generated image." 226IMAGE_ROOTFS_SIZE[doc] = "Defines the size in Kbytes for the generated image."
227IMAGE_TYPES[doc] = "Specifies the complete list of supported image types by default." 227IMAGE_TYPES[doc] = "Specifies the complete list of supported image types by default."
228INC_PR[doc] = "Helps define the recipe revision for recipes that share a common include file." 228INC_PR[doc] = "Helps define the recipe revision for recipes that share a common include file."
229INCOMPATIBLE_LICENSE[doc] = "Specifies a space-separated list of license names (as they would appear in LICENSE) that should be excluded from the build. Wildcard is supported, such as '*GPLv3'" 229INCOMPATIBLE_LICENSE[doc] = "Specifies a space-separated list of license names (as they would appear in LICENSE) that should be excluded from the build. Wildcard is supported, such as '*GPL-3.0*'"
230INHIBIT_DEFAULT_DEPS[doc] = "Prevents the default dependencies, namely the C compiler and standard C library (libc), from being added to DEPENDS." 230INHIBIT_DEFAULT_DEPS[doc] = "Prevents the default dependencies, namely the C compiler and standard C library (libc), from being added to DEPENDS."
231INHIBIT_PACKAGE_STRIP[doc] = "If set to "1", causes the build to not strip binaries in resulting packages." 231INHIBIT_PACKAGE_STRIP[doc] = "If set to "1", causes the build to not strip binaries in resulting packages."
232INHERIT[doc] = "Causes the named class to be inherited at this point during parsing. The variable is only valid in configuration files." 232INHERIT[doc] = "Causes the named class to be inherited at this point during parsing. The variable is only valid in configuration files."
diff --git a/meta/recipes-bsp/usbutils/usbutils_014.bb b/meta/recipes-bsp/usbutils/usbutils_014.bb
index 828eb4d36f..e728f1a190 100644
--- a/meta/recipes-bsp/usbutils/usbutils_014.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_014.bb
@@ -20,7 +20,8 @@ inherit autotools pkgconfig update-alternatives
20ALTERNATIVE:${PN} = "lsusb" 20ALTERNATIVE:${PN} = "lsusb"
21ALTERNATIVE_PRIORITY = "100" 21ALTERNATIVE_PRIORITY = "100"
22 22
23# The binaries are mostly GPLv2+ apart from lsusb.py which is GPLv2 or v3. 23# The binaries are mostly GPL-2.0-or-later apart from lsusb.py which is
24# GPL-2.0-only or GPL-3.0-only.
24LICENSE:${PN} = "GPL-2.0-or-later" 25LICENSE:${PN} = "GPL-2.0-or-later"
25LICENSE:${PN}-python = "GPL-2.0-only | GPL-3.0-only" 26LICENSE:${PN}-python = "GPL-2.0-only | GPL-3.0-only"
26 27
diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb
index 3e020e6780..9bb5e5861e 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.8.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb
@@ -10,8 +10,8 @@ HOMEPAGE = "http://avahi.org"
10BUGTRACKER = "https://github.com/lathiat/avahi/issues" 10BUGTRACKER = "https://github.com/lathiat/avahi/issues"
11SECTION = "network" 11SECTION = "network"
12 12
13# major part is under LGPLv2.1+, but several .dtd, .xsl, initscripts and 13# major part is under LGPL-2.1-or-later, but several .dtd, .xsl, initscripts and
14# python scripts are under GPLv2+ 14# python scripts are under GPL-2.0-or-later
15LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" 15LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
16LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ 16LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
17 file://avahi-common/address.h;endline=25;md5=b1d1d2cda1c07eb848ea7d6215712d9d \ 17 file://avahi-common/address.h;endline=25;md5=b1d1d2cda1c07eb848ea7d6215712d9d \
diff --git a/meta/recipes-core/kbd/kbd_2.4.0.bb b/meta/recipes-core/kbd/kbd_2.4.0.bb
index 5328e5ec3c..8a68d647e2 100644
--- a/meta/recipes-core/kbd/kbd_2.4.0.bb
+++ b/meta/recipes-core/kbd/kbd_2.4.0.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Keytable files and keyboard utilities" 1SUMMARY = "Keytable files and keyboard utilities"
2HOMEPAGE = "http://www.kbd-project.org/" 2HOMEPAGE = "http://www.kbd-project.org/"
3DESCRIPTION = "The kbd project contains tools for managing Linux console (Linux console, virtual terminals, keyboard, etc.) – mainly, what they do is loading console fonts and keyboard maps." 3DESCRIPTION = "The kbd project contains tools for managing Linux console (Linux console, virtual terminals, keyboard, etc.) – mainly, what they do is loading console fonts and keyboard maps."
4# everything minus console-fonts is GPLv2+ 4# everything minus console-fonts is GPL-2.0-or-later
5LICENSE = "GPL-2.0-or-later" 5LICENSE = "GPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" 6LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
7 7
diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
index 24a3301285..7f2f1a092b 100644
--- a/meta/recipes-core/readline/readline.inc
+++ b/meta/recipes-core/readline/readline.inc
@@ -6,7 +6,7 @@ lines, and perform csh-like history expansion on previous commands."
6SECTION = "libs" 6SECTION = "libs"
7HOMEPAGE = "https://tiswww.case.edu/php/chet/readline/rltop.html" 7HOMEPAGE = "https://tiswww.case.edu/php/chet/readline/rltop.html"
8 8
9# GPLv2+ (< 6.0), GPLv3+ (>= 6.0) 9# GPL-2.0-or-later (< 6.0), GPL-3.0-or-later (>= 6.0)
10LICENSE = "GPL-3.0-or-later" 10LICENSE = "GPL-3.0-or-later"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
12 12
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.186.bb b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
index f2f098eccb..46ee40cce6 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.186.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
@@ -102,8 +102,8 @@ BBCLASSEXTEND = "native nativesdk"
102# Package utilities separately 102# Package utilities separately
103PACKAGES =+ "${PN}-binutils libelf libasm libdw libdebuginfod" 103PACKAGES =+ "${PN}-binutils libelf libasm libdw libdebuginfod"
104 104
105# shared libraries are licensed GPLv2 or GPLv3+, binaries GPLv3+ 105# Shared libraries are licensed GPL-2.0-only or GPL-3.0-or-later, binaries
106# according to NEWS file: 106# GPL-3.0-or-later. According to NEWS file:
107# "The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone 107# "The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
108# programs. There is now also a formal CONTRIBUTING document describing how to 108# programs. There is now also a formal CONTRIBUTING document describing how to
109# submit patches." 109# submit patches."
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index c39a0caf8a..e9f2cf16e8 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -2,7 +2,7 @@ require gcc-configure-common.inc
2 2
3SUMMARY = "Runtime libraries from GCC" 3SUMMARY = "Runtime libraries from GCC"
4 4
5# Over-ride the LICENSE set by gcc-${PV}.inc to remove "& GPLv3" 5# Over-ride the LICENSE set by gcc-${PV}.inc to remove "& GPL-3.0-only"
6# All gcc-runtime packages are now covered by the runtime exception. 6# All gcc-runtime packages are now covered by the runtime exception.
7LICENSE = "GPL-3.0-with-GCC-exception" 7LICENSE = "GPL-3.0-with-GCC-exception"
8 8
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb b/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
index ea95588c8c..b716b0245b 100644
--- a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
+++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
@@ -2,7 +2,7 @@ SUMMARY = "icecc environment setup script"
2DESCRIPTION = "This is a version of the icecc-create-env script that has \ 2DESCRIPTION = "This is a version of the icecc-create-env script that has \
3been modified in order to make it work with OE." 3been modified in order to make it work with OE."
4SECTION = "base" 4SECTION = "base"
5# source file has just a "GPL" word, but upstream is GPLv2+. 5# source file has just a "GPL" word, but upstream is GPL-2.0-or-later.
6# most probably just GPL would be a mistake 6# most probably just GPL would be a mistake
7LICENSE = "GPL-2.0-or-later" 7LICENSE = "GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://icecc-create-env;beginline=2;endline=5;md5=ae1df3d6a058bfda40b66094c5f6065f" 8LIC_FILES_CHKSUM = "file://icecc-create-env;beginline=2;endline=5;md5=ae1df3d6a058bfda40b66094c5f6065f"
diff --git a/meta/recipes-devtools/rsync/rsync_3.2.3.bb b/meta/recipes-devtools/rsync/rsync_3.2.3.bb
index b950e30b46..6168ee85fc 100644
--- a/meta/recipes-devtools/rsync/rsync_3.2.3.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.2.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://rsync.samba.org/"
3DESCRIPTION = "rsync is an open source utility that provides fast incremental file transfer." 3DESCRIPTION = "rsync is an open source utility that provides fast incremental file transfer."
4BUGTRACKER = "http://rsync.samba.org/bugzilla.html" 4BUGTRACKER = "http://rsync.samba.org/bugzilla.html"
5SECTION = "console/network" 5SECTION = "console/network"
6# GPLv2+ (<< 3.0.0), GPLv3+ (>= 3.0.0) 6# GPL-2.0-or-later (<< 3.0.0), GPL-3.0-or-later (>= 3.0.0)
7# Includes opennsh and xxhash dynamic link exception 7# Includes opennsh and xxhash dynamic link exception
8LICENSE = "GPL-3.0-or-later" 8LICENSE = "GPL-3.0-or-later"
9LIC_FILES_CHKSUM = "file://COPYING;md5=9e5a4f9b3a253d51520617aa54f8eb26" 9LIC_FILES_CHKSUM = "file://COPYING;md5=9e5a4f9b3a253d51520617aa54f8eb26"
diff --git a/meta/recipes-extended/bash/bash_5.1.16.bb b/meta/recipes-extended/bash/bash_5.1.16.bb
index 45c7c2b09c..d046faa4e5 100644
--- a/meta/recipes-extended/bash/bash_5.1.16.bb
+++ b/meta/recipes-extended/bash/bash_5.1.16.bb
@@ -1,6 +1,6 @@
1require bash.inc 1require bash.inc
2 2
3# GPLv2+ (< 4.0), GPLv3+ (>= 4.0) 3# GPL-2.0-or-later (< 4.0), GPL-3.0-or-later (>= 4.0)
4LICENSE = "GPL-3.0-or-later" 4LICENSE = "GPL-3.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6 6
diff --git a/meta/recipes-extended/findutils/findutils_4.9.0.bb b/meta/recipes-extended/findutils/findutils_4.9.0.bb
index 63560a4299..e4ce8ee4eb 100644
--- a/meta/recipes-extended/findutils/findutils_4.9.0.bb
+++ b/meta/recipes-extended/findutils/findutils_4.9.0.bb
@@ -1,6 +1,6 @@
1require findutils.inc 1require findutils.inc
2 2
3# GPLv2+ (<< 4.2.32), GPLv3+ (>= 4.2.32) 3# GPL-2.0-or-later (<< 4.2.32), GPL-3.0-or-later (>= 4.2.32)
4LICENSE = "GPL-3.0-or-later" 4LICENSE = "GPL-3.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" 5LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
6 6
diff --git a/meta/recipes-extended/gawk/gawk_5.1.1.bb b/meta/recipes-extended/gawk/gawk_5.1.1.bb
index 40f994ff94..fe339805d0 100644
--- a/meta/recipes-extended/gawk/gawk_5.1.1.bb
+++ b/meta/recipes-extended/gawk/gawk_5.1.1.bb
@@ -6,8 +6,8 @@ HOMEPAGE = "https://www.gnu.org/software/gawk/"
6BUGTRACKER = "bug-gawk@gnu.org" 6BUGTRACKER = "bug-gawk@gnu.org"
7SECTION = "console/utils" 7SECTION = "console/utils"
8 8
9# gawk <= 3.1.5: GPLv2 9# gawk <= 3.1.5: GPL-2.0-only
10# gawk >= 3.1.6: GPLv3 10# gawk >= 3.1.6: GPL-3.0-only
11LICENSE = "GPL-3.0-only" 11LICENSE = "GPL-3.0-only"
12LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 12LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
13 13
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 15fd665ac8..b32584033b 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -3,7 +3,6 @@ DESCRIPTION = "GNU Gzip is a popular data compression program originally written
3project. Mark Adler wrote the decompression part" 3project. Mark Adler wrote the decompression part"
4HOMEPAGE = "http://www.gnu.org/software/gzip/" 4HOMEPAGE = "http://www.gnu.org/software/gzip/"
5SECTION = "console/utils" 5SECTION = "console/utils"
6# change to GPLv3+ in 2007/07. Previous GPLv2 version is 1.3.12
7 6
8inherit autotools texinfo 7inherit autotools texinfo
9export DEFS="NO_ASM" 8export DEFS="NO_ASM"
diff --git a/meta/recipes-extended/gzip/gzip_1.11.bb b/meta/recipes-extended/gzip/gzip_1.11.bb
index cff4ed1717..321c9c31a4 100644
--- a/meta/recipes-extended/gzip/gzip_1.11.bb
+++ b/meta/recipes-extended/gzip/gzip_1.11.bb
@@ -1,5 +1,7 @@
1require gzip.inc 1require gzip.inc
2 2
3# change to GPL-3.0-or-later in 2007/07. Previous GPL-2.0-or-later version is
4# 1.3.12
3LICENSE = "GPL-3.0-or-later" 5LICENSE = "GPL-3.0-or-later"
4 6
5SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz \ 7SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz \
diff --git a/meta/recipes-extended/less/less_600.bb b/meta/recipes-extended/less/less_600.bb
index 8b715fac6b..9ebe39daab 100644
--- a/meta/recipes-extended/less/less_600.bb
+++ b/meta/recipes-extended/less/less_600.bb
@@ -5,7 +5,7 @@ programs. Less offers many features beyond those that more does."
5HOMEPAGE = "http://www.greenwoodsoftware.com/" 5HOMEPAGE = "http://www.greenwoodsoftware.com/"
6SECTION = "console/utils" 6SECTION = "console/utils"
7 7
8# (GPLv2+ (<< 418), GPLv3+ (>= 418)) | less 8# (GPL-2.0-or-later (<< 418), GPL-3.0-or-later (>= 418)) | less
9# Including email author giving permissing to use BSD 9# Including email author giving permissing to use BSD
10# 10#
11# From: Mark Nudelman <markn@greenwoodsoftware.com> 11# From: Mark Nudelman <markn@greenwoodsoftware.com>
diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb b/meta/recipes-extended/mdadm/mdadm_4.2.bb
index 6f6e0c98ad..1c2fc8c37a 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb
@@ -2,7 +2,7 @@ SUMMARY = "Tool for managing software RAID under Linux"
2HOMEPAGE = "http://www.kernel.org/pub/linux/utils/raid/mdadm/" 2HOMEPAGE = "http://www.kernel.org/pub/linux/utils/raid/mdadm/"
3DESCRIPTION = "mdadm is a Linux utility used to manage and monitor software RAID devices." 3DESCRIPTION = "mdadm is a Linux utility used to manage and monitor software RAID devices."
4 4
5# Some files are GPLv2+ while others are GPLv2. 5# Some files are GPL-2.0-only while others are GPL-2.0-or-later.
6LICENSE = "GPL-2.0-only & GPL-2.0-or-later" 6LICENSE = "GPL-2.0-only & GPL-2.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \ 8 file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \
diff --git a/meta/recipes-extended/pam/libpam_1.5.2.bb b/meta/recipes-extended/pam/libpam_1.5.2.bb
index 7277727745..081986ef43 100644
--- a/meta/recipes-extended/pam/libpam_1.5.2.bb
+++ b/meta/recipes-extended/pam/libpam_1.5.2.bb
@@ -6,7 +6,7 @@ BUGTRACKER = "https://fedorahosted.org/linux-pam/newticket"
6SECTION = "base" 6SECTION = "base"
7# PAM is dual licensed under GPL and BSD. 7# PAM is dual licensed under GPL and BSD.
8# /etc/pam.d comes from Debian libpam-runtime in 2009-11 (at that time 8# /etc/pam.d comes from Debian libpam-runtime in 2009-11 (at that time
9# libpam-runtime-1.0.1 is GPLv2+), by openembedded 9# libpam-runtime-1.0.1 is GPL-2.0-or-later), by openembedded
10LICENSE = "GPL-2.0-or-later | BSD-3-Clause" 10LICENSE = "GPL-2.0-or-later | BSD-3-Clause"
11LIC_FILES_CHKSUM = "file://COPYING;md5=7eb5c1bf854e8881005d673599ee74d3 \ 11LIC_FILES_CHKSUM = "file://COPYING;md5=7eb5c1bf854e8881005d673599ee74d3 \
12 file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \ 12 file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \
diff --git a/meta/recipes-extended/xz/xz_5.2.5.bb b/meta/recipes-extended/xz/xz_5.2.5.bb
index c41987d87c..78aa6b20ca 100644
--- a/meta/recipes-extended/xz/xz_5.2.5.bb
+++ b/meta/recipes-extended/xz/xz_5.2.5.bb
@@ -3,10 +3,11 @@ HOMEPAGE = "https://tukaani.org/xz/"
3DESCRIPTION = "XZ Utils is free general-purpose data compression software with a high compression ratio. XZ Utils were written for POSIX-like systems, but also work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils." 3DESCRIPTION = "XZ Utils is free general-purpose data compression software with a high compression ratio. XZ Utils were written for POSIX-like systems, but also work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils."
4SECTION = "base" 4SECTION = "base"
5 5
6# The source includes bits of PD, GPLv2, GPLv3, LGPLv2.1+, but the only file 6# The source includes bits of PD, GPL-2.0, GPL-3.0, LGPL-2.1-or-later, but the
7# which is GPLv3 is an m4 macro which isn't shipped in any of our packages, 7# only file which is GPL-3.0 is an m4 macro which isn't shipped in any of our
8# and the LGPL bits are under lib/, which appears to be used for libgnu, which 8# packages, and the LGPL bits are under lib/, which appears to be used for
9# appears to be used for DOS builds. So we're left with GPLv2+ and PD. 9# libgnu, which appears to be used for DOS builds. So we're left with
10# GPL-2.0-or-later and PD.
10LICENSE = "GPL-2.0-or-later & GPL-3.0-with-autoconf-exception & LGPL-2.1-or-later & PD" 11LICENSE = "GPL-2.0-or-later & GPL-3.0-with-autoconf-exception & LGPL-2.1-or-later & PD"
11LICENSE:${PN} = "GPL-2.0-or-later" 12LICENSE:${PN} = "GPL-2.0-or-later"
12LICENSE:${PN}-dev = "GPL-2.0-or-later" 13LICENSE:${PN}-dev = "GPL-2.0-or-later"
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb
index 76f37bfd59..c435f61d4c 100644
--- a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb
+++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb
@@ -6,15 +6,15 @@ HOMEPAGE = "http://alsa-project.org"
6BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" 6BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
7SECTION = "multimedia" 7SECTION = "multimedia"
8 8
9# The primary license of alsa-plugins is LGPLv2.1. 9# The primary license of alsa-plugins is LGPL-2.1-only.
10# 10#
11# m4/attributes.m4 is licensed under GPLv2+. m4/attributes.m4 is part of the 11# m4/attributes.m4 is licensed under GPL-2.0-or-later. m4/attributes.m4 is part
12# build system, and doesn't affect the licensing of the build result. 12# of the build system, and doesn't affect the licensing of the build result.
13# 13#
14# The samplerate plugin source code is licensed under GPLv2+ to be consistent 14# The samplerate plugin source code is licensed under GPL-2.0-or-later to be
15# with the libsamplerate license. However, if the licensee has a commercial 15# consistent with the libsamplerate license. However, if the licensee has a
16# license for libsamplerate, the samplerate plugin may be used under the terms 16# commercial license for libsamplerate, the samplerate plugin may be used under
17# of LGPLv2.1 like the rest of the plugins. 17# the terms of LGPL-2.1-only like the rest of the plugins.
18LICENSE = "LGPL-2.1-only & GPL-2.0-or-later" 18LICENSE = "LGPL-2.1-only & GPL-2.0-or-later"
19LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ 19LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
20 file://COPYING.GPL;md5=59530bdf33659b29e73d4adb9f9f6552 \ 20 file://COPYING.GPL;md5=59530bdf33659b29e73d4adb9f9f6552 \
diff --git a/meta/recipes-multimedia/alsa/alsa-utils.inc b/meta/recipes-multimedia/alsa/alsa-utils.inc
index b627ced1aa..bca7cdd3bd 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils.inc
+++ b/meta/recipes-multimedia/alsa/alsa-utils.inc
@@ -4,7 +4,8 @@ designed to allow users to control the various parts of the ALSA system."
4HOMEPAGE = "http://www.alsa-project.org" 4HOMEPAGE = "http://www.alsa-project.org"
5BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" 5BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
6SECTION = "console/utils" 6SECTION = "console/utils"
7# Some parts are GPLv2+, some are only GPLv2 (e.g. axfer, alsactl) so result is GPLv2 7# Some parts are GPL-2.0-or-later, some are GPL-2.0-only (e.g. axfer, alsactl)
8# so result is GPL-2.0-only
8LICENSE = "GPL-2.0-only" 9LICENSE = "GPL-2.0-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
10 file://alsactl/utils.c;beginline=3;endline=18;md5=96cc06a4cebe5eb7975688ffb0e65642" 11 file://alsactl/utils.c;beginline=3;endline=18;md5=96cc06a4cebe5eb7975688ffb0e65642"
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index bbab3ae038..a69dd32bd7 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -5,7 +5,8 @@ HOMEPAGE = "http://www.pulseaudio.org"
5AUTHOR = "Lennart Poettering" 5AUTHOR = "Lennart Poettering"
6SECTION = "libs/multimedia" 6SECTION = "libs/multimedia"
7 7
8# Most of PulseAudio code is under LGPLv2.1+. There are a few exceptions: 8# Most of PulseAudio code is under LGPL-2.1-or-later. There are a few
9# exceptions:
9# 10#
10# The "adrian" echo canceller variant has code under a non-standard permissive 11# The "adrian" echo canceller variant has code under a non-standard permissive
11# license. See src/modules/echo-cancel/adrian-license.txt for details. This 12# license. See src/modules/echo-cancel/adrian-license.txt for details. This
@@ -39,11 +40,12 @@ SECTION = "libs/multimedia"
39# The dependency with the most complicated licensing considerations is libdbus. 40# The dependency with the most complicated licensing considerations is libdbus.
40# When PACKAGECONFIG[dbus] is enabled (like it is by default), libdbus will be 41# When PACKAGECONFIG[dbus] is enabled (like it is by default), libdbus will be
41# used by both the server and the client library (libpulse). Does this affect 42# used by both the server and the client library (libpulse). Does this affect
42# applications that use libpulse? It should be also noted that libdbus is 43# applications that use libpulse? It should also be noted that libdbus is
43# dual-licensed: either GPLv2+ or AFL-2 terms apply. Whose decision is it which 44# dual-licensed: either GPL-2.0-or-later or AFL-2.0 terms apply. Whose decision
44# of the licenses apply? What a mess. Some people hold the view that libdbus is 45# is it which of the licenses apply? What a mess. Some people hold the view that
45# a system library that is covered by the "special exception" in GPLv2's 46# libdbus is a system library that is covered by the "special exception" in
46# section 3, and therefore libdbus's GPL license doesn't affect PulseAudio. 47# GPLv2's section 3, and therefore libdbus's GPL license doesn't affect
48# PulseAudio.
47LICENSE = "LGPL-2.1-or-later & MIT & BSD-3-Clause" 49LICENSE = "LGPL-2.1-or-later & MIT & BSD-3-Clause"
48 50
49LIC_FILES_CHKSUM = "file://LICENSE;md5=0e5cd938de1a7a53ea5adac38cc10c39 \ 51LIC_FILES_CHKSUM = "file://LICENSE;md5=0e5cd938de1a7a53ea5adac38cc10c39 \
diff --git a/meta/recipes-sato/l3afpad/l3afpad_git.bb b/meta/recipes-sato/l3afpad/l3afpad_git.bb
index b06b0958a0..56cbe6bc8d 100644
--- a/meta/recipes-sato/l3afpad/l3afpad_git.bb
+++ b/meta/recipes-sato/l3afpad/l3afpad_git.bb
@@ -5,8 +5,8 @@ are implemented in the editor. L3afpad is simple to use, is easily compiled, \
5requires few libraries, and starts up quickly." 5requires few libraries, and starts up quickly."
6HOMEPAGE = "https://github.com/stevenhoneyman/l3afpad" 6HOMEPAGE = "https://github.com/stevenhoneyman/l3afpad"
7 7
8# Note that COPYING seems to mistakenly contain LGPLv2.1. 8# Note that COPYING seems to mistakenly contain LGPL-2.1.
9# The source code is marked GPLv2+ and COPYING used to contain 9# The source code is marked GPL-2.0-or-later and COPYING used to contain
10# that as well. 10# that as well.
11LICENSE = "GPL-2.0-or-later" 11LICENSE = "GPL-2.0-or-later"
12LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ 12LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \