licensing: make the project REUSE-compliant
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 3 Feb 2021 12:14:41 +0000 (13:14 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 18 Feb 2021 16:42:08 +0000 (17:42 +0100)
commitdfb707c255120a8ee4244808cddd51d6791ae530
tree84e5a3cc20242b85f12444a4b6054379212e43df
parent94b6b59b2b4d4b9563a7d0c37ed5bdd14652e262
licensing: make the project REUSE-compliant

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>
87 files changed:
.gitignore
COPYING
Doxyfile.in
LICENSES/CC-BY-SA-4.0.txt [new file with mode: 0644]
LICENSES/GPL-2.0-only.txt [new file with mode: 0644]
LICENSES/GPL-2.0-or-later.txt [new symlink]
LICENSES/LGPL-2.1-or-later.txt [new file with mode: 0644]
LICENSES/Linux-syscall-note.txt [new file with mode: 0644]
Makefile.am
NEWS
README
TODO
autogen.sh
bindings/Makefile.am
bindings/cxx/Makefile.am
bindings/cxx/chip.cpp
bindings/cxx/examples/.gitignore
bindings/cxx/examples/Makefile.am
bindings/cxx/examples/gpiodetectcxx.cpp
bindings/cxx/examples/gpiofindcxx.cpp
bindings/cxx/examples/gpiogetcxx.cpp
bindings/cxx/examples/gpioinfocxx.cpp
bindings/cxx/examples/gpiomoncxx.cpp
bindings/cxx/examples/gpiosetcxx.cpp
bindings/cxx/gpiod.hpp
bindings/cxx/iter.cpp
bindings/cxx/libgpiodcxx.pc.in
bindings/cxx/line.cpp
bindings/cxx/line_bulk.cpp
bindings/cxx/tests/.gitignore
bindings/cxx/tests/Makefile.am
bindings/cxx/tests/gpio-mockup.cpp
bindings/cxx/tests/gpio-mockup.hpp
bindings/cxx/tests/gpiod-cxx-test-main.cpp
bindings/cxx/tests/gpiod-cxx-test.cpp
bindings/cxx/tests/tests-chip.cpp
bindings/cxx/tests/tests-event.cpp
bindings/cxx/tests/tests-iter.cpp
bindings/cxx/tests/tests-line.cpp
bindings/python/Makefile.am
bindings/python/examples/Makefile.am
bindings/python/examples/gpiodetect.py
bindings/python/examples/gpiofind.py
bindings/python/examples/gpioget.py
bindings/python/examples/gpioinfo.py
bindings/python/examples/gpiomon.py
bindings/python/examples/gpioset.py
bindings/python/gpiodmodule.c
bindings/python/tests/Makefile.am
bindings/python/tests/gpiod_py_test.py
bindings/python/tests/gpiomockupmodule.c
configure.ac
include/Makefile.am
include/gpiod.h
lib/Makefile.am
lib/core.c
lib/helpers.c
lib/libgpiod.pc.in
lib/misc.c
lib/uapi/gpio.h
man/.gitignore
man/Makefile.am
man/template
tests/.gitignore
tests/Makefile.am
tests/gpiod-test.c
tests/gpiod-test.h
tests/mockup/Makefile.am
tests/mockup/gpio-mockup.c
tests/mockup/gpio-mockup.h
tests/tests-bulk.c
tests/tests-chip.c
tests/tests-event.c
tests/tests-line.c
tests/tests-misc.c
tools/.gitignore
tools/Makefile.am
tools/gpio-tools-test
tools/gpio-tools-test.bats
tools/gpiodetect.c
tools/gpiofind.c
tools/gpioget.c
tools/gpioinfo.c
tools/gpiomon.c
tools/gpioset.c
tools/tools-common.c
tools/tools-common.h