diff mbox series

[2/9,final,act] Add missing SPDX headers to source files not specifying any license

Message ID 87ft4o4cqc.fsf@redhat.com
State New
Headers show
Series Relicensing Libabigail to Apache 2.0 + LLVM Exception | expand

Commit Message

Dodji Seketeli Dec. 2, 2020, 12:24 p.m. UTC
Default to the project's default - LGPLv3+ - for those.

	* Makefile.am: Add a LGPL-3.0-or-later SPDX header prefixed
	with '##' so that that the header doesn't get emitted in the
	resulting Makefile.in file.  Note that the license of Makefile.in
	files is "FSF All Permissible License", which virtually compatible
	with anything.
	* bash-completion/Makefile.am: Likewise.
	* doc/Makefile.am: Likewise
	* doc/manuals/Makefile.am: Likewise
	* include/Makefile.am: Likewise
	* src/Makefile.am: Likewise
	* tests/Makefile.am: Likewise
	* tests/data/Makefile.am: Likewise
	* tools/Makefile.am: Likewise
	* .clang-format: Add a LGPL-3.0-or-later SPDX header.
	* bash-completion/abicompat: Likewise.
	* bash-completion/abidiff: Likewise.
	* bash-completion/abidw: Likewise.
	* bash-completion/abilint: Likewise.
	* bash-completion/abinilint: Likewise.
	* bash-completion/abipkgdiff: Likewise.
	* bash-completion/abisym: Likewise.
	* bash-completion/fedabipkgdiff: Likewise.
	* configure.ac: Likewise.
	* default.abignore: Likewise.
	* doc/api/libabigail.doxy: Likewise.
	* doc/website/libabigail-website.doxy: Likewise.
	* include/abg-version.h.in: Likewise.
	* scripts/dot_to_png.sh: Likewise.
	* scripts/dot_to_svg.sh: Likewise.
	* scripts/make-verbose.sh: Likewise.
	* scripts/svg_to_plain_svg.sh: Likewise.
	* scripts/svg_to_png_and_pdf.sh: Likewise.
	* tests/runtestcanonicalizetypes.sh.in: Likewise.
	* tests/runtestdefaultsupprs.py.in: Likewise.
	* tests/runtestdefaultsupprspy3.sh.in: Likewise.
	* tests/runtestfedabipkgdiffpy3.sh.in: Likewise.
	* tests/update-test-output.py: Likewise.
	* update-copyright.sh: Likewise.

Signed-off-by: Benjamin De Kosnik <bkoz@gnu.org>
Signed-off-by: Ben Woodard <woodard@redhat.com>
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
Signed-off-by: Mark Wielaard <mark@klomp.org>
Signed-off-by: Matthias Klose <doko@ubuntu.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Ondrej Oprala <ondrej.oprala@gmail.com>
Signed-off-by: Roland McGrath <roland@hack.frob.com>
Signed-off-by: Sinny Kumari <ksinny@gmail.com>
Signed-off-by: Slava Barinov <v.barinov@samsung.com>

Applied to the master branch.

---
 .clang-format                        | 1 +
 Makefile.am                          | 1 +
 bash-completion/Makefile.am          | 1 +
 bash-completion/abicompat            | 1 +
 bash-completion/abidiff              | 1 +
 bash-completion/abidw                | 1 +
 bash-completion/abilint              | 1 +
 bash-completion/abinilint            | 1 +
 bash-completion/abipkgdiff           | 1 +
 bash-completion/abisym               | 1 +
 bash-completion/fedabipkgdiff        | 1 +
 configure.ac                         | 1 +
 default.abignore                     | 4 +++-
 doc/Makefile.am                      | 1 +
 doc/api/libabigail.doxy              | 2 ++
 doc/manuals/Makefile.am              | 2 ++
 doc/website/libabigail-website.doxy  | 1 +
 include/Makefile.am                  | 1 +
 include/abg-version.h.in             | 1 +
 scripts/dot_to_png.sh                | 1 +
 scripts/dot_to_svg.sh                | 1 +
 scripts/make-verbose.sh              | 1 +
 scripts/svg_to_plain_svg.sh          | 1 +
 scripts/svg_to_png_and_pdf.sh        | 1 +
 src/Makefile.am                      | 1 +
 tests/Makefile.am                    | 1 +
 tests/data/Makefile.am               | 2 +-
 tests/runtestcanonicalizetypes.sh.in | 1 +
 tests/runtestdefaultsupprs.py.in     | 1 +
 tests/runtestdefaultsupprspy3.sh.in  | 1 +
 tests/runtestfedabipkgdiffpy3.sh.in  | 1 +
 tests/update-test-output.py          | 1 +
 tools/Makefile.am                    | 1 +
 update-copyright.sh                  | 1 +
 34 files changed, 38 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/.clang-format b/.clang-format
index 1dd679d4..234be760 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 ---
 BasedOnStyle: GNU
 AlignConsecutiveDeclarations: true
