mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-24 00:48:53 +03:00
In order to make the licensing situation of libgpiod clear and enable
easy reusing of the code, let's make all the files in the repository
compliant with the REUSE v3.0 specification.
In order to achieve that:
- put all used licenses into a separate LICENSES/ directory
- add SPDX license identifiers to all files that were missing them with
regular text files being licensed under CC-BY-SA-4.0, while files
containing code and configuration are licensed under GPL-2.0-or-later
- replace custom copyright texts with SPDX-FileCopyrightText
- update the gpio.h kernel uAPI header with the upstream version where
the SDPX license identifier was fixed to use 'GPL-2.0-only' variant
instead of the deprecated 'GPL-2.0'
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Kent Gibson <warthog618@gmail.com>
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
SPDX-Exception-Identifier: Linux-syscall-note
|
|
SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
|
|
SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+, GPL-2.0-only, GPL-2.0-or-later
|
|
Usage-Guide:
|
|
This exception is used together with one of the above SPDX-Licenses
|
|
to mark user space API (uapi) header files so they can be included
|
|
into non GPL compliant user space application code.
|
|
To use this exception add it with the keyword WITH to one of the
|
|
identifiers in the SPDX-Licenses tag:
|
|
SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
|
|
License-Text:
|
|
|
|
NOTE! This copyright does *not* cover user programs that use kernel
|
|
services by normal system calls - this is merely considered normal use
|
|
of the kernel, and does *not* fall under the heading of "derived work".
|
|
Also note that the GPL below is copyrighted by the Free Software
|
|
Foundation, but the instance of code that it refers to (the Linux
|
|
kernel) is copyrighted by me and others who actually wrote it.
|
|
|
|
Also note that the only valid version of the GPL as far as the kernel
|
|
is concerned is _this_ particular version of the license (ie v2, not
|
|
v2.2 or v3.x or whatever), unless explicitly otherwise stated.
|
|
|
|
Linus Torvalds
|
|
|