Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 880287

Summary: media-libs/plotutils has incorrect LICENSE
Product: Gentoo Linux Reporter: ganooslashlinus
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: licenses, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: scancode-toolkit output

Description ganooslashlinus 2022-11-08 04:37:18 UTC
Created attachment 828555 [details]
scancode-toolkit output

All ebuilds: LICENSE="GPL-2"

COPYING is a copy of the GPLv3.

Every copyright header notes GPLv2-or-later, but I can't find any files that are GPLv2-only with scancode-toolkit.

As COPYING is the GPLv3, should be: LICENSE="GPL-3+"
Comment 1 Pacho Ramos gentoo-dev 2024-09-05 13:33:28 UTC
In Fedora they set GPL-2+ and GPL-3+:
https://src.fedoraproject.org/rpms/plotutils/blob/rawhide/f/plotutils.spec#_6
Comment 2 Ulrich Müller gentoo-dev 2024-09-05 18:43:45 UTC
I see only two files with a GPL-3+ header, namely info/gendocs.sh and info/texinfo.tex. Neither of them is used for building the package; the build still succeeds (and build.log is basically identical) when I remove the files.

Otherwise there are GPL-2+ headers, so the ebuild should list GPL-2+ as the package's license.


(In reply to ganooslashlinus from comment #0)
> Every copyright header notes GPLv2-or-later, but I can't find any files that
> are GPLv2-only with scancode-toolkit.

Right, this agrees with my own findings.

> As COPYING is the GPLv3, should be: LICENSE="GPL-3+"

By our policy, explicit license notices in files (which say GPL-2+) take precedence over COPYING.

Policy reference:
https://devmanual.gentoo.org/general-concepts/licenses/index.html#determining-the-correct-license

tl;dr
LICENSE="GPL-2+"
Comment 3 Larry the Git Cow gentoo-dev 2024-09-06 09:46:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e82624dd33e7f133d2fe79b98be4ae19384eeb6

commit 2e82624dd33e7f133d2fe79b98be4ae19384eeb6
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2024-09-06 09:45:53 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2024-09-06 09:46:31 +0000

    media-libs/plotutils: update LICENSE
    
    Closes: https://bugs.gentoo.org/880287
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-libs/plotutils/plotutils-2.6-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Pacho Ramos gentoo-dev 2024-09-06 18:15:08 UTC
Thanks a lot!