Commit Graph
4 Commits
Author SHA1 Message Date
Yuriy Tumanov 2d8cc94c02 fix(java): preserve Eclipse Classpath license expressions (#5080)
* fix(java): preserve Eclipse Classpath license expressions

Signed-off-by: Eljees <yurytumanov.r@yandex.ru>

* chore: use tagged switch for quote handling in splitUnquoted

Signed-off-by: Eljees <3.14hell@gmail.com>

* Fix unquoted Apache license names in Java manifests

Recognize the FreeMarker Bundle-License name as Apache-2.0 while
preserving neighboring license clauses and parameters.

Assisted-by: OpenAI Codex
Signed-off-by: Eljees <3.14hell@gmail.com>

---------

Signed-off-by: Eljees <yurytumanov.r@yandex.ru>
Signed-off-by: Eljees <3.14hell@gmail.com>
2026-11-12 13:11:54 -05:00
Will Murphy c511d509ef fix: match opensource.org license URLs across SPDX URL forms (#5361)
SPDX license list 3.29.0 rewrote every opensource.org seeAlso URL from
opensource.org/licenses/<ID> to opensource.org/license/<ID> (and e.g.
opensource.org/license/mit/ to opensource.org/license/MIT). Package metadata
in the wild (Maven POM <license><url>, npm, etc.) still uses the older forms,
so regenerating the list would stop LicenseByURL from resolving them.

Fall back to a normalized index of the opensource.org entries that ignores the
www. prefix, /licenses/ vs /license/, case, and a trailing slash. The index is
built from the generated urlToLicense map, so it works with both the current
and the updated license list without changes to the generator. URL forms that
would normalize to different licenses are left out rather than guessed.

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
2026-09-30 15:07:12 +00:00
Christopher Angelo Phillips c94d1ccf1c fix: lookup alternate scheme on url->licenseID (#4588)
---------
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
2026-01-30 14:25:27 -05:00
Christopher Angelo Phillips 89470ecdd3 feat: update syft license construction to be able to look up by URL (#4132)
---------
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
2025-08-12 14:30:32 -04:00