diff --git a/CMakeLists.txt b/CMakeLists.txt index 11613ff3..a3469ad1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -925,7 +925,7 @@ if(BUILD_WOLFTPM_LIB) --name wolftpm --version ${SBOM_VERSION} --supplier "wolfSSL Inc." - --license-file ${CMAKE_SOURCE_DIR}/LICENSE + --license-file ${CMAKE_SOURCE_DIR}/COPYING --options-h ${OPTION_FILE} --lib ${SBOM_LIB} --license-override ${SBOM_LICENSE_OVERRIDE} diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..b10efbf8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +The wolfSSL, Inc. software "wolfTPM" ("wolfTPM Software") to which this text is appended +is made available under the GNU General Public License version 3 ("GPLv3") with +the following exception: When this wolfTPM Software is combined with the +software listed below ("Exception Software"), licensee may elect to license +this wolfTPM Software under the GNU General Public License version 2 ("GPLv2") +instead of GPLv3. + +The full text of the GNU General Public License version 3 is provided in the +accompanying COPYING file. + +Exception Software: + +U-Boot (from Cisco Systems, Inc. only) + + +For our users who cannot use wolfTPM under GPLv3, a commercial license to +wolfTPM is available. + +Please contact wolfSSL Inc. directly at: + +Email: licensing@wolfssl.com +Phone: +1 425 245-8247 + +More information can be found on the wolfSSL website at www.wolfssl.com. \ No newline at end of file diff --git a/Makefile.am b/Makefile.am index e6e0db95..44903f84 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,6 +58,7 @@ EXTRA_DIST+= .cyignore EXTRA_DIST+= README.md EXTRA_DIST+= ChangeLog.md EXTRA_DIST+= LICENSE +EXTRA_DIST+= COPYING EXTRA_DIST+= autogen.sh EXTRA_DIST+= CMakeLists.txt @@ -138,7 +139,7 @@ cppcheck: # is (a libwolftpm library that links wolfSSL/wolfCrypt) and includes it. # WOLFSSL_DIR must point to a wolfssl source tree containing scripts/gen-sbom. SBOM_PKGNAME = wolftpm -SBOM_LICENSE_FILE = $(srcdir)/LICENSE +SBOM_LICENSE_FILE = $(srcdir)/COPYING SBOM_DEP_WOLFSSL = yes # wolfTPM records its feature macros in its own generated options header, so diff --git a/README.md b/README.md index 94efca7a..5f8470b7 100644 --- a/README.md +++ b/README.md @@ -1154,7 +1154,7 @@ Output: `wolftpm-.cdx.json`, `wolftpm-.spdx.json`, `wolftpm-