From 61ae1d4a0ff57edc67ae3e84be5d22cb310e4fcb Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 27 Sep 2026 18:40:54 +0200 Subject: [PATCH] chore: allow app store distribution through an AGPL additional permission App store terms put limits on recipients, such as device caps and DRM, that section 10 of the AGPL does not allow, so a Bulwark app built from this code could not be shipped through the Apple App Store or Google Play without breaking the licence. The mobile app reuses the webmail locale catalogs and several ported modules, so the permission is needed here as well as in the native repository. Add a section 7 additional permission that allows app store distribution as long as the source of every shipped version is public, free, linked from the listing or the app, and not further restricted. The README licence line and CONTRIBUTING.md now say that contributions come under the same terms. --- CONTRIBUTING.md | 2 ++ LICENSE | 35 ++++++++++++++++++++++++++++++++++- README.md | 2 +- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d78abbe16..bc9c71a15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,6 +16,8 @@ npm run dev Before you open a pull request, run `npm run typecheck && npm run lint && npx vitest run`. Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `docs:` and so on). +By contributing, you agree that your contributions are licensed under the terms in [LICENSE](LICENSE): AGPL-3.0-only, with the additional permission for app store distribution. + - Questions: ask on [Discord](https://discord.gg/tYCujymGrT). - Documentation fixes: the docs are Markdown files in the [website repository](https://github.com/bulwarkmail/website/tree/main/docs). - Security vulnerabilities: report them privately to [dev@bulwarkmail.org](mailto:dev@bulwarkmail.org) or through a [security advisory](https://github.com/bulwarkmail/webmail/security/advisories/new), never in a public issue. diff --git a/LICENSE b/LICENSE index 39672812d..305becf11 100644 --- a/LICENSE +++ b/LICENSE @@ -2,12 +2,45 @@ Bulwark Webmail Copyright (C) 2025-2026 Bulwark Project Authors This project is licensed under the GNU Affero General Public License, -version 3 only. +version 3 only, with the additional permission for app store +distribution below. This repository includes material derived from earlier MIT-licensed work. The original attribution notice preserved for the fork lineage is available in the NOTICE file. +Additional permission under GNU AGPL version 3 section 7 + +The copyright holders of this Program give you additional permission to +convey a covered work (this Program, a modified version of it, or a work +that contains parts of it) through an app store, even though the app +store's terms of service, usage rules or technical measures place +restrictions on recipients that section 10 of this License would otherwise +not allow, such as a limit on the number of devices a copy may be installed +on, or digital rights management applied to the copy. + +This permission applies only if you: + + a) make the Corresponding Source of each version you convey through the + app store available, at no charge and under the terms of this + License, from a network server that anyone can access; + + b) state, in the app store listing or inside the application, where + that Corresponding Source can be obtained; and + + c) do not impose any further restrictions of your own on the exercise + of the rights granted under this License. + +"App store" means a digital distribution service for applications that is +operated by a third party, such as the Apple App Store and TestFlight, +Google Play, the Microsoft Store, the Samsung Galaxy Store or the Huawei +AppGallery. + +This permission covers only the parts of a covered work that its copyright +holders license under this License; it does not extend to parts licensed +under other terms. As section 7 of this License allows, you may remove this +permission from copies you convey and from your modified versions. + GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 diff --git a/README.md b/README.md index b1c2c7f17..fa1ada8a8 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ The stack: [Next.js 16](https://nextjs.org/) and React 19, TypeScript, [Tailwind ## License -[GNU AGPL v3](LICENSE). This repository preserves the original MIT attribution for the fork lineage in [NOTICE](NOTICE). +[GNU AGPL v3 only](LICENSE), with an additional permission to distribute apps built from this code through app stores such as the Apple App Store and Google Play. This repository preserves the original MIT attribution for the fork lineage in [NOTICE](NOTICE). ## Acknowledgments