On 23/11/2024 15:14, Christian Göttsche wrote:
Package: licenserecon
Version: 3.1

Dear Maintainer,

while working on packaging systemd-netlogd[1] I noticed some, whats
looks to me as, false positives:
Hi Christian,

Thanks for your report.
In general, its helpful though to have separate bug reports for different problems.
I'll retitle this one and use it just for LGPL-2.1+ vs LGPL-2.1

LGPL-2.1+        | GPL-2             LICENSE.GPL2
LGPL-2.1+        | LGPL-2.1          LICENSE.LGPL2.1

These are license files, which I think licenserecon should ignore.
No.  They used to be excluded, but we came across a nasty bug.
An entire subdirectory had a significantly different license to the main project license and the only file that licensecheck detected on was 'license'. Which licenserecon then ignored! Not ignoring files called license etc. was intentionally reinstated in version 1.15 Note, you can ignore them, but adding LICENSE to a d/lrc.config for systemd-netlogd

LGPL-2.1+        | LGPL-2.1          meson.build
LGPL-2.1+        | LGPL-2.1          src/share/sd-resolve.c
Noted, fixing these.


LGPL-2+ and LGPL-2.1+| LGPL-2+ and/or LGPL-2.1 src/share/utf8.c

This seems like `and/or` does not match `and`.
`and/or` does not match `and`. They are different.
However, the real problem here is that the SPDX header for the file
does not match the license text.
(Probably a typo). I suggest raising this upstream.
They have id for LGPL-2.1+ in the header, but text for LGPL-2.0+ below.

You could maybe patch the header, or if uncomfortable with that,
just override it in d/lrc.config

LGPL-2.1+        | GPL-2             systemd-netlogd.spec

while systemd-netlogd.spec starts as:

```.spec files are tricky, because they list licenses for other files.
Name:           systemd-netlogd
Version:        1.4
Release:        1%{?dist}
Summary:        Forwards messages from the journal to other hosts over
the network using syslog format RFC 5424

License:        GPLv2 and LGPL-2.1+ and CC0
Which does not match either the licensecheck detect, or your d/copyright!
Suggest overriding this in d/lrc.config


Regards,
Peter

P.S.
Attaching a suggested lrc.config for systemd-netlogd



LICENSE
src/share/utf8.c
systemd-netlogd.spec

Reply via email to