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

Bug 567362

Summary: net-libs/libtirpc LICENSE is wrong
Product: Gentoo Linux Reporter: Richard Yao (RETIRED) <ryao>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: licenses, sam
Priority: Normal Keywords: REGRESSION
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Yao (RETIRED) gentoo-dev 2015-12-02 19:11:12 UTC
The license on net-libs/libtirpc is set to GPL-2, which appears to be wrong. It was never GPL-2 and upstream switched to BSD when making it GPL-compatible. Upstream claims it is BSD:

http://sourceforge.net/projects/libtirpc/
http://git.infradead.org/users/steved/libtirpc.git?a=search&h=HEAD&st=commit&s=license

It was supposed to be fixed 6 years ago for bug #271921, but it does not appear to be fixed as the ebuild reports it is GPL-2:

# equery m libtirpc
 * net-libs/libtirpc [gentoo]
Herd:        net-fs (net-fs@gentoo.org)
Maintainer:  None specified
Upstream:    Remote-ID:   libtirpc ID: sourceforge
Homepage:    http://libtirpc.sourceforge.net/
Location:    /usr/portage/net-libs/libtirpc
Keywords:    0.1.10:0: 
Keywords:    0.2.4-r1:0: 
Keywords:    0.2.4-r2:0: 
Keywords:    0.2.5:0: alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sh sparc x86
Keywords:    0.3.1:0: ~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
Keywords:    1.0.1:0/3: ~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
License:     GPL-2
Comment 1 SpanKY gentoo-dev 2015-12-02 21:44:56 UTC
i do not care about LICENSE fields.  feel free to change the field in any ebuild as long as you include the justification in your commit message.
Comment 2 Ulrich Müller gentoo-dev 2015-12-03 09:51:25 UTC
Checking the source files' headers, I see all of the following licenses there:
BSD BSD-2 BSD-4 GPL-2+
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-19 03:10:53 UTC
Yep, it certainly seems that way. I was doing a search of libtirpc bugs so I would've come across this anyway, but I actually saw this a few hours ago: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=1afac573304d2dfe6e57999510bd14b9a5602e55.
Comment 4 Ulrich Müller gentoo-dev 2022-06-27 17:30:53 UTC
ping
Comment 5 Mike Gilbert gentoo-dev 2022-06-27 17:43:24 UTC
(In reply to Ulrich Müller from comment #4)
> ping

Patches welcome.
Comment 6 Larry the Git Cow gentoo-dev 2022-06-27 17:57:44 UTC
The bug has been closed via the following commit(s):

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

commit 7349feacb786504c253b26db9033ce70144b8217
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-06-27 17:56:48 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-06-27 17:57:30 +0000

    net-libs/libtirpc: update LICENSE
    
    Closes: https://bugs.gentoo.org/567362
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-libs/libtirpc/libtirpc-1.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Ulrich Müller gentoo-dev 2022-06-27 18:14:29 UTC
(In reply to Larry the Git Cow from comment #6)

LGPL-2.1+ for nislib.h, I suppose? (I wouldn't have added that one, but I guess one can come to different conclusions about it.)
Comment 8 Mike Gilbert gentoo-dev 2022-06-27 18:22:09 UTC
(In reply to Ulrich Müller from comment #7)

I spotted this at the top of src/des_impl.c:

/* Copyright (C) 1992 Eric Young */
/* Collected from libdes and modified for SECURE RPC by Martin Kuck 1994 */
/* This file is distributed under the terms of the GNU Lesser General */
/* Public License, version 2.1 or later - see the file COPYING.LIB for details.*/
/* If you did not receive a copy of the license with this program, please*/
/* see <http://www.gnu.org/licenses/> to obtain a copy.  */