From 8976b04c499c16d95bec0ffc390bf91f65e29876 Mon Sep 17 00:00:00 2001 From: Gnuxie <50846879+Gnuxie@users.noreply.github.com> Date: Fri, 10 Apr 2026 12:15:49 +0100 Subject: [PATCH] Be more precise about licensing. (#1073) * Be more precise about licensing. I've added a root LICENSE file describing the use of multiple licenses in the repository, especially given that it is now monorepo. This does not change any licensing terms or introduce new requirements It makes the existing setup more explicit and easier to understand for users and downstream distributors. And reflects the existing REUSE compliant setup. * Be more comprehensive in our description. --- LICENSE | 23 +++++++++++++++++++++++ README.md | 13 +++++++++++++ apps/draupnir/package.json | 2 +- package.json | 2 +- 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..62ed9b4e --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +# Licensing + +This file provides an overview of licensing in this repository. +Individual license texts in the `LICENSES/` directory are authoritative. + +This repository contains software distributed under multiple open source licenses. + +The license for each file is indicated by its SPDX-License-Identifier where present, +or otherwise a SPDX-License-Identifier within a REUSE.toml in the same filesystem +directory. Packages also declare their license in their respective `package.json` +files. The full license texts are available in the `LICENSES/` directory. + +No single license applies to all files in this repository. + +## Additional note + +This project is primarily developed under the Academic Free License 3.0 +(AFL-3.0), with some components under Apache-2.0, and others under more +permissive licenses such as MIT or 0BSD. + +When redistributing Draupnir, you must comply with the terms of each applicable +license. In practice, this primarily involves preserving license texts and any +required NOTICE files for Apache-2.0 components. diff --git a/README.md b/README.md index 133a07dc..2c0fe3b8 100644 --- a/README.md +++ b/README.md @@ -198,6 +198,19 @@ Please see or but do not worry too much about following the guidance to the letter. And keep that in mind throughout. +## License + +This distribution contains components under multiple licenses, including +Apache-2.0 and AFL-3.0. See [LICENSE](./LICENSE) and LICENSES/ for details. + +This project is primarily developed under the Academic Free License 3.0 +(AFL-3.0), with some components under Apache-2.0, and others under more +permissive licenses such as MIT or 0BSD. + +When redistributing Draupnir, you must comply with the terms of each applicable +license. In practice, this primarily involves preserving license texts and any +required NOTICE files for Apache-2.0 components. + ## Supported by ### NLnet diff --git a/apps/draupnir/package.json b/apps/draupnir/package.json index e44b6de9..aa49c6af 100644 --- a/apps/draupnir/package.json +++ b/apps/draupnir/package.json @@ -5,7 +5,7 @@ "main": "lib/index.js", "repository": "https://github.com/the-draupnir-project/Draupnir.git", "author": "Gnuxie", - "license": "AFL-3.0", + "license": "SEE LICENSE IN LICENSE", "private": true, "scripts": { "build": "tsc --project test/tsconfig.json && npm run build:assets", diff --git a/package.json b/package.json index 1f026308..58189dce 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "url": "git+https://github.com/the-draupnir-project/Draupnir.git" }, "author": "Gnuxie", - "license": "AFL-3.0", + "license": "SEE LICENSE IN LICENSE", "bugs": { "url": "https://github.com/the-draupnir-project/Draupnir/issues" },