Index | Thread | Search

From:
Jan Klemkow <jan@openbsd.org>
Subject:
Re: new port license-scanner-spdx-licenses
To:
Martin Hauser <mhauser@genua.de>
Cc:
ports@openbsd.org
Date:
Sat, 13 Sep 2025 18:11:24 +0200

Download raw body.

Thread
On Thu, Jul 11, 2024 at 03:17:16PM +0200, Martin Hauser wrote:
> I got another new port here, following license-scanner yesterday. I
> discovered after playing around more with license scanner that the
> identification rate can be enhanced by using updated data from the SPDX
> Project. These files need to be processed by license-scanner to be
> usable when scanning for licenses, but then can be used to recognize
> more obscure or older licenses that are not built into the tool.
> 
> There's a few things I'm not sure about on this port, especially
> whether having RUN_DEPENDS on license-scanner is actually correct,
> given that these are only data created from what SPDX provides.
> 
> I'd appreciate any tests and feedback, it works on my amd64 machine
> both for the port itself, as well as using its output to detect
> licenses (an easy test is using lgpl 2, which is only detected once
> the data is used).
> 
> Any feedback and suggestions welcome.

I tested you port.  Works for me.  I fixed a few spacing issues.
It looks ok for me, but I'm not a ports expert.

Thanks,
jan