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+"
In Fedora they set GPL-2+ and GPL-3+: https://src.fedoraproject.org/rpms/plotutils/blob/rawhide/f/plotutils.spec#_6
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+"
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(-)
Thanks a lot!