NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/61113: rpc/types.h (and the rest of include/rpc/*.h) still have the pre-2010 non-free Sun RPC licence -- please relicense to BSD-3 like FreeBSD



>Number:         61113
>Category:       lib
>Synopsis:       rpc/types.h (and the rest of include/rpc/*.h) still have the pre-2010 non-free Sun RPC licence -- please relicense to BSD-3 like FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 02 13:30:00 +0000 2026
>Originator:     Edmund
>Release:        11.1
>Organization:
>Environment:
>Description:
src/include/rpc/types.h still has Sun's old restrictive legend ("Users may copy or modify Sun RPC without charge, but are not authorized to license or distribute it to anyone else except as part of a product or program developed by the user."). This text is not DFSG/OSI-free, which is why Debian currently has to strip this file (and ships a substitute) when repackaging software that vendors NetBSD's libc headers, e.g. zig (where it is used for cross-compiling to NetBSD).

This isn't limited to types.h: auth.h, svc.h, and apparently the rest of include/rpc/ carry the identical legend.

Sun announced in 2009 that it would relicense the ONC/Sun RPC code to 3-clause BSD (LWN coverage (https://lwn.net/Articles/319648/)), and Oracle reconfirmed/extended the grant for the remaining files in 2010 (LWN: "The long, sordid tale of Sun RPC" (https://lwn.net/Articles/402312/)).

FreeBSD already picked this up: its sys/rpc/types.h (which still carries NetBSD's own revision tag, $NetBSD: types.h,v 1.13 2000/06/13 01:02:44 thorpej Exp $, as its first line) was relicensed in commit 2e322d379631 (https://github.com/freebsd/freebsd-src/commit/2e322d379631c3bd6107e295f3e5d814c7845fc7) (2013-11-25, "Replace Sun RPC license in TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009").

That commit covered 102 files total: all of FreeBSD's include/rpc/, lib/libc/rpc/, and sys/rpc/ trees. Could NetBSD apply the same relicensed text to its own, still-unrelicensed rpc/*.h headers?

Thank you very much for your time and energy!

Kind regards,

Edmund Lodewijks

>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index