On 26/10/2024 19:13, Simon Josefsson wrote:
Package: licenserecon
Version: 2.1

Hi!  I noticed this problem in the gssproxy package, for this file:

https://sources.debian.org/src/gssproxy/0.9.2-2/contrib/gssproxy.spec.in/

It contains this string `License: MIT` and licensecheck reports:

gssproxy.spec.in: *No copyright* MIT License

When I run lrc it says:

: Versions: recon 2.1  check 3.3.9-1
Parsing Source Tree  ....
Reading d/copyright  ....
Running licensecheck ....
d/copyright      | licensecheck
MIT              | Expat             contrib/gssproxy.spec.in

Where does lrc get 'Expat' from?  Is this a bug?  It seems licensecheck
says 'MIT' and debian/copyright also says 'MIT' so that seems equal.

/Simon

Hi Simon,

lrc runs licensecheck with the command
licensecheck -m -r --shortname-scheme debian . | grep -v UNKNOWN

The key bit is --shortname-scheme debian
that is where the Expat comes from.

From Policy
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification
  "There are many versions of the MIT license. Please use Expat instead, when it matches."

(You will get MIT if you run lrc in spdx mode,  ie    lrc -x)


Regards,
Peter

Reply via email to