commit:     5fb5cfa8a1d637fa6ffea4dc9befdd6c2b1f9956
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 15 07:56:59 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Wed Oct 15 07:58:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb5cfa8

net-im/synapse: Make dual licensing explicit

Synapse is dual licensed, as I discovered during the review of changes
in the recent 1.140.0 release. The commercial license text was added in
PR 18134 [1] but the dual licensing was reflected in pyproject.toml
later, in PR 18973 [2].

Upstream-PR: https://github.com/element-hq/synapse/pull/18134 [1]
Upstream-PR: https://github.com/element-hq/synapse/pull/18973 [2]
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 licenses/Element-Commercial           | 6 ++++++
 net-im/synapse/synapse-1.138.4.ebuild | 2 +-
 net-im/synapse/synapse-1.139.2.ebuild | 2 +-
 net-im/synapse/synapse-1.140.0.ebuild | 2 +-
 4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/licenses/Element-Commercial b/licenses/Element-Commercial
new file mode 100644
index 000000000000..173e03e0c035
--- /dev/null
+++ b/licenses/Element-Commercial
@@ -0,0 +1,6 @@
+Licensees holding a valid commercial license with Element may use this
+software in accordance with the terms contained in a written agreement
+between you and Element.
+
+To purchase a commercial license please contact our sales team at
[email protected]

diff --git a/net-im/synapse/synapse-1.138.4.ebuild 
b/net-im/synapse/synapse-1.138.4.ebuild
index 534463b5ab92..11287fda83b1 100644
--- a/net-im/synapse/synapse-1.138.4.ebuild
+++ b/net-im/synapse/synapse-1.138.4.ebuild
@@ -225,7 +225,7 @@ SRC_URI="
        ${CARGO_CRATE_URIS}
 "
 
-LICENSE="AGPL-3+"
+LICENSE="|| ( AGPL-3+ Element-Commercial )"
 # Dependent crate licenses
 LICENSE+="
        Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-3.0

diff --git a/net-im/synapse/synapse-1.139.2.ebuild 
b/net-im/synapse/synapse-1.139.2.ebuild
index 171d0771b8c8..46ad89d4ea16 100644
--- a/net-im/synapse/synapse-1.139.2.ebuild
+++ b/net-im/synapse/synapse-1.139.2.ebuild
@@ -226,7 +226,7 @@ SRC_URI="
        ${CARGO_CRATE_URIS}
 "
 
-LICENSE="AGPL-3+"
+LICENSE="|| ( AGPL-3+ Element-Commercial )"
 # Dependent crate licenses
 LICENSE+="
        Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-3.0

diff --git a/net-im/synapse/synapse-1.140.0.ebuild 
b/net-im/synapse/synapse-1.140.0.ebuild
index 701b8ece6c8f..99d27bb198b6 100644
--- a/net-im/synapse/synapse-1.140.0.ebuild
+++ b/net-im/synapse/synapse-1.140.0.ebuild
@@ -226,7 +226,7 @@ SRC_URI="
        ${CARGO_CRATE_URIS}
 "
 
-LICENSE="AGPL-3+"
+LICENSE="|| ( AGPL-3+ Element-Commercial )"
 # Dependent crate licenses
 LICENSE+="
        Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-3.0

Reply via email to