Ninka, and SPDX On the linux kernel and BSD licenses


dmg
 

Hi Everybody,

I started implementing SPDX licenses in Ninka. I started with the BSDs
(4, 3 and 2).

My goal is to try to 'SPDX' the kernel before LinuxCon. Of the files
that Ninka is properly identifying their license, there are many with
other variants of the BSD:


----------------------------------------------------------------------
71 BSD3
37 spdxBSD2
13 spdxBSD3
8 GPLv2,BSD3
8 GPLv2+,spdxBSD2
5 BSD2EndorseInsteadOfBinary
3 GPLv2,BSD3NoWarranty
2 spdxBSD4
2 SeeFile,BSD3
2 BSDOnlyEndorseNoWarranty
1 GPLv2+,spdxBSD3
1 GPLv2+,BSD3
1 GPLv2+,BSD2var2
----------------------------------------------------------------------

Here is an example of the BSD3 (non-spdx):

./drivers/net/wimax/i2400m/usb-tx.c

The sentence that does not match the SPDX version is:

Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

instead of:

Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.


Here is another example of the BSD3 (non-spdx):

./fs/nfsd/nfs4recover.c

This is the sentence that does not match:

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.

instead of:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.



--
Daniel M. German
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

Join {spdx@lists.spdx.org to automatically receive all group messages.