From: Emil Velikov Date: Mon, 16 Sep 2024 22:39:23 +0000 (+0100) Subject: CONTRIBUTING.md: mention license and SPDX X-Git-Tag: v34~347 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71ff7ffbe9c12205118d7f146dc5853ba44a3ef3;p=thirdparty%2Fkmod.git CONTRIBUTING.md: mention license and SPDX Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/134 [ Mention LGPL is preferred, even for tools/ ] Signed-off-by: Lucas De Marchi --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8648eba4..5abcf7aa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,6 +7,7 @@ patches sent to the [mailing list]. In addition you can open issues and feature requests on our [GitHub tracker]. In this file you can find: + * [License and SPDX](#license-and-spdx) * [Commit style and history](#commit-style-and-history) * [Using commit trailers](#using-commit-trailers) + [Signed-off-by](#signed-off-by) @@ -19,6 +20,13 @@ In this file you can find: * [Tools manual pages](#tools-manual-pages) * [Tools shell completion](#tools-shell-completion) +## 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. + ## Commit style and history The kmod project uses a [linear, "recipe" style] history. This means that