transmission: do not use wolfSSL 14342/head
authorRosen Penev <rosenp@gmail.com>
Tue, 29 Dec 2020 02:42:29 +0000 (18:42 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 1 Jan 2021 02:05:03 +0000 (18:05 -0800)
There's some kind of crash internally in wolfSSL. It doesn't seem like
anyone knows how to fix it. Just disable it for now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/transmission/Makefile
net/transmission/patches/010-no-intltool.patch
net/transmission/patches/020-mbedcrypto.patch
net/transmission/patches/080-disable-webseeding.patch

index 28c106a0bd2d9a9d51896cc3e3716afb4037d149..d6fa8ada68739a76429df3cf1b683397ab56f3ca 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
 PKG_VERSION:=3.00
-PKG_RELEASE:=9
+PKG_RELEASE:=10
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master
@@ -40,7 +40,7 @@ define Package/transmission/template
   CATEGORY:=Network
   TITLE:=BitTorrent client
   URL:=https://www.transmissionbt.com
-  DEPENDS:=+libcurl +libevent2 +libminiupnpc +libnatpmp +libpthread +librt +zlib +LIBCURL_NOSSL:libmbedtls +LIBCURL_GNUTLS:libmbedtls $(ICONV_DEPENDS)
+  DEPENDS:=+libcurl +libevent2 +libminiupnpc +libnatpmp +libpthread +librt +zlib +LIBCURL_NOSSL:libmbedtls +LIBCURL_GNUTLS:libmbedtls +LIBCURL_WOLFSSL:libmbedtls $(ICONV_DEPENDS)
 endef
 
 define Package/transmission-daemon
@@ -104,7 +104,7 @@ CONFIGURE_ARGS += \
        $(if $(CONFIG_LIBCURL_GNUTLS),--with-crypto=polarssl) \
        $(if $(CONFIG_LIBCURL_MBEDTLS),--with-crypto=polarssl) \
        $(if $(CONFIG_LIBCURL_OPENSSL),--with-crypto=openssl) \
-       $(if $(CONFIG_LIBCURL_WOLFSSL),--with-crypto=cyassl)
+       $(if $(CONFIG_LIBCURL_WOLFSSL),--with-crypto=polarssl)
 
 define Package/transmission-daemon/install
        $(INSTALL_DIR) $(1)/usr/bin
index a82c62f6c388664f74969d2f3c82595c7f6d4716..ba59092bc52bf0389b634e9678c4459f0e94a7d4 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -555,9 +555,6 @@ dnl it should be safe to re-edit 0.40 back down to 0.23
+@@ -555,9 +555,6 @@ dnl it should be safe to re-edit 0.40 ba
  use_nls=no
  if test "x$enable_nls" = "xyes" ; then
      use_nls=yes
index da0874fe19d7205bb4f2c057053c0df57d13173a..18c33f5b7c884acbae113030f0ec2b3c9e9a62b5 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -152,8 +152,8 @@ AS_IF([test "x$want_crypto" = "xauto" -o "x$want_crypto" = "xcyassl"], [
+@@ -152,8 +152,8 @@ AS_IF([test "x$want_crypto" = "xauto" -o
      )
  ])
  AS_IF([test "x$want_crypto" = "xauto" -o "x$want_crypto" = "xpolarssl"], [
index a850b3563b1123748f7516fd44b3984dd9e13d04..f63d78d3e37a99680da248cd00b35985b6b16a9d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/libtransmission/webseed.c
 +++ b/libtransmission/webseed.c
-@@ -510,8 +510,6 @@ static void webseed_timer_func(evutil_socket_t foo UNUSED, short bar UNUSED, voi
+@@ -510,8 +510,6 @@ static void webseed_timer_func(evutil_so
          ++w->retry_tickcount;
      }