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>
Wed, 25 Oct 2023 07:25:48 +0000 (09:25 +0200)
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 703b1db6e89aa5d349026864ed0d289c91abca59..0fd6f23b982f965c4350d59fb72ed0d958a4c035 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)/
@@ -45,7 +45,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