openSUSE / cavil

The legal review and SBOM system used by SUSE and openSUSE
GNU General Public License v2.0
34 stars 6 forks source link

2-clause BSD license recognized as BSD unspecified #103

Closed lkocman closed 5 months ago

lkocman commented 5 months ago

We can get a bit better at recognizing particular BSD license. See my example Following snippet was recognized as BSD with unspecfied version, while it's clearly stated it's BSD-2-Clause

src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed   
under a 2-clause BSD license (license text in the source files). 

Even the opensource.org calls it "2-Clause BSD License" POPULAR / STRONG COMMUNITY The 2-Clause BSD License SPDX short identifier: BSD-2-Clause

lkocman commented 5 months ago

Closing my bad ... it was another part of the same copyright file ...

kraih commented 5 months ago

You can also browse the license list at https://legaldb.suse.de/licenses to see if there are any patterns with the wrong license name. Moving them around is a very minor change.