Spdk/LICENSE
Jim Harris 488570ebd4 Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers
to specify license information, reducing the amount of
boilerplate code in every source file.  This patch replaces
the bulk of SPDK .c, .cpp and Makefiles with the BSD-3-Clause
identifier.

Almost all of these files share the exact same license text,
and this patch only modifies the files that contain the
most common license text.  There can be slight variations
because the third clause contains company names - most say
"Intel Corporation", but there are instances for Nvidia,
Samsung, Eideticom and even "the copyright holder".

Used a bash script to automate replacement of the license text
with SPDX identifier which is checked into scripts/spdx.sh.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Iaa88ab5e92ea471691dc298cfe41ebfb5d169780
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12904
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: <qun.wan@intel.com>
2022-06-09 07:35:12 +00:00

36 lines
1.3 KiB
Plaintext

The SPDK repo contains multiple git submodules each with its own
license info.
Submodule license info:
dpdk: see dpdk/license
intel-ipsec-mb: see intel-ipsec-mb/LICENSE
isa-l: see isa-l/LICENSE
libvfio-user: see libvfio-user/LICENSE
ocf: see ocf/LICENSE
The rest of the SPDK repository uses the Open Source BSD-3-Clause
license. SPDK also uses SPDX Unique License Identifiers to eliminate
the need to copy the license text into each individual file.
Any new file contributions to SPDK shall adhere to the BSD-3-Clause
license and use SPDX identifiers. Exceptions are subject to usual
review and must be listed in this file.
Exceptions:
* include/linux/* header files are BSD-3-Clause but do not use SPDX
identifier to keep them identical to the same header files in the
Linux kernel source tree.
* include/spdk/tree.h and include/spdk/queue_extras are BSD-2-Clause,
since there were primarily imported from FreeBSD. tree.h uses an SPDX
identifier but also the license text to reduce differences from the
FreeBSD source tree.
* lib/util/base64_neon.c is BSD-2-Clause.
* lib/util/base64_neon.c, lib/util/base64_sve.c,
script/vagrant/run-autorun.sh and test/app/match/match do not use SPDX
identifers. This will be cleaned up in a future patch, to keep SPDX
additions in this patch limited to the automated script replacement.