diff --git a/Makefile.am b/Makefile.am
index 6b4098b1..7df9f008 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
 SUBDIRS = include src tools tests doc bash-completion
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 headers = config.h
diff --git a/bash-completion/Makefile.am b/bash-completion/Makefile.am
index 004474ec..e7027eea 100644
--- a/bash-completion/Makefile.am
+++ b/bash-completion/Makefile.am
@@ -1,3 +1,4 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
 #if ENABLE_BASH_COMPLETION
 EXTRA_DIST = \
 abicompat \
diff --git a/bash-completion/abicompat b/bash-completion/abicompat
index a5c87a18..d4ff950a 100644
--- a/bash-completion/abicompat
+++ b/bash-completion/abicompat
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _abicompat_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abidiff b/bash-completion/abidiff
index edd33c39..3e0ae5bf 100644
--- a/bash-completion/abidiff
+++ b/bash-completion/abidiff
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _abidiff_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abidw b/bash-completion/abidw
index 53463ae4..b83bc623 100644
--- a/bash-completion/abidw
+++ b/bash-completion/abidw
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _abidw_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abilint b/bash-completion/abilint
index 7df78d11..d34d243d 100644
--- a/bash-completion/abilint
+++ b/bash-completion/abilint
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _abilint_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abinilint b/bash-completion/abinilint
index 137b8392..0c240791 100644
--- a/bash-completion/abinilint
+++ b/bash-completion/abinilint
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _abinilint_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abipkgdiff b/bash-completion/abipkgdiff
index fc4f7cdd..894798bb 100644
--- a/bash-completion/abipkgdiff
+++ b/bash-completion/abipkgdiff
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _abipkgdiff_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abisym b/bash-completion/abisym
index dff49868..25bb0751 100644
--- a/bash-completion/abisym
+++ b/bash-completion/abisym
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _abisym_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/fedabipkgdiff b/bash-completion/fedabipkgdiff
index d074419f..2bfa4685 100644
--- a/bash-completion/fedabipkgdiff
+++ b/bash-completion/fedabipkgdiff
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 _fedabipkgdiff_module()
 {
 	local cur OPTS
diff --git a/configure.ac b/configure.ac
index 818d2fc9..2127b71b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 m4_define([version_major],   [2])
 m4_define([version_minor],   [0])
 
diff --git a/default.abignore b/default.abignore
index 4e320bac..3916f54a 100644
--- a/default.abignore
+++ b/default.abignore
@@ -1,3 +1,5 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
+#
 # This file contains default system-wide suppression specifications to
 # be used by Abigail tools[1] to filter out specific ABI change
 # reports when comparing the ABI of some core system binaries.
@@ -171,4 +173,4 @@ 
   soname_regexp = libvirt\\.so.*
 ####################################################
 # End of libvirt default suppression specifications
-####################################################
\ No newline at end of file
+####################################################
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 0794efdc..840fc7cf 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,4 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
 SUBDIRS = manuals
 
 EXTRA_DIST = api/libabigail.doxy website/libabigail-website.doxy
diff --git a/doc/api/libabigail.doxy b/doc/api/libabigail.doxy
index b460d260..a7cb987c 100644
--- a/doc/api/libabigail.doxy
+++ b/doc/api/libabigail.doxy
@@ -1,3 +1,5 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
+#
 # Doxyfile 1.8.3.1
 
 # This file describes the settings to be used by the documentation system
diff --git a/doc/manuals/Makefile.am b/doc/manuals/Makefile.am
index 5c31fa3d..342faf2a 100644
--- a/doc/manuals/Makefile.am
+++ b/doc/manuals/Makefile.am
@@ -1,3 +1,5 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
+#
 # Makefile for Sphinx documentation
 
 EXTRA_DIST = \
diff --git a/doc/website/libabigail-website.doxy b/doc/website/libabigail-website.doxy
index 2bf9fb4e..f86ff024 100644
--- a/doc/website/libabigail-website.doxy
+++ b/doc/website/libabigail-website.doxy
@@ -1,3 +1,4 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 # Doxyfile 1.8.3.1
 
 # This file describes the settings to be used by the documentation system
diff --git a/include/Makefile.am b/include/Makefile.am
index b5475252..e707c626 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,3 +1,4 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
 pkginclude_HEADERS =	\
 abg-sptr-utils.h	\
 abg-interned-str.h	\
diff --git a/include/abg-version.h.in b/include/abg-version.h.in
index 7d828a0f..5c564592 100644
--- a/include/abg-version.h.in
+++ b/include/abg-version.h.in
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-3.0-or-later
 #ifndef __ABG_VERSION_H__
 #define __ABG_VERSION_H__
 #define ABIGAIL_VERSION_MAJOR "@VERSION_MAJOR@"
diff --git a/scripts/dot_to_png.sh b/scripts/dot_to_png.sh
index 0929bddf..8125d154 100755
--- a/scripts/dot_to_png.sh
+++ b/scripts/dot_to_png.sh
@@ -1,4 +1,5 @@ 
 #!/bin/bash
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 for i in *.gv
 do
diff --git a/scripts/dot_to_svg.sh b/scripts/dot_to_svg.sh
index 72d298e8..559cc555 100755
--- a/scripts/dot_to_svg.sh
+++ b/scripts/dot_to_svg.sh
@@ -1,4 +1,5 @@ 
 #!/bin/bash
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 for i in *.gv
 do
diff --git a/scripts/make-verbose.sh b/scripts/make-verbose.sh
index 2389279e..f9bf4c84 100644
--- a/scripts/make-verbose.sh
+++ b/scripts/make-verbose.sh
@@ -1 +1,2 @@ 
+# SPDX-License-Identifier: LGPL-3.0-or-later
 make V=1
diff --git a/scripts/svg_to_plain_svg.sh b/scripts/svg_to_plain_svg.sh
index 5ebb7a4e..7e7d803c 100755
--- a/scripts/svg_to_plain_svg.sh
+++ b/scripts/svg_to_plain_svg.sh
@@ -1,4 +1,5 @@ 
 #!/bin/bash
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 for i in *.svg;
   do inkscape "$i" --export-plain-svg="${i//svg/plain.svg}"
diff --git a/scripts/svg_to_png_and_pdf.sh b/scripts/svg_to_png_and_pdf.sh
index b55515b0..d9e53d57 100755
--- a/scripts/svg_to_png_and_pdf.sh
+++ b/scripts/svg_to_png_and_pdf.sh
@@ -1,4 +1,5 @@ 
 #!/bin/bash
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 for i in *.svg;
   do inkscape "$i" --export-png="${i//svg/png}" --export-pdf="${i//svg/pdf}"
diff --git a/src/Makefile.am b/src/Makefile.am
index 1153a5f8..73e63ce3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,4 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
 lib_LTLIBRARIES=libabigail.la
 libabigaildir=$(libdir)
 
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3b333f60..514acd99 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,4 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
 SUBDIRS = data
 
 ZIP_ARCHIVE_TESTS =
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 7ca7439f..7594efbf 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -1,4 +1,4 @@ 
-
+## SPDX-License-Identifier: LGPL-3.0-or-later
 EXTRA_DIST = \
 test-read-write/test0.xml	\
 test-read-write/test1.xml	\
diff --git a/tests/runtestcanonicalizetypes.sh.in b/tests/runtestcanonicalizetypes.sh.in
index 1df6fe6a..34753c20 100644
--- a/tests/runtestcanonicalizetypes.sh.in
+++ b/tests/runtestcanonicalizetypes.sh.in
@@ -1,4 +1,5 @@ 
 #!/bin/sh
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 # This program launches "abidiff $binary $binary" on multiple
 # instances of $binary.  The expect result is for the command to show
diff --git a/tests/runtestdefaultsupprs.py.in b/tests/runtestdefaultsupprs.py.in
index 13c3cd5b..b8a57148 100644
--- a/tests/runtestdefaultsupprs.py.in
+++ b/tests/runtestdefaultsupprs.py.in
@@ -1,4 +1,5 @@ 
 #!/usr/bin/env @PYTHON@
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 '''Runs tests for the default suppression specifications of libabigail.
 
diff --git a/tests/runtestdefaultsupprspy3.sh.in b/tests/runtestdefaultsupprspy3.sh.in
index 4985206f..5ef50632 100644
--- a/tests/runtestdefaultsupprspy3.sh.in
+++ b/tests/runtestdefaultsupprspy3.sh.in
@@ -1,2 +1,3 @@ 
 #!/bin/bash
+# SPDX-License-Identifier: LGPL-3.0-or-later
 @PYTHON3_INTERPRETER@ "@abs_top_builddir@/tests/runtestdefaultsupprs.py"
diff --git a/tests/runtestfedabipkgdiffpy3.sh.in b/tests/runtestfedabipkgdiffpy3.sh.in
index 209037ce..5a41d50e 100644
--- a/tests/runtestfedabipkgdiffpy3.sh.in
+++ b/tests/runtestfedabipkgdiffpy3.sh.in
@@ -1,4 +1,5 @@ 
 #!/bin/bash -e
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 # Either tests runner script or the tools/fedabipkgdiff has shebang
 # `/usr/bin/env python`, as a result, to run tests in Python 3, we have to
diff --git a/tests/update-test-output.py b/tests/update-test-output.py
index 9f8dd032..c21dcadf 100755
--- a/tests/update-test-output.py
+++ b/tests/update-test-output.py
@@ -1,4 +1,5 @@ 
 #!/bin/python
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 # This program generates the copy commands you should use to update
 # the reference data for tests <build-dir>/tests/runtest* that emit an
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 6f949afe..937117d0 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,3 +1,4 @@ 
+## SPDX-License-Identifier: LGPL-3.0-or-later
 h=$(abs_srcdir)
 
 if ENABLE_ZIP_ARCHIVE
diff --git a/update-copyright.sh b/update-copyright.sh
index 9192affc..3936cd85 100644
--- a/update-copyright.sh
+++ b/update-copyright.sh
@@ -1,4 +1,5 @@ 
 #!/bin/sh
+# SPDX-License-Identifier: LGPL-3.0-or-later
 
 oldyear=2019
 newyear=2020