]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
Use the SPDX `-or-later` license throughout
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 28 Jan 2026 18:49:42 +0000 (18:49 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Tue, 3 Feb 2026 04:59:06 +0000 (22:59 -0600)
The shorthand `GPLv2+` and `LGPLv2.1+` got me as I was writing the meson
build, even though I was fully aware of the correct license.

Use the full SPDX identifier throughout the project - aka update the two
documents to align with the rest of the project.

Reference: ca9a7f4c ("build: Fix license specification")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/pull/417
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
CONTRIBUTING.md
README.md

index 221cfd2efb9b8b85522f4d0fc77135d73ed2136c..b06dd5a7dc41277cd23c823b58f7fad5ec6a3033 100644 (file)
@@ -23,10 +23,11 @@ In this file you can find:
 
 ## License and SPDX
 
-The project uses `GPLv2+` for `tools/` and `LGPLv2.1+` for everything else.
-New tools should be licensed under `LGPLv2.1+` to make it easy to migrate code
-to other places when/if needed. When adding new files use the respective
-`SPDX-License-Identifier:` instead of the complete license text.
+The project uses `GPL-2.0-or-later` for `tools/` and `LGPL-2.1-or-later` for
+everything else. New tools should be licensed under `LGPL-2.1-or-later` to make
+it easy to migrate code to other places when/if needed. When adding new files
+use the respective `SPDX-License-Identifier:` instead of the complete license
+text.
 
 ## Commit style and history
 
index 57344500a049f2894c67d716eeb768ecb7a81f27..8270f2e3dd04c4b1b84c0113cb7826d0e2306f70 100644 (file)
--- a/README.md
+++ b/README.md
@@ -25,8 +25,8 @@ Links
     - Mirror: <https://kernel.googlesource.com/pub/scm/utils/kernel/kmod/kmod.git>
 
 - License:
-    - LGPLv2.1+ for libkmod, testsuite and helper libraries
-    - GPLv2+ for tools/*
+    - `LGPL-2.1-or-later` for libkmod, testsuite and helper libraries
+    - `GPL-2.0-or-later` for tools/
 
 - Irc: `#kmod` on irc.oftc.net