From: Martin Mares Date: Sun, 18 Jun 2023 12:37:33 +0000 (+0200) Subject: Update license comments and added SPDX license identifiers X-Git-Tag: v3.11.0~96 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6182921907ef3cc31be3394eb468b24bcd3955a8;p=pciutils.git Update license comments and added SPDX license identifiers Previously, the only information about the specific version of GPL was present in the README and individual source files mentioned only GPL alone. Let us update all copyright comments to explicitly say "GPL v2+" and also include the machine readable SPDX license identifier. --- diff --git a/README b/README index 1a981c2..04e9348 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ This package contains the PCI Utilities, version @VERSION@. -Copyright (c) 1997--2022 Martin Mares +Copyright (c) 1997--2023 Martin Mares All files in this package can be freely distributed and used according to the terms of the GNU General Public License, either version 2 or diff --git a/common.c b/common.c index 3d69dd0..748e5a4 100644 --- a/common.c +++ b/common.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2016 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/access.c b/lib/access.c index b8fdbe2..7d66123 100644 --- a/lib/access.c +++ b/lib/access.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/aix-device.c b/lib/aix-device.c index 9355395..028d92a 100644 --- a/lib/aix-device.c +++ b/lib/aix-device.c @@ -3,7 +3,9 @@ * * Copyright (c) 1999 Jari Kirma * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/caps.c b/lib/caps.c index 039c86f..cf1df5d 100644 --- a/lib/caps.c +++ b/lib/caps.c @@ -3,7 +3,9 @@ * * Copyright (c) 2008 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/darwin.c b/lib/darwin.c index 9167393..8ae9008 100644 --- a/lib/darwin.c +++ b/lib/darwin.c @@ -3,7 +3,9 @@ * * Copyright (c) 2013 Apple, Inc. * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/dump.c b/lib/dump.c index c0f9291..8b7320a 100644 --- a/lib/dump.c +++ b/lib/dump.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/ecam.c b/lib/ecam.c index aa3b60a..961e416 100644 --- a/lib/ecam.c +++ b/lib/ecam.c @@ -3,7 +3,9 @@ * * Copyright (c) 2023 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/emulated.c b/lib/emulated.c index d15c8f7..92cd06e 100644 --- a/lib/emulated.c +++ b/lib/emulated.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "internal.h" diff --git a/lib/fbsd-device.c b/lib/fbsd-device.c index 604c8f0..2ea5e84 100644 --- a/lib/fbsd-device.c +++ b/lib/fbsd-device.c @@ -5,7 +5,9 @@ * Updated in 2003 by Samy Al Bahra * Updated in 2017 by Imre Vadász * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/filter.c b/lib/filter.c index 86486d3..0301f49 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -3,7 +3,9 @@ * * Copyright (c) 1998--2022 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/generic.c b/lib/generic.c index 6211c90..f7340a2 100644 --- a/lib/generic.c +++ b/lib/generic.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/header.h b/lib/header.h index 63ee03c..e146a56 100644 --- a/lib/header.h +++ b/lib/header.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2010 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/hurd.c b/lib/hurd.c index c5a381e..a9c9b89 100644 --- a/lib/hurd.c +++ b/lib/hurd.c @@ -3,7 +3,9 @@ * * Copyright (c) 2017 Joan Lledó * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/i386-io-beos.h b/lib/i386-io-beos.h index 15f391b..49b7094 100644 --- a/lib/i386-io-beos.h +++ b/lib/i386-io-beos.h @@ -3,7 +3,9 @@ * * Copyright (c) 2009 Francois Revol * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* those are private syscalls */ diff --git a/lib/i386-io-cygwin.h b/lib/i386-io-cygwin.h index a8501cc..0b71d16 100644 --- a/lib/i386-io-cygwin.h +++ b/lib/i386-io-cygwin.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2006 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/i386-io-djgpp.h b/lib/i386-io-djgpp.h index 53f2f4e..bb29526 100644 --- a/lib/i386-io-djgpp.h +++ b/lib/i386-io-djgpp.h @@ -3,7 +3,9 @@ * * Copyright (c) 2010, 2017 Rudolf Marek * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/i386-io-haiku.h b/lib/i386-io-haiku.h index dd00941..ce5362b 100644 --- a/lib/i386-io-haiku.h +++ b/lib/i386-io-haiku.h @@ -3,7 +3,9 @@ * * Copyright (c) 2009 Francois Revol * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/i386-io-hurd.h b/lib/i386-io-hurd.h index 000fd42..d44b2f5 100644 --- a/lib/i386-io-hurd.h +++ b/lib/i386-io-hurd.h @@ -7,7 +7,9 @@ * Thomas Schwinge * Copyright (c) 2007 Thomas Schwinge * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/i386-io-linux.h b/lib/i386-io-linux.h index a2fd69e..e6bb9b6 100644 --- a/lib/i386-io-linux.h +++ b/lib/i386-io-linux.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2006 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/i386-io-sunos.h b/lib/i386-io-sunos.h index 903ad7c..86948d9 100644 --- a/lib/i386-io-sunos.h +++ b/lib/i386-io-sunos.h @@ -4,7 +4,9 @@ * Copyright (c) 2003 Bill Moore * Copyright (c) 2003--2006 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/i386-io-windows.h b/lib/i386-io-windows.h index 6bb578c..fd1a54e 100644 --- a/lib/i386-io-windows.h +++ b/lib/i386-io-windows.h @@ -5,7 +5,9 @@ * Copyright (c) 2006 Martin Mares * Copyright (c) 2021 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/i386-ports.c b/lib/i386-ports.c index 0ca87dd..1e2c402 100644 --- a/lib/i386-ports.c +++ b/lib/i386-ports.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2006 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/init.c b/lib/init.c index fe40f91..3476681 100644 --- a/lib/init.c +++ b/lib/init.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/internal.h b/lib/internal.h index ebd16f4..00ac401 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" diff --git a/lib/mmio-ports.c b/lib/mmio-ports.c index a9e23c3..f380cb3 100644 --- a/lib/mmio-ports.c +++ b/lib/mmio-ports.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/names-cache.c b/lib/names-cache.c index ba5de6d..65bfb85 100644 --- a/lib/names-cache.c +++ b/lib/names-cache.c @@ -3,7 +3,9 @@ * * Copyright (c) 2008--2009 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "internal.h" diff --git a/lib/names-hash.c b/lib/names-hash.c index 2f5bc3c..8c75676 100644 --- a/lib/names-hash.c +++ b/lib/names-hash.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/names-hwdb.c b/lib/names-hwdb.c index 171723b..71e7229 100644 --- a/lib/names-hwdb.c +++ b/lib/names-hwdb.c @@ -4,7 +4,9 @@ * Copyright (c) 2013--2014 Tom Gundersen * Copyright (c) 2014 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/names-net.c b/lib/names-net.c index 95a6fd2..14141f4 100644 --- a/lib/names-net.c +++ b/lib/names-net.c @@ -3,7 +3,9 @@ * * Copyright (c) 2007--2008 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/names-parse.c b/lib/names-parse.c index c86f8af..f50b8ec 100644 --- a/lib/names-parse.c +++ b/lib/names-parse.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/names.c b/lib/names.c index a4314f6..f8d3997 100644 --- a/lib/names.c +++ b/lib/names.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2014 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/names.h b/lib/names.h index d7e71ff..b34e3e6 100644 --- a/lib/names.h +++ b/lib/names.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2014 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define MAX_LINE 1024 diff --git a/lib/nbsd-libpci.c b/lib/nbsd-libpci.c index 2b2ca41..0f9f27b 100644 --- a/lib/nbsd-libpci.c +++ b/lib/nbsd-libpci.c @@ -6,7 +6,9 @@ * Copyright (c) 2002 Quentin Garnier * Copyright (c) 2002 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/obsd-device.c b/lib/obsd-device.c index 71cde5e..e2e7652 100644 --- a/lib/obsd-device.c +++ b/lib/obsd-device.c @@ -3,7 +3,9 @@ * * Adapted from fbsd-device.c by Matthieu Herrb , 2006 * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/params.c b/lib/params.c index 979fb16..ac756ad 100644 --- a/lib/params.c +++ b/lib/params.c @@ -3,7 +3,9 @@ * * Copyright (c) 2008--2023 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/pci.h b/lib/pci.h index cb032a1..2322bf7 100644 --- a/lib/pci.h +++ b/lib/pci.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2023 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PCI_LIB_H diff --git a/lib/pread.h b/lib/pread.h index 3db90e3..99a91b2 100644 --- a/lib/pread.h +++ b/lib/pread.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2003 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/proc.c b/lib/proc.c index 9b33863..2eb5dc5 100644 --- a/lib/proc.c +++ b/lib/proc.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2003 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/sylixos-device.c b/lib/sylixos-device.c index 07195d5..170ae02 100644 --- a/lib/sylixos-device.c +++ b/lib/sylixos-device.c @@ -1,9 +1,11 @@ /* - * The PCI Library -- Direct Configuration access via SylixOS Ports + * The PCI Library -- Direct Configuration access via SylixOS Ports * - * Copyright (c) 2018 YuJian.Gong + * Copyright (c) 2018 YuJian.Gong * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/sysdep.h b/lib/sysdep.h index bdeb34a..7502035 100644 --- a/lib/sysdep.h +++ b/lib/sysdep.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2020 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifdef __GNUC__ diff --git a/lib/sysfs.c b/lib/sysfs.c index ffa4f9d..8cab869 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -4,7 +4,9 @@ * Copyright (c) 2003 Matthew Wilcox * Copyright (c) 1997--2008 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/types.h b/lib/types.h index ab53f7c..2004906 100644 --- a/lib/types.h +++ b/lib/types.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/win32-cfgmgr32.c b/lib/win32-cfgmgr32.c index 9743002..0bcc0aa 100644 --- a/lib/win32-cfgmgr32.c +++ b/lib/win32-cfgmgr32.c @@ -3,7 +3,9 @@ * * Copyright (c) 2021 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/win32-kldbg.c b/lib/win32-kldbg.c index 4c8ee54..9593a05 100644 --- a/lib/win32-kldbg.c +++ b/lib/win32-kldbg.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/win32-sysdbg.c b/lib/win32-sysdbg.c index 5d0c07a..6b17f37 100644 --- a/lib/win32-sysdbg.c +++ b/lib/win32-sysdbg.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/ls-caps-vendor.c b/ls-caps-vendor.c index dc24f90..829d59f 100644 --- a/ls-caps-vendor.c +++ b/ls-caps-vendor.c @@ -3,7 +3,9 @@ * * Copyright (c) 2014 Gerd Hoffmann * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/ls-caps.c b/ls-caps.c index a481b16..1b63262 100644 --- a/ls-caps.c +++ b/ls-caps.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/ls-ecaps.c b/ls-ecaps.c index df41626..1bd1bf7 100644 --- a/ls-ecaps.c +++ b/ls-ecaps.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/ls-kernel.c b/ls-kernel.c index b90a469..c939c52 100644 --- a/ls-kernel.c +++ b/ls-kernel.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2013 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/ls-map.c b/ls-map.c index 9b2cc8c..a77eb0c 100644 --- a/ls-map.c +++ b/ls-map.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/ls-tree.c b/ls-tree.c index e21e44c..5189930 100644 --- a/ls-tree.c +++ b/ls-tree.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2021 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/ls-vpd.c b/ls-vpd.c index 92627e4..fcb80ae 100644 --- a/ls-vpd.c +++ b/ls-vpd.c @@ -6,7 +6,9 @@ * Written by Ben Hutchings * Improved by Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lspci.c b/lspci.c index 0a96260..9452cd3 100644 --- a/lspci.c +++ b/lspci.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2020 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lspci.h b/lspci.h index 160c65a..c5a9ec7 100644 --- a/lspci.h +++ b/lspci.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define PCIUTILS_LSPCI diff --git a/pciutils.h b/pciutils.h index 17e02c9..95c26e6 100644 --- a/pciutils.h +++ b/pciutils.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "lib/pci.h" diff --git a/setpci.c b/setpci.c index ca1f31d..d2df573 100644 --- a/setpci.c +++ b/setpci.c @@ -3,7 +3,9 @@ * * Copyright (c) 1998--2020 Martin Mares * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include