From patchwork Wed Jul 15 15:11:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 40104 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 9CE783840C18; Wed, 15 Jul 2020 15:12:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CE783840C18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1594825951; bh=HBgN+tw3mZU8Z94B4dgy99x8Sn1CNxuaXJaP/iadMMA=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Help:List-Subscribe:From:Reply-To:Cc:From; b=k86+mTEGeCiv2fnagNMS6tFa2gmkDnZWVMameSDM4u8boobXQ/8rx7UksGXWP442Y X0T9wqk0rOxjkdIE8XHyI+qj4WMJc75HqGR7zOkqlIMQBsIN/IWhaIC0aU/hB2sg3L 5sGSkGt5ZWJWoV7EWwqlnQoEQjJLQwTc/K1NV9JA= X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by sourceware.org (Postfix) with ESMTP id 1FF8C3870917 for ; Wed, 15 Jul 2020 15:12:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1FF8C3870917 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-139-2FIiifAKNbO0JJmKiEh6WQ-1; Wed, 15 Jul 2020 11:11:59 -0400 X-MC-Unique: 2FIiifAKNbO0JJmKiEh6WQ-1 Received: by mail-wm1-f72.google.com with SMTP id g138so1190382wme.7 for ; Wed, 15 Jul 2020 08:11:58 -0700 (PDT) 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=HBgN+tw3mZU8Z94B4dgy99x8Sn1CNxuaXJaP/iadMMA=; b=S8nqbuOuWtBZPV7s9zZMOhuQDOs2EgggncwPkyt9sfXGgkOyoPPn84rOlZHvB9NnAM VZ9OtYOWY/kXLFWMPwIIJ1QHUHyBHl0vOozamdz3q1MxSVnNxfAJZ4F77wtrDwVQ/sQn KN6ytv3QZhDpwS72GRkgQqqTHDTRSI0s+LJ56p+1xY4y3wLZSYhfbQf+lvQsFQdOGb67 0v4ls3qz1tJ9v5CABHU914IUN9akU2gB6Ng7Bd+KfgeYFyMlOhDyR2M6Dpc7ZQsBg8FX BrpC/7iQ+7bDmp53u+RAp754w0bi2lNdOA1LUYTp3FkEB9Vqxa7WFTKs9QZUxlMWOmaq kSLA== X-Gm-Message-State: AOAM533xFWfi4mOM2JO2g9VUPlEunfAnnRqED6Cvb+qqhTvIV7Z0d5Bu x/QT7Fy4z6xWbHvJH1ukC9GBF8brb+U3pHUitEs7rrJpV77pLocXZ89AIfH7SxCSP75o/XdGDlN zcdG3P5dkHMLT4KTheKep X-Received: by 2002:a5d:670d:: with SMTP id o13mr11859095wru.307.1594825917679; Wed, 15 Jul 2020 08:11:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwpMnHsBLkVwIIhuzrg4jQWKDG6YZe31/9shHgmjTxmhSZcyPr6UIiyQ6n3uNt8bCLI5r/UA== X-Received: by 2002:a5d:670d:: with SMTP id o13mr11859050wru.307.1594825917218; Wed, 15 Jul 2020 08:11:57 -0700 (PDT) Received: from localhost (91-166-131-130.subs.proxad.net. [91.166.131.130]) by smtp.gmail.com with ESMTPSA id 51sm4034485wrc.44.2020.07.15.08.11.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2020 08:11:56 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id 4288A1800910; Wed, 15 Jul 2020 17:11:55 +0200 (CEST) To: Benjamin Kosnik , Ben Woodard , Chenxiong Qi , Dodji Seketeli , Giuliano Procida , Jan Engelhardt , Jessica Yu , Jonathan Wakely , Mark Wielaard , Matthias Klose , Matthias Maennich , Ondrej Oprala , Roland McGrath , Sinny Kumari , Slava Barinov Subject: [PATCH 2/9 v2] Add missing SPDX headers to source files not specifying any license Organization: Red Hat / France References: <87zh80lt38.fsf@redhat.com> X-Operating-System: Red Hat Enterprise Linux Workstation 7.8 Beta X-URL: http://www.redhat.com Date: Wed, 15 Jul 2020 17:11:55 +0200 In-Reply-To: <87zh80lt38.fsf@redhat.com> (Dodji Seketeli via Libabigail's message of "Wed, 15 Jul 2020 17:02:19 +0200") Message-ID: <87lfjklsn8.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_MANYTO, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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: libabigail@sourceware.org Errors-To: libabigail-bounces@sourceware.org Sender: "Libabigail" Default to the project's defautl - 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: Dodji Seketeli Signed-off-by: Giuliano Procida Signed-off-by: Jonathan Wakely Signed-off-by: Matthias Maennich --- .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 1dd679d..234be76 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 f4dbff2..a73df46 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 004474e..e7027ee 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 a5c87a1..d4ff950 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 edd33c3..3e0ae5b 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 53463ae..b83bc62 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 7df78d1..d34d243 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 137b839..0c24079 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 fc4f7cd..894798b 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 dff4986..25bb075 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 d074419..2bfa468 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 225ac38..73801aa 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later m4_define([version_major], [1]) m4_define([version_minor], [8]) diff --git a/default.abignore b/default.abignore index 4e320ba..3916f54 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 0794efd..840fc7c 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 b460d26..a7cb987 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 5c31fa3..342faf2 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 2bf9fb4..f86ff02 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 b547525..e707c62 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 7d828a0..5c56459 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 0929bdd..8125d15 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 72d298e..559cc55 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 2389279..f9bf4c8 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 5ebb7a4..7e7d803 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 b55515b..d9e53d5 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 1153a5f..73e63ce 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 c2d4d1d..f614f30 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 5da9ef9..38cbfc3 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 1df6fe6..34753c2 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 13c3cd5..b8a5714 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 4985206..5ef5063 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 209037c..5a41d50 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 4017dd0..e582fb8 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 6f949af..937117d 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 9192aff..3936cd8 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