-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Add PURL and CPE info to 3rd party attribution files
The change adds CPE and PURL keys to all qt_attribution.json files in the repo. In case if no sensible CPE or PURL exists, a "Comment" field is added with the text "no relevant CPE or PURL found". If only one of them does not exist, it is written as such in the Comment field. This allows filtering for files that haven't had the information added yet vs those that were looked up but no relevant information was found. For sources that are not hosted on github, a generic PURL is used with a download_url fragment pointing either to the exact location where the sources can be downloaded, or to the homepage of the project. The generic package name was chosen based on the 'Id' key of the attribution entry where it was present, and is not authoritative. For PURL github packages, the 'git tag' name was specified into the 'version' part of the PURL, rather than the 'version number', because SBOM processing tooling handle that better than the version number. For example for the freetype package, we specify the string 'VER-2-13-3' rather than the tag name '2.13.3'. We might revisit this in the future. [ChangeLog][Third-Party Code] Added PURL and CPE information to the attribution files of 3rd party sources. Task-number: QTBUG-122899 Task-number: QTBUG-129602 Change-Id: Iad126242cafc3ea0b678c5c36b26f857039b1dbd Reviewed-by: Alexey Edelev <[email protected]> (cherry picked from commit 36dca3c)
- Loading branch information
Showing
45 changed files
with
127 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,11 @@ | |
|
||
"Homepage": "https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator", | ||
"Version": "3.0.1", | ||
"PURL": "pkg:github/GPUOpen-LibrariesAndSDKs/[email protected]", | ||
"License": "MIT License", | ||
"LicenseId": "MIT", | ||
"LicenseFile": "LICENSE.txt", | ||
"Copyright": "Copyright (c) 2017-2022 Advanced Micro Devices, Inc. All rights reserved." | ||
"Copyright": "Copyright (c) 2017-2024 Advanced Micro Devices, Inc. All rights reserved.", | ||
"Comment": "no relevant CPE found" | ||
} | ||
] |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
"Homepage": "https://github.com/google/double-conversion", | ||
"Version": "3.3.0", | ||
"DownloadLocation": "https://github.com/google/double-conversion/releases/tag/v3.3.0", | ||
"PURL": "pkg:github/google/[email protected]", | ||
"CPE": "cpe:2.3:a:google:double-conversion:3.3.0:*:*:*:*:*:*:*", | ||
"License": "BSD 3-clause \"New\" or \"Revised\" License", | ||
"LicenseId": "BSD-3-Clause", | ||
"LicenseFile": "LICENSE", | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
"Homepage": "https://gradle.org", | ||
"Version": "8.10", | ||
"DownloadLocation": "https://github.com/gradle/gradle/releases/tag/v8.10.0", | ||
"PURL": "pkg:github/gradle/[email protected]", | ||
"CPE": "cpe:2.3:a:gradle:gradle:8.10.0:*:*:*:*:*:*:*", | ||
"QtUsage": "Needed to create Android packages", | ||
"License": "Apache License 2.0", | ||
"LicenseId": "Apache-2.0", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
"Homepage": "http://harfbuzz.org", | ||
"Version": "10.1.0", | ||
"DownloadLocation": "https://github.com/harfbuzz/harfbuzz/releases/tag/10.1.0", | ||
|
||
"PURL": "pkg:github/harfbuzz/[email protected]", | ||
"CPE": "cpe:2.3:a:harfbuzz_project:harfbuzz:10.1.0:*:*:*:*:*:*:*", | ||
"License": "MIT License", | ||
"LicenseId": "MIT", | ||
"LicenseFile": "COPYING", | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ | |
"Homepage": "http://libjpeg-turbo.virtualgl.org/", | ||
"Version": "3.0.4", | ||
"DownloadLocation": "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.0.4/libjpeg-turbo-3.0.4.tar.gz", | ||
"PURL": "pkg:github/libjpeg-turbo/[email protected]", | ||
"CPE": "cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:3.0.4:*:*:*:*:*:*:*", | ||
|
||
"License": "Independent JPEG Group License and BSD 3-Clause \"New\" or \"Revised\" License", | ||
"LicenseId": "IJG AND BSD-3-Clause", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ | |
"Homepage": "http://www.libpng.org/pub/png/libpng.html", | ||
"Version": "1.6.44", | ||
"DownloadLocation": "https://download.sourceforge.net/libpng/libpng-1.6.44.tar.xz", | ||
"PURL": "pkg:github/pnggroup/[email protected]", | ||
"CPE": "cpe:2.3:a:libpng:libpng:1.6.44:*:*:*:*:*:*:*", | ||
|
||
"License": "libpng License and PNG Reference Library version 2", | ||
"LicenseId": "Libpng AND libpng-2.0", | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,7 @@ | |
"LicenseFile": "LICENSE.md", | ||
"Version": "0.5.2", | ||
"DownloadLocation": "https://github.com/mity/md4c/releases/tag/release-0.5.2", | ||
"PURL": "pkg:github/mity/[email protected]", | ||
"CPE": "cpe:2.3:a:md4c_project:md4c:0.5.2:*:*:*:*:*:*:*", | ||
"Copyright": "Copyright © 2016-2024 Martin Mitáš" | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
"Homepage": "http://www.pcre.org/", | ||
"Version": "10.44", | ||
"DownloadLocation": "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.44/pcre2-10.44.tar.bz2", | ||
"PURL": "pkg:github/PCRE2Project/[email protected]", | ||
"CPE": "cpe:2.3:a:pcre:pcre2:10.44:*:*:*:*:*:*:*", | ||
"License": "BSD 3-clause \"New\" or \"Revised\" License with PCRE2 binary-like Packages Exception", | ||
"LicenseId": "LicenseRef-BSD-3-Clause-with-PCRE2-Binary-Like-Packages-Exception", | ||
"LicenseFile": "LICENCE", | ||
|
@@ -27,6 +29,8 @@ | |
"Homepage": "http://www.pcre.org/", | ||
"Version": "10.44", | ||
"DownloadLocation": "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.44/pcre2-10.44.tar.bz2", | ||
"PURL": "pkg:github/PCRE2Project/[email protected]", | ||
"CPE": "cpe:2.3:a:pcre:pcre2:10.44:*:*:*:*:*:*:*", | ||
"License": "BSD 2-clause \"Simplified\" License", | ||
"LicenseId": "BSD-2-Clause", | ||
"LicenseFile": "LICENCE-SLJIT", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,10 @@ | |
"Description": "pixman is a library that provides low-level pixel manipulation features such as image compositing and trapezoid rasterization.", | ||
"Homepage": "http://www.pixman.org/", | ||
"Version": "0.17.12", | ||
"PURL": "pkg:generic/[email protected]?download_url=http://www.pixman.org/", | ||
"License": "MIT License", | ||
"LicenseFile": "LICENSE", | ||
"LicenseId": "MIT", | ||
"Copyright": "Copyright © 2009 Nokia Corporation" | ||
"Copyright": "Copyright © 2009 Nokia Corporation", | ||
"Comment": "no relevant CPE found" | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,11 @@ | |
"QtUsage": "Used in Qt Core (QCryptographicHash).", | ||
|
||
"Description": "Implements the Secure Hash Algorithms SHA 1", | ||
"PURL": "pkg:generic/csha1?download_url=https://www.dominik-reichl.de/projects/csha1/", | ||
"Homepage": "http://www.dominik-reichl.de/projects/csha1/", | ||
"License": "Public Domain", | ||
"LicenseId": "LicenseRef-SHA1-Public-Domain", | ||
"Copyright": ["Copyright (C) Dominik Reichl <[email protected]>", | ||
"Copyright (C) 2016 The Qt Company Ltd"] | ||
"Copyright (C) 2016 The Qt Company Ltd"], | ||
"Comment": "no relevant CPE found" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,13 @@ | |
"Files": "brg_endian.h", | ||
|
||
"Description": "SHA-3, originally known as Keccak, is a cryptographic hash function.", | ||
"Version": "https://github.com/BrianGladman/sha/ commit 4b9e13ead2c5b5e41ca27c65de4dd69ae0bac228", | ||
"Version": "4b9e13ead2c5b5e41ca27c65de4dd69ae0bac228", | ||
"PURL": "pkg:github/BrianGladman/sha@4b9e13ead2c5b5e41ca27c65de4dd69ae0bac228", | ||
"License": "BSD 2-clause \"Simplified\" License", | ||
"LicenseFile": "BRG_ENDIAN_LICENSE", | ||
"LicenseId": "BSD-2-Clause", | ||
"Copyright": "Copyright (c) 1998-2013, Brian Gladman, Worcester, UK. All rights reserved." | ||
"Copyright": "Copyright (c) 1998-2013, Brian Gladman, Worcester, UK. All rights reserved.", | ||
"Comment": "no relevant CPE found" | ||
}, | ||
{ | ||
"Id": "sha3_keccak", | ||
|
@@ -36,10 +38,12 @@ | |
|
||
"Description": "SHA-3, originally known as Keccak, is a cryptographic hash function.", | ||
"Version": "3.2", | ||
"PURL": "pkg:generic/[email protected]?download_url=https://keccak.team/obsolete/KeccakReferenceAndOptimized-3.2.zip", | ||
"License": "Creative Commons Zero v1.0 Universal", | ||
"LicenseId": "CC0-1.0", | ||
"LicenseFile": "CC0_LICENSE", | ||
"Copyright": "Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.\nTo the extent possible under law, the implementers have waived all copyright | ||
and related or neighboring rights to the source code in this file." | ||
and related or neighboring rights to the source code in this file.", | ||
"Comment": "no relevant CPE found" | ||
} | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,14 @@ | |
"Description": "Implements the SipHash algorithm.", | ||
"Homepage": "https://131002.net/siphash/", | ||
"DownloadLocation": "https://raw.githubusercontent.com/veorq/SipHash/adcbf09b1684a718f594faa650ffc56bacdb0777/siphash24.c", | ||
"PURL": "pkg:github/veorq/SipHash@adcbf09b1684a718f594faa650ffc56bacdb0777", | ||
|
||
"License": "Creative Commons Zero v1.0 Universal", | ||
"LicenseId": "CC0-1.0", | ||
"Copyright": [ | ||
"Copyright (C) 2012-2014 Jean-Philippe Aumasson", | ||
"Copyright (C) 2012-2014 Daniel J. Bernstein <[email protected]>", | ||
"Copyright (C) 2016 Intel Corporation" | ||
] | ||
], | ||
"Comment": "no relevant CPE found" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ | |
"Description": "SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.", | ||
"Homepage": "https://www.sqlite.org/", | ||
"Version": "3.47.0", | ||
"PURL": "pkg:github/sqlite/[email protected]", | ||
"CPE": "cpe:2.3:a:sqlite:sqlite:3.47.0:*:*:*:*:*:*:*", | ||
"DownloadLocation": "https://www.sqlite.org/2024/sqlite-amalgamation-3470000.zip", | ||
"License": "SQLite Blessing", | ||
"LicenseId": "blessing", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
"LicenseId": "MIT", | ||
"LicenseFile": "LICENSE", | ||
"DownloadLocation": "https://github.com/intel/tinycbor/archive/v0.6.0/tinycbor-0.6.0.tar.gz", | ||
"PURL": "pkg:github/intel/[email protected]", | ||
"CPE": "cpe:2.3:a:tinycbor:tinycbor:0.6.0:*:*:*:*:*:*:*", | ||
"Version": "0.6.0", | ||
"Copyright": "Copyright (C) 2015-2021 Intel Corporation" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,13 @@ | |
|
||
"Homepage": "https://dejavu-fonts.github.io/", | ||
"Version": "2.37", | ||
"PURL": "pkg:generic/[email protected]?download_url=https://dejavu-fonts.github.io/", | ||
"License": "Bitstream Vera Font License", | ||
"LicenseId": "Bitstream-Vera", | ||
"LicenseFile": "DEJAVU-LICENSE", | ||
"Copyright": ["Copyright (c) 2003 by Bitstream, Inc", | ||
"Copyright (c) 2006 by Tavmjong Bah", | ||
"(c) American Mathematical Society"] | ||
"(c) American Mathematical Society"], | ||
"Comment": "no relevant CPE found" | ||
} | ||
] |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ | |
"Homepage": "https://zlib.net/", | ||
"Version": "1.3.1", | ||
"DownloadLocation": "https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz", | ||
"PURL": "pkg:github/madler/[email protected]", | ||
"CPE": "cpe:2.3:a:zlib:zlib:1.3.1:*:*:*:*:*:*:*", | ||
|
||
"License": "zlib License", | ||
"LicenseId": "Zlib", | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.