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" },