Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881627 - dev-libs/libiconv-1.17 has incorrect LICENSE
Summary: dev-libs/libiconv-1.17 has incorrect LICENSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-17 07:25 UTC by ganooslashlinus
Modified: 2023-04-25 15:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ganooslashlinus 2022-11-17 07:25:17 UTC
LICENSE="LGPL-2.1"

NEWS:
New in 1.17:
* The libiconv library is now licensed under the LGPL version 2.1, instead of
  the LGPL version 2.0. The iconv program continues to be licensed under GPL
  version 3.
...

The comment refers to upgrading from: LGPLv2+ to LGPLv2.1+ and not LGPLv2+ to LGPLv2.1-only.

Under lib/, most of the files have in the header:
...
 * The GNU LIBICONV Library is free software; you can redistribute it
 * and/or modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either version 2.1
 * of the License, or (at your option) any later version.
...

The change seems to have been a bit sloppy, as some files have:
...
 * The GNU LIBICONV Library is free software; you can redistribute it
 * and/or modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
...

As "Lesser" and not "Library" is noted, the author(s) actually mean version 2.1.

src/iconv.c:
...
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.
...


Therefore, should be: LICENSE="LGPL-2.1+ GPL-3+"
Comment 1 Larry the Git Cow gentoo-dev 2023-04-25 15:20:00 UTC
The bug has been closed via the following commit(s):

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

commit d4b45dea7cc06c0b821d33629c8785d12efef54b
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2023-04-25 15:19:13 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2023-04-25 15:19:13 +0000

    dev-libs/libiconv-1.17: fix licence, bug #881627
    
    Closes: https://bugs.gentoo.org/881627
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 dev-libs/libiconv/libiconv-1.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)