Skip to contentSkip to conversation

meta-java: Adapt LICENSE as per SPDX identifiers

PATCH New Akash Hadke 1 participant 1 message Nov 17, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 meta-java: Adapt LICENSE as per SPDX identifiers

As per Yocto 4.0 migration, LICENSE variables should use SPDX identifiers
Convert this by a tool present at below location poky/scripts/contrib/convert-spdx-licenses.py

---
 .../ca-certificates-java/ca-certificates-java_20180516.bb       | 2 +-
 recipes-core/xml-commons/xom_1.2.10.bb                          | 2 +-
 recipes-extended/dbus/dbus-java_2.7.bb                          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
recipes-core/ca-certificates-java/ca-certificates-java_20180516.bb +1 -1
index 460d39a..368458b 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Common CA certificates (JKS trustStore)"
 DESCRIPTION = "This package uses the hooks of the ca-certificates \
 package to update the cacerts JKS trustStore used for many java runtimes."
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "\
 	file://debian/copyright;md5=ab0f6b6900f6564dc3e273dfa36fcc72 \
 	file://src/main/java/org/debian/security/InvalidKeystorePasswordException.java;endline=17;md5=f9150bf1ca3139a38ddb54f9e1c0eb9b \
recipes-core/xml-commons/xom_1.2.10.bb +1 -1
index 42ad957..d01d5b2 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Tree-based API for processing XML with Java"
 DESCRIPTION = "XML object model which is a tree-based API for processing XML \
 with Java that strives for correctness, simplicity, and performance."
-LICENSE = "LGPL-2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f18f166096348ef9d457214a2484816"
 
 HOMEPAGE = "http://xom.nu"
recipes-extended/dbus/dbus-java_2.7.bb +1 -1
index 0e5ae92..1bfe5a7 100644
@@ -4,7 +4,7 @@ SUMMARY:${PN}-bin = "${SUMMARY} (Binaries)"
 AUTHOR = "Matthew Johnson <[email protected]>"
 HOMEPAGE = "http://dbus.freedesktop.org/doc/dbus-java"
 SECTION = "libs"
-LICENSE = "LGPL-2.1 & AFL-2.1"
+LICENSE = "LGPL-2.1-only & AFL-2.1"
 
 DEPENDS = "libmatthew gettext-native fastjar-native"
 RDEPENDS:${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin libmatthew-debug-java ${JPN}"
Signature · 1 line
2.25.1