]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
lib: replace GPL boilerplate with SPDX
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 11 Jan 2023 02:43:18 +0000 (18:43 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 14 Jan 2023 17:00:34 +0000 (09:00 -0800)
Replace standard GPL 2.0 or later text with SPDX tag.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
14 files changed:
lib/bpf_legacy.c
lib/cg_map.c
lib/fs.c
lib/inet_proto.c
lib/json_print.c
lib/libnetlink.c
lib/ll_addr.c
lib/ll_map.c
lib/ll_proto.c
lib/ll_types.c
lib/names.c
lib/namespace.c
lib/rt_names.c
lib/utils.c

index 4fabdcc899e4d5685be71b9d82fa685cf753bcc9..8ac6423589693b57636d0f929ebc80e284c835fd 100644 (file)
@@ -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 <daniel@iogearbox.net>
  *             Jiri Pirko <jiri@resnulli.us>
  *             Alexei Starovoitov <ast@kernel.org>
index 39f244dbc5bdcafdc3b6646a22c487c6bebd6bc2..e5d14d512c399391a82246039dec37781664cdc3 100644 (file)
@@ -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 <zeil@yandex-team.ru>
  */
 
index 3752931cf8f8c193dd6ee42f655cc46669bd261f..22d4af7583ddceb4d8c8c11ece9bf9cca672f6b9 100644 (file)
--- 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 <dsa@cumulusnetworks.com>
- *
  */
 
 #include <sys/types.h>
index 41e2e8b88d82b05a752e8b259b951371c0b85033..71cd3b128841d9c5e45e6d39bf1747fc3ed1206d 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 741acdcff990ebed8cf5000210f6498146d18bb7..d7ee76b10de889dca155bbbddd3dc3600726999a 100644 (file)
@@ -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, <julien@cumulusnetworks.com>
  */
index 001efc1d7f2461416652bb31ae74c8c072d1f27a..c89760436aba033de0f13f17afe3385b6d00aaf1 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index d6fd736b1e3a48a9be980812957744d36c38fc6a..5e9245915ef3cb788afa7b76b0b7f6a389d55e75 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
  */
 
index 70ea3d499c8fbb4841696d52d1f37f3462e01c4c..8970c20f3cddedcdd1a6f522858fa350d2df8e5b 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 925e2caa05e5f4af1834799b9a0a8ac47ac22ecb..526e582fbbba3cf2f09109412c466ed2236d957a 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
  */
index 49da15df911dd633cfc4e8c6627e1fae1cd7a31a..fa57ceb5c3b877f59e89b7f34e42dfcff8a5ed47 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
  */
 
index b46ea79109469e9f8930c57cfbd5548f372adf07..cbfa971ff61b7a6fe8ae5e6ccf7b9c22ccf41aae 100644 (file)
@@ -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 <stdio.h>
index 45a7deddb6c45803105de7fbe8786b5b2075b2c5..1202fa85f97deff0bbf9288c291f215b327eba6e 100644 (file)
@@ -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 <sys/statvfs.h>
index b976471d7979b950945eb1245522b96c8babafe9..2432224acc0a988fd3282d66417b7774e4ca8070 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
  */
 
index dd3cdb31239c231665aef681926f41c48ec9ed74..b740531ab6c9c06415beb7d7b15a2740deceefb8 100644 (file)
@@ -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, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>