From: Stephen Hemminger Date: Wed, 11 Jan 2023 02:43:18 +0000 (-0800) Subject: lib: replace GPL boilerplate with SPDX X-Git-Tag: v6.2.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e7e786ae49a913296b3c6f3b9fa41cba749de68;p=thirdparty%2Fiproute2.git lib: replace GPL boilerplate with SPDX Replace standard GPL 2.0 or later text with SPDX tag. Signed-off-by: Stephen Hemminger --- diff --git a/lib/bpf_legacy.c b/lib/bpf_legacy.c index 4fabdcc89..8ac642358 100644 --- a/lib/bpf_legacy.c +++ b/lib/bpf_legacy.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * bpf.c BPF common code * - * This program is free software; you can distribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Daniel Borkmann * Jiri Pirko * Alexei Starovoitov diff --git a/lib/cg_map.c b/lib/cg_map.c index 39f244dbc..e5d14d512 100644 --- a/lib/cg_map.c +++ b/lib/cg_map.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * cg_map.c cgroup v2 cache * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Dmitry Yakunin */ diff --git a/lib/fs.c b/lib/fs.c index 3752931cf..22d4af758 100644 --- a/lib/fs.c +++ b/lib/fs.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * fs.c filesystem APIs * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: David Ahern - * */ #include diff --git a/lib/inet_proto.c b/lib/inet_proto.c index 41e2e8b88..71cd3b128 100644 --- a/lib/inet_proto.c +++ b/lib/inet_proto.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * inet_proto.c * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Alexey Kuznetsov, - * */ #include diff --git a/lib/json_print.c b/lib/json_print.c index 741acdcff..d7ee76b10 100644 --- a/lib/json_print.c +++ b/lib/json_print.c @@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * json_print.c "print regular or json output, based on json_writer". - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. + * json_print.c - print regular or json output, based on json_writer * * Authors: Julien Fortin, */ diff --git a/lib/libnetlink.c b/lib/libnetlink.c index 001efc1d7..c89760436 100644 --- a/lib/libnetlink.c +++ b/lib/libnetlink.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * libnetlink.c RTnetlink service routines. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Alexey Kuznetsov, - * */ #include diff --git a/lib/ll_addr.c b/lib/ll_addr.c index d6fd736b1..5e9245915 100644 --- a/lib/ll_addr.c +++ b/lib/ll_addr.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_addr.c * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Alexey Kuznetsov, */ diff --git a/lib/ll_map.c b/lib/ll_map.c index 70ea3d499..8970c20f3 100644 --- a/lib/ll_map.c +++ b/lib/ll_map.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_map.c * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Alexey Kuznetsov, - * */ #include diff --git a/lib/ll_proto.c b/lib/ll_proto.c index 925e2caa0..526e582fb 100644 --- a/lib/ll_proto.c +++ b/lib/ll_proto.c @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_proto.c * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. * * Authors: Alexey Kuznetsov, */ diff --git a/lib/ll_types.c b/lib/ll_types.c index 49da15df9..fa57ceb5c 100644 --- a/lib/ll_types.c +++ b/lib/ll_types.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_types.c * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Alexey Kuznetsov, */ diff --git a/lib/names.c b/lib/names.c index b46ea7910..cbfa971ff 100644 --- a/lib/names.c +++ b/lib/names.c @@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * names.c db names - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * */ #include diff --git a/lib/namespace.c b/lib/namespace.c index 45a7deddb..1202fa85f 100644 --- a/lib/namespace.c +++ b/lib/namespace.c @@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * namespace.c - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. */ #include diff --git a/lib/rt_names.c b/lib/rt_names.c index b976471d7..2432224ac 100644 --- a/lib/rt_names.c +++ b/lib/rt_names.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * rt_names.c rtnetlink names DB. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Alexey Kuznetsov, */ diff --git a/lib/utils.c b/lib/utils.c index dd3cdb312..b740531ab 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * utils.c * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Alexey Kuznetsov, - * */ #include