fix: correct license identifiers and update copyright years#170
Open
MarkAtwood wants to merge 2 commits into
Open
fix: correct license identifiers and update copyright years#170MarkAtwood wants to merge 2 commits into
MarkAtwood wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates Yocto recipe SPDX license identifiers (mostly -only → -or-later) to reduce false positives in license compliance audits, plus a couple of copyright/license text updates in auxiliary files.
Changes:
- Convert multiple recipes from
GPL-2.0-only/GPL-3.0-onlytoGPL-2.0-or-later/GPL-3.0-or-later. - Adjust
LIC_FILES_CHKSUMin the GnuTLS wrapper recipe to align with the intended license file. - Update copyright years and tweak license boilerplate / README license wording.
Reviewed changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| update-version.sh | Updates copyright year and GPL boilerplate version in the script header. |
| recipes-wolfssl/wolftpm/wolftpm_3.10.0.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfssl/wolfssl_5.9.1.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfssl/wolfssl-linuxkm.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfssl/wolfssl-linuxkm-fips-ready.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfssl/wolfssl-fips-ready.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfssl-py/wolfssl-py_5.8.4.bb | Switches recipe license identifier to GPL-2.0-or-later. |
| recipes-wolfssl/wolfssh/wolfssh_1.4.22.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfprovider/wolfprovider_1.1.1.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfpkcs11/wolfpkcs11_2.0.0.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfmqtt/wolfmqtt_2.0.0.bb | Switches recipe license identifier to GPL-2.0-or-later. |
| recipes-wolfssl/wolfengine/wolfengine_1.4.0.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-wolfssl/wolfcrypt-py/wolfcrypt-py_5.8.4.bb | Switches recipe license identifier to GPL-2.0-or-later. |
| recipes-wolfssl/wolfclu/wolfclu_0.1.8+master.bb | Switches recipe license identifier to GPL-2.0-or-later. |
| recipes-wolfssl/wolfboot/wolfboot-signed-image.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-support/gnutls/wolfssl-gnutls-wrapper_git.bb | Updates license identifier and attempts to correct common-license checksum reference. |
| recipes-examples/wolftpm/wolftpm-wrap-test.bb | Switches recipe license identifier to GPL-2.0-or-later. |
| recipes-examples/wolfssl-py/wolf-py-tests/wolf-py-tests_5.6.0.bb | Switches recipe license identifier to GPL-2.0-or-later. |
| recipes-examples/wolfprovider/wolfprovidertest/wolfprovidertest.bb | Switches recipe license identifier to GPL-3.0-or-later and updates the common-license path. |
| recipes-examples/wolfprovider/wolfprovidercmd/wolfprovidercmd.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-examples/wolfengine/wolfenginetest/files/wolfenginetest.c | Updates copyright year in file header. |
| recipes-examples/wolfcrypt/wolfcrypttest/wolfcrypttest.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| recipes-examples/wolfcrypt/wolfcryptbenchmark/wolfcryptbenchmark.bb | Switches recipe license identifier to GPL-3.0-or-later. |
| README.md | Clarifies project license wording (“GPLv2 or later”). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
9
to
10
| LICENSE = "GPL-3.0-or-later" | ||
| LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891" |
Comment on lines
+6
to
+8
| LICENSE = "GPL-3.0-or-later" | ||
| # TODO: update LIC_FILES_CHKSUM md5 to match GPL-3.0-or-later | ||
| LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-or-later;md5=d32239bcb673463ab874e80d47fae504" |
Comment on lines
+7
to
+8
| LICENSE = "GPL-3.0-or-later" | ||
| LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-3.0-or-later;md5=c79ff39f19dfec6d293b95dea7b07891" |
Comment on lines
7
to
10
| # wolfSSL is free software; you can redistribute it and/or modify | ||
| # it under the terms of the GNU General Public License as published by | ||
| # the Free Software Foundation; either version 2 of the License, or | ||
| # the Free Software Foundation; either version 3 of the License, or | ||
| # (at your option) any later version. |
wolfboot-signed-image, wolfssl-gnutls-wrapper, wolfprovidertest all had LIC_FILES_CHKSUM pointing to GPL-3.0-only md5 while LICENSE was changed to GPL-3.0-or-later. Use correct OE-Core common-licenses checksums. Remove stale TODO comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Multiple Yocto recipe files use
-onlylicense suffixes when the upstream projects are-or-later. This causes false positives in automated license compliance audits.Changes:
GPL-3.0-only->GPL-3.0-or-laterGPL-2.0-only->GPL-2.0-or-laterGPL-3.0-only->GPL-3.0-or-later2006-2022->2006-2026, GPL boilerplate version 2 -> version 32019-2023->2019-2026Test plan
grep -r "GPL.*-only" recipes-*/ | grep -v COMMON_LICENSEreturns no hitsbitbake wolfssl -c populate_licsucceeds with updated checksums