transmission: fix depends on libmbedtls
authorLiangbin Lian <jjm2473@gmail.com>
Mon, 10 Jul 2023 07:53:33 +0000 (15:53 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 20 Feb 2024 08:01:19 +0000 (09:01 +0100)
If a firmware build with curl without mbedtls, install transmission from openwrt official repo will fail to start

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
(cherry picked from commit 2311e7921893453094bd065e1a94ffa8d850c8b7)

net/transmission/Makefile

index ead4f12c2e91c883d496ed4b37a94a2e44b4dee8..7575e3cc7e56b9870e8a4534b83590a7f8520e45 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
 PKG_VERSION:=4.0.3
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/transmission/transmission/releases/download/$(PKG_VERSION)/
@@ -44,7 +44,7 @@ define Package/transmission/template
   DEPENDS:=+libatomic +libcurl +libdeflate +libdht +libevent2 \
           +libevent2-pthreads +libminiupnpc +libnatpmp +libpthread +libpsl \
           +librt +libutp +zlib +LIBCURL_NOSSL:libmbedtls \
-          +LIBCURL_GNUTLS:libmbedtls
+          +LIBCURL_GNUTLS:libmbedtls +LIBCURL_MBEDTLS:libmbedtls
 endef
 
 define Package/transmission-daemon