Skip to content

fix: correct license identifiers and update copyright years#170

Open
MarkAtwood wants to merge 2 commits into
wolfSSL:masterfrom
MarkAtwood:fix/license-identifiers
Open

fix: correct license identifiers and update copyright years#170
MarkAtwood wants to merge 2 commits into
wolfSSL:masterfrom
MarkAtwood:fix/license-identifiers

Conversation

@MarkAtwood

@MarkAtwood MarkAtwood commented Jun 17, 2026

Copy link
Copy Markdown

Summary

Multiple Yocto recipe files use -only license suffixes when the upstream projects are -or-later. This causes false positives in automated license compliance audits.

Changes:

  • wolfssl, wolfssl-fips-ready, wolfssl-linuxkm, wolfssl-linuxkm-fips-ready, wolfboot-signed-image: GPL-3.0-only -> GPL-3.0-or-later
  • wolfmqtt, wolfssl-py, wolfcrypt-py, wolfclu, wolftpm-wrap-test, wolf-py-tests: GPL-2.0-only -> GPL-2.0-or-later
  • wolftpm, wolfprovider, wolfssh, wolfengine, wolfpkcs11, wolfcrypttest, wolfcryptbenchmark, wolfprovidertest, wolfprovidercmd: GPL-3.0-only -> GPL-3.0-or-later
  • wolfssl-gnutls-wrapper: fix LICENSE/LIC_FILES_CHKSUM mismatch, correct md5 checksums
  • update-version.sh: copyright year 2006-2022 -> 2006-2026, GPL boilerplate version 2 -> version 3
  • wolfenginetest.c: copyright year 2019-2023 -> 2019-2026
  • README.md: clarify license as "GPLv2 or later"

Test plan

  • grep -r "GPL.*-only" recipes-*/ | grep -v COMMON_LICENSE returns no hits
  • bitbake wolfssl -c populate_lic succeeds with updated checksums

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-only to GPL-2.0-or-later/GPL-3.0-or-later.
  • Adjust LIC_FILES_CHKSUM in 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 thread update-version.sh
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.
@MarkAtwood MarkAtwood requested review from cconlon and removed request for dgarske June 17, 2026 18:21
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants