commit: 8fdc3db142061459332c70560869525262ce79e3
parent 6e934fd442ee76cf4665e4c8952bdff3bd451640
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 6 Nov 2024 21:59:13 +0100
README.md: Add "Licensing" section
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -1,6 +1,9 @@
# utils-std: Collection of commonly available Unix tools
+<!--
+Licensing of README file:
Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
SPDX-License-Identifier: MPL-2.0
+-->
This is my own collection of commonly available Unix utilities, most of them implemented by me.
POSIX is used as a guide, but current Unix systems are the biggest inspiration and compatibility with portable scripts is intended.
@@ -25,6 +28,12 @@ Developed on Linux+musl, automatically tested on FreeBSD and NetBSD thanks to [S
Set the `CC` and `CFLAGS` environment variables for your target, the usual `CROSS_COMPILE` is also supported as a fallback.
To compile the test binaries without running them, run `make build-checks`
+## Licensing
+
+The default license for new original works is the `MPL-2.0`, except when they should be broadly distributed and proprietary extensions aren't a concern (so `BSD-3-Clause`), or are considered under the copyright threshold (so `0BSD`).
+
+When works are imported from other codebases they should be either under a permissive license or `MPL-2.0` and their licensing is kept to allow the original authors to use modifications made if any (copyleft in spirit).
+
## Design differences
- Whenever possible programs prefix their messages with their name. This way you don't end up with context-less messages.
- Error messages contain "error:", warning messages contain "warning:". To allow to easily find what went wrong in logs.