[patch V2 0/7] LICENSES: Add missing License Text and provide a checker script

From: Thomas Gleixner
Date: Wed Apr 25 2018 - 16:54:50 EST

There are a few bogus SPDX identifiers in various files and SPDX
Identifiers used in tree or about to be used which have no corresponding
License Text file in the LICENSES directory or use the new variant of the
GPL-2.0[+] license identifiers which are not mentioned in the GPL-2.0
Valid-License-Identifiers: tags.

There is no tool which can be used to scan the tree and also nothing which
helps people who submit patches to check their stuff before submission.

The following series cleans that up:

- Add GPL-2.0-only and GPL-2.0-or-later identifiers to the GPL2.0 license
and the Linux-syscall-note exception

- Add X11, Apache-2.0, CC-BY-SA-4.0, CCDL-1.0, Linux-OpenIB license texts
to the LICENSES directory along with the required documentation texts

- Add a checker script which can read a single file or even a patch from
the command line or does a full git tree scan

Changes vs. V1:

- Fix whitespace and UTF-8 damage in various licenses

- Add the GPL-2.0-only/or-later ids to the valid licenses for the
Linux-syscall-note exception to make the checker work

- Add a checker script

- Dropped the patches for the bogus identifiers as they have been picked
up by the maintainers

LICENSES/exceptions/Linux-syscall-note | 2
LICENSES/preferred/GPL-2.0 | 6
b/LICENSES/other/Apache-2.0 | 183 +++++++++++++++
b/LICENSES/other/CC-BY-SA-4.0 | 397 +++++++++++++++++++++++++++++++++
b/LICENSES/other/CDDL-1.0 | 364 ++++++++++++++++++++++++++++++
b/LICENSES/other/Linux-OpenIB | 26 ++
b/LICENSES/other/X11 | 37 +++
b/scripts/spdxcheck.py | 260 +++++++++++++++++++++
8 files changed, 1274 insertions(+), 1 deletion(-)