[Gluster-devel] Rejected NetBSD patches

Emmanuel Dreyfus manu at netbsd.org
Sat Apr 28 04:46:16 UTC 2012


Hi

I still have two unintegrated patches required to build glusterfs on
NetBSD. Those were rejected some time ago to licensing concerns.

1) There is the xdr_sizeof(), stolen from FreeBSD. It has an odd Sun
license "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 of program developed by the user."

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/filesystems/glusterfs/patches
/patch-bk?rev=1.6

2) There are basename_r() and dirname_r(), stolen from GNU libc, which
are licensed GPL v2.1 or later

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/filesystems/glusterfs/patches
/patch-be?rev=1.8

I understand that license mixing is undesirable, as it taints files and
can cause problems later. On the other hand, having a glusterfs able to
build out of the git on NetBSD would be nice. Would that code be
accepted in tree if it was in a dedicated file? That way other glusterfs
code would not be tainted, and the file can just be removed by anyone
having a licencing issue. 

If the proposal is accepted, I propose adding a
libglusterfs/src/compat_netbsd.c, which would be #include'ed with #ifdef
__NetBSD__




-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list