From patchwork Wed Dec 2 12:24:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 41259 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A47D1395B059; Wed, 2 Dec 2020 12:24:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A47D1395B059 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1606911893; bh=IGlCt3BFyseKsYcgLG4Acrgi5S+N69ztDr1W88OuGBA=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Help:List-Subscribe:From:Reply-To:Cc:From; b=Xbsuky18OxUbz1YeCZ415PKBSpmSS3244t7iM/TroZIwflrzwWCufxF/NJbnC4/g3 UKLv5qqTSuil9vA5hJd59jdRLtqxcajVvfSsIaMEoDjoNzgzP+EGj8n8x1z6vLrwh1 dj+pfMHt9/+qbVdLeFoXj+3bvEtRNIkU6jRd8JkI= X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id A96DC395B059 for ; Wed, 2 Dec 2020 12:24:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A96DC395B059 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-423-6sSlAWYcP4CRGd4EauePgg-1; Wed, 02 Dec 2020 07:24:47 -0500 X-MC-Unique: 6sSlAWYcP4CRGd4EauePgg-1 Received: by mail-wm1-f70.google.com with SMTP id n18so3525544wmk.0 for ; Wed, 02 Dec 2020 04:24:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=IGlCt3BFyseKsYcgLG4Acrgi5S+N69ztDr1W88OuGBA=; b=Dyxc/gi6KN0M/Z3oLZcSVe34tORcWB4Li3rPeeaXRh9+YkTOgtSdVdWWh0l/zSeI6z 7N50dplOknf6ILOqQpIteU2Bko34P/IuO5aAO421uxOOPfLBKBxXWIiSwcpAe23EqhBc 0GGP6r1riBgM/zZQcuycaRBc+817u6Cnh3EfZ2J2aBPg4z4a8kerN7Jdhg52WDfrW1z4 b9aw7k6VnL4HsfrA1o4ONH9t1m7If8Xry0PuwzWOJ0CPmT3YCAHu6TOpG6Zrbq67yWWc +QtXCaiWVwzQHsIFvKt2pg+CRLD2br9Jwiccl7eVDm78zstGZRtbEcepsE14s1OiGI03 eOcw== X-Gm-Message-State: AOAM530/vyfifgjh8qx9T4BCTIyvVIhCTcxTK7ZETOkx9bcQX/BtM7cC PfbCuH9ogpcofgOquToNGLc2x6X0r6dK1ckNU0pDL1k+RvRoliAfAzjKgJOzAY0DmLyuextqI3z 1v1U2W4F5fcK9f9lm8gnc X-Received: by 2002:adf:ecc9:: with SMTP id s9mr3200613wro.246.1606911885717; Wed, 02 Dec 2020 04:24:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPp6Byj5DZTsUtKmQZasm8Ao5yjICYwX9YUNpDGt46eY1I7ZIUZliMlb6IDn+blZBjD1rYHQ== X-Received: by 2002:adf:ecc9:: with SMTP id s9mr3200574wro.246.1606911885383; Wed, 02 Dec 2020 04:24:45 -0800 (PST) Received: from localhost (91-166-131-65.subs.proxad.net. [91.166.131.65]) by smtp.gmail.com with ESMTPSA id g184sm1926882wma.16.2020.12.02.04.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 04:24:44 -0800 (PST) Received: by localhost (Postfix, from userid 1000) id 34116581CE5; Wed, 2 Dec 2020 13:24:43 +0100 (CET) To: Dodji Seketeli Subject: [PATCH 2/9, final act] Add missing SPDX headers to source files not specifying any license Organization: Red Hat / France References: <87o8jc4cv8.fsf@redhat.com> X-Operating-System: Fedora 34 X-URL: http://www.redhat.com Date: Wed, 02 Dec 2020 13:24:43 +0100 In-Reply-To: <87o8jc4cv8.fsf@redhat.com> (Dodji Seketeli's message of "Wed, 02 Dec 2020 13:21:47 +0100") Message-ID: <87ft4o4cqc.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-Patchwork-Original-From: Dodji Seketeli via Libabigail From: Dodji Seketeli Reply-To: Dodji Seketeli Cc: Matthias Klose , Roland McGrath , Mark Wielaard , Matthias Maennich , Slava Barinov , Ondrej Oprala , Jan Engelhardt , Jonathan Wakely , libabigail@sourceware.org, Benjamin Kosnik Errors-To: libabigail-bounces@sourceware.org Sender: "Libabigail" 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 Signed-off-by: Ben Woodard Signed-off-by: Chenxiong Qi Signed-off-by: Dodji Seketeli Signed-off-by: Giuliano Procida Signed-off-by: Jan Engelhardt Signed-off-by: Jessica Yu Signed-off-by: Jonathan Wakely Signed-off-by: Mark Wielaard Signed-off-by: Matthias Klose Signed-off-by: Matthias Maennich Signed-off-by: Ondrej Oprala Signed-off-by: Roland McGrath Signed-off-by: Sinny Kumari Signed-off-by: Slava Barinov 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 --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 /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