summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-08-17 06:32:45 (GMT)
committerThomas Haller <thaller@redhat.com>2023-08-21 09:21:38 (GMT)
commitc8fcb412f816dbdd27e10fc8b85b66a98eec7031 (patch)
tree8f7d962d82ec911b159e5a40c5f23feaf0330e0f
parentb544a3c69c8a8adf330fb243069d705bde60109c (diff)
downloadlibnl-c8fcb412f816dbdd27e10fc8b85b66a98eec7031.zip
libnl-c8fcb412f816dbdd27e10fc8b85b66a98eec7031.tar.gz
libnl-c8fcb412f816dbdd27e10fc8b85b66a98eec7031.tar.bz2
license: fix/adjust license for "src/nl-addr-{add,delete,list}.c"
In commit 5e732ad075e5 ('New set of address management tools'), the license headers were added/changed as GPL-2.0-only. That is in conflict with the licences of the project and a problem. We would either have to delete the code, or "change" the license. The files only had (relevant) contributions by Thomas Graf. There are some trivial modifications by myself (Thomas Haller), and I agree with this change. There are also small changes by another contributors, which seem trivial enough to not prevent changing the license: - 7701c8572fa4 [Pavel Roskin] ('Make some functions and global variables static') - c52087601198 [Peter Wu] ('trivial: whitespace-only fixes for src and lib') - cee0b1b50c2e [Yegor Yefremov] ('Add SPDX identifiers') See `gitk src/nl-addr-{add,delete,list}.c`.
-rw-r--r--src/nl-addr-add.c2
-rw-r--r--src/nl-addr-delete.c2
-rw-r--r--src/nl-addr-list.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nl-addr-add.c b/src/nl-addr-add.c
index a57d3f4..3b73cb2 100644
--- a/src/nl-addr-add.c
+++ b/src/nl-addr-add.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch>
*/
diff --git a/src/nl-addr-delete.c b/src/nl-addr-delete.c
index 6608105..58dd439 100644
--- a/src/nl-addr-delete.c
+++ b/src/nl-addr-delete.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch>
*/
diff --git a/src/nl-addr-list.c b/src/nl-addr-list.c
index 50176ef..00df1aa 100644
--- a/src/nl-addr-list.c
+++ b/src/nl-addr-list.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch>
*/