commit:     31a2df542b3e3444e0ebcb78f30010494c2cdde8
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 22 03:35:40 2026 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 03:40:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a2df54

net-p2p/transmission: drop mbedtls support

transmission currently fails to build with mbedtls-3 due to a version
restriction in CMakeLists.txt.

mbedtls-2 is being phased out.

Bug: https://bugs.gentoo.org/959271
Closes: https://bugs.gentoo.org/970423
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-p2p/transmission/metadata.xml                 |  1 -
 net-p2p/transmission/transmission-4.0.6-r6.ebuild |  9 ++++-----
 net-p2p/transmission/transmission-4.1.1.ebuild    |  8 +++-----
 net-p2p/transmission/transmission-9999.ebuild     | 10 ++++------
 4 files changed, 11 insertions(+), 17 deletions(-)

diff --git a/net-p2p/transmission/metadata.xml 
b/net-p2p/transmission/metadata.xml
index 7977f9390453..9e6d0a4b09d5 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -15,6 +15,5 @@
        <use>
                <flag name="cli">Build command-line client</flag>
                <flag name="debug">Enable assertions</flag>
-               <flag name="mbedtls">Use mbed TLS instead of OpenSSL</flag>
        </use>
 </pkgmetadata>

diff --git a/net-p2p/transmission/transmission-4.0.6-r6.ebuild 
b/net-p2p/transmission/transmission-4.0.6-r6.ebuild
index 4bf943b0b1d4..d974332db921 100644
--- a/net-p2p/transmission/transmission-4.0.6-r6.ebuild
+++ b/net-p2p/transmission/transmission-4.0.6-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2006-2025 Gentoo Authors
+# Copyright 2006-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,7 +25,7 @@ HOMEPAGE="https://transmissionbt.com/";
 # MIT is in several libtransmission/ headers
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT="0"
-IUSE="appindicator cli debug gtk nls mbedtls qt6 systemd test"
+IUSE="appindicator cli debug gtk nls qt6 systemd test"
 RESTRICT="!test? ( test )"
 
 ACCT_DEPEND="
@@ -42,8 +42,7 @@ BDEPEND="
 COMMON_DEPEND="
        app-arch/libdeflate:=[gzip(+)]
        >=dev-libs/libevent-2.1.0:=[threads(+)]
-       !mbedtls? ( dev-libs/openssl:0= )
-       mbedtls? ( net-libs/mbedtls:0= )
+       dev-libs/openssl:0=
        net-libs/libnatpmp
        >=net-libs/libpsl-0.21.1
        >=net-libs/miniupnpc-1.7:=
@@ -105,7 +104,7 @@ src_configure() {
                -DUSE_SYSTEM_B64=OFF
                -DUSE_SYSTEM_PSL=ON
 
-               -DWITH_CRYPTO=$(usex mbedtls mbedtls openssl)
+               -DWITH_CRYPTO=openssl
                -DWITH_INOTIFY=ON
                -DWITH_APPINDICATOR=$(usex appindicator ON OFF)
                -DWITH_SYSTEMD=$(usex systemd ON OFF)

diff --git a/net-p2p/transmission/transmission-4.1.1.ebuild 
b/net-p2p/transmission/transmission-4.1.1.ebuild
index fb439bf40d3e..128402a66f3a 100644
--- a/net-p2p/transmission/transmission-4.1.1.ebuild
+++ b/net-p2p/transmission/transmission-4.1.1.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=8
 
-CMAKE_REMOVE_MODULES_LIST=( FindMbedTLS )
 inherit cmake flag-o-matic tmpfiles systemd xdg-utils
 
 if [[ ${PV} == 9999 ]]; then
@@ -23,7 +22,7 @@ HOMEPAGE="https://transmissionbt.com/";
 # MIT is in several libtransmission/ headers
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT="0"
-IUSE="appindicator cli debug gtk nls mbedtls qt6 systemd test"
+IUSE="appindicator cli debug gtk nls qt6 systemd test"
 RESTRICT="!test? ( test )"
 
 ACCT_DEPEND="
@@ -40,8 +39,7 @@ BDEPEND="
 COMMON_DEPEND="
        app-arch/libdeflate:=[gzip(+)]
        >=dev-libs/libevent-2.1.0:=[threads(+)]
-       !mbedtls? ( dev-libs/openssl:0= )
-       mbedtls? ( net-libs/mbedtls:3= )
+       dev-libs/openssl:0=
        net-libs/libnatpmp
        >=net-libs/libpsl-0.21.1
        >=net-libs/miniupnpc-1.7:=
@@ -95,7 +93,7 @@ src_configure() {
                -DUSE_SYSTEM_B64=OFF
                -DUSE_SYSTEM_PSL=ON
 
-               -DWITH_CRYPTO=$(usex mbedtls mbedtls openssl)
+               -DWITH_CRYPTO=openssl
                -DWITH_INOTIFY=ON
                -DWITH_APPINDICATOR=$(usex appindicator ON OFF)
                -DWITH_SYSTEMD=$(usex systemd ON OFF)

diff --git a/net-p2p/transmission/transmission-9999.ebuild 
b/net-p2p/transmission/transmission-9999.ebuild
index 292fae5b272b..249b55cf543f 100644
--- a/net-p2p/transmission/transmission-9999.ebuild
+++ b/net-p2p/transmission/transmission-9999.ebuild
@@ -1,9 +1,8 @@
-# Copyright 2006-2025 Gentoo Authors
+# Copyright 2006-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-CMAKE_REMOVE_MODULES_LIST=( FindMbedTLS )
 inherit cmake flag-o-matic tmpfiles systemd xdg-utils
 
 if [[ ${PV} == 9999 ]]; then
@@ -25,7 +24,7 @@ HOMEPAGE="https://transmissionbt.com/";
 # MIT is in several libtransmission/ headers
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT="0"
-IUSE="appindicator cli debug gtk nls mbedtls qt6 systemd test"
+IUSE="appindicator cli debug gtk nls qt6 systemd test"
 RESTRICT="!test? ( test )"
 
 ACCT_DEPEND="
@@ -42,8 +41,7 @@ BDEPEND="
 COMMON_DEPEND="
        app-arch/libdeflate:=[gzip(+)]
        >=dev-libs/libevent-2.1.0:=[threads(+)]
-       !mbedtls? ( dev-libs/openssl:0= )
-       mbedtls? ( net-libs/mbedtls:3= )
+       dev-libs/openssl:0=
        net-libs/libnatpmp
        >=net-libs/libpsl-0.21.1
        >=net-libs/miniupnpc-1.7:=
@@ -91,7 +89,7 @@ src_configure() {
                -DUSE_SYSTEM_B64=OFF
                -DUSE_SYSTEM_PSL=ON
 
-               -DWITH_CRYPTO=$(usex mbedtls mbedtls openssl)
+               -DWITH_CRYPTO=openssl
                -DWITH_INOTIFY=ON
                -DWITH_APPINDICATOR=$(usex appindicator ON OFF)
                -DWITH_SYSTEMD=$(usex systemd ON OFF)

Reply via email to