Translate Portage license strings to SPDX expressions (#1763)

* fix portage license handling

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* cover license_group file

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* add licenses to portage metadata in json schema

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2025-05-12 21:03:51 -04:00
committed by GitHub
parent 58392a9717
commit e3e69596bd
16 changed files with 3629 additions and 105 deletions
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "anchore.io/schema/syft/json/16.0.28/document",
"$id": "anchore.io/schema/syft/json/16.0.29/document",
"$ref": "#/$defs/Document",
"$defs": {
"AlpmDbEntry": {
@@ -2266,6 +2266,9 @@
"installedSize": {
"type": "integer"
},
"licenses": {
"type": "string"
},
"files": {
"items": {
"$ref": "#/$defs/PortageFileRecord"