git: 8326d6978631 - main - net-p2p/transmission*: update to 4.0.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Jun 2024 11:57:38 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8326d697863137f1665bd21a1fc148b6363540fb
commit 8326d697863137f1665bd21a1fc148b6363540fb
Author: Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2024-05-31 18:00:59 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-06-01 11:57:23 +0000
net-p2p/transmission*: update to 4.0.6
ChangeLog: https://github.com/transmission/transmission/releases/tag/4.0.6
All Platforms
Improved parsing HTTP tracker announce response.
* Fixed 4.0.0 bug that caused some user scripts to have an invalid
TR_TORRENT_TRACKERS environment variable.
* Fixed 4.0.0 bug where alt-speed-enabled had no effect in settings.json.
* Fixed 4.0.0 bug where the GTK client's "Use authentication" option was not
saved between's sessions.
* Fixed 4.0.0 bug where the filename for single-file torrents aren't sanitized.
macOS Client
* Fix: Sparkle support for handling beta version updates.
* Fixed app unable to start when having many torrents and TimeMachine enabled.
* Fix: Sparkle Version Comparator.
Qt Client
* Fixed 4.0.0 bug where piece size description text and slider state in torrent
creation dialog are not always up-to-date.
GTK Client
* Fixed build when compiling with GTKMM 4.
* Added developer name to metainfo files.
* Added the launchable desktop-id to metainfo files.
* Fixed build when compiling on BSD.
Web Client
* Fixed a 4.0.0 bug where the infinite ratio symbol was displayed incorrectly
in the WebUI.
* Fixed layout issue in speed display.
* General UI improvement related to filterbar and fixes download/upload speed
info wrap.
Daemon
* Fixed a couple of logging issues.
Everything Else
* Updated flatpak release metainfo.
* Fixed libtransmission build on very old cmake versions.
* UTP peer connections follow user-defined speed limits better now.
* Only use a single concurrent queue for timeMachineExclude instead of one
queue per torrent
* Fixed 4.0.5 bug where svg and png icons in the WebUI might not be displayed.
* Fixed 4.0.0 bug where alt-speed-enabled had no effect in settings.json.
* Fixed 4.0.0 bugs where some RPC methods don't put torrents in recently-active
anymore.
* Improved parsing HTTP tracker announce response.
* Fixed compatibility with clang-format 18.
* Fixed build when compiling with mbedtls 3.x .
PR: 279396
Reported by: mondo.debater_0q@icloud.com (maintainer)
---
net-p2p/transmission-components/Makefile | 9 +++++----
net-p2p/transmission-components/distinfo | 6 +++---
.../files/patch-cmake_FindFastFloat.cmake | 6 +++---
.../transmission-components/files/patch-cmake_FindFmt.cmake | 4 ++--
.../files/patch-cmake_FindUtfCpp.cmake | 6 +++---
.../transmission-components/files/patch-gtk_Application.cc | 11 -----------
.../transmission-components/files/patch-gtk_DetailsDialog.cc | 10 ----------
.../files/patch-libtransmission_file-posix.cc | 11 -----------
.../files/patch-libtransmission_variant-json.cc | 11 -----------
net-p2p/transmission/Makefile | 4 ++--
10 files changed, 18 insertions(+), 60 deletions(-)
diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile
index ba93835a1d96..1bbacf6566ff 100644
--- a/net-p2p/transmission-components/Makefile
+++ b/net-p2p/transmission-components/Makefile
@@ -1,6 +1,6 @@
PORTNAME= transmission
-DISTVERSION= 4.0.5
-PORTREVISION= 2
+DISTVERSION= 4.0.6
+PORTREVISION= 0
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
@@ -13,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \
${LOCALBASE}/include/fmt/format.h:devel/libfmt \
- ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp
+ ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp \
+ ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson
LIB_DEPENDS= libb64.so:converters/libb64 \
libcurl.so:ftp/curl \
@@ -56,6 +57,7 @@ EXTRACT_AFTER_ARGS= --exclude third-party/dht \
--exclude third-party/libpsl \
--exclude third-party/libutp \
--exclude third-party/miniupnpc \
+ --exclude third-party/rapidjson \
--exclude third-party/utfcpp
.if ${FLAVOR} == gtk
@@ -149,7 +151,6 @@ qt_DESC= Build QT client
TESTS_DESC= Build & run unit tests
utils_DESC= Build utilities (create, edit, remote, show)
cli_DESC= Build command-line client (deprecated)
-#web_DESC= Install web interface
NLS_USES= gettext-runtime:lib
NLS_CMAKE_BOOL= ENABLE_NLS
diff --git a/net-p2p/transmission-components/distinfo b/net-p2p/transmission-components/distinfo
index 12fb1ccced6b..1debd6dfbbaa 100644
--- a/net-p2p/transmission-components/distinfo
+++ b/net-p2p/transmission-components/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701995252
-SHA256 (transmission-4.0.5.tar.xz) = fd68ff114a479200043c30c7e69dba4c1932f7af36ca4c5b5d2edcb5866e6357
-SIZE (transmission-4.0.5.tar.xz) = 9745756
+TIMESTAMP = 1717026106
+SHA256 (transmission-4.0.6.tar.xz) = 2a38fe6d8a23991680b691c277a335f8875bdeca2b97c6b26b598bc9c7b0c45f
+SIZE (transmission-4.0.6.tar.xz) = 11908296
diff --git a/net-p2p/transmission-components/files/patch-cmake_FindFastFloat.cmake b/net-p2p/transmission-components/files/patch-cmake_FindFastFloat.cmake
index 3d82cd8e3b48..95e27a51ce23 100644
--- a/net-p2p/transmission-components/files/patch-cmake_FindFastFloat.cmake
+++ b/net-p2p/transmission-components/files/patch-cmake_FindFastFloat.cmake
@@ -1,8 +1,8 @@
---- cmake/FindFastFloat.cmake.orig 2023-12-08 18:49:17 UTC
+--- cmake/FindFastFloat.cmake.orig 2024-02-22 15:48:36 UTC
+++ cmake/FindFastFloat.cmake
@@ -2,4 +2,4 @@ target_include_directories(FastFloat::fast_float
target_include_directories(FastFloat::fast_float
INTERFACE
-- ${CMAKE_CURRENT_LIST_DIR}/../third-party/fast_float/include)
-+ ${CMAKE_INSTALL_PREFIX}/include)
+- ${TR_THIRD_PARTY_SOURCE_DIR}/fast_float/include)
++ ${CMAKE_INSTALL_PREFIX}/include)
diff --git a/net-p2p/transmission-components/files/patch-cmake_FindFmt.cmake b/net-p2p/transmission-components/files/patch-cmake_FindFmt.cmake
index 57b5ec9d2040..f5ba5dee86f9 100644
--- a/net-p2p/transmission-components/files/patch-cmake_FindFmt.cmake
+++ b/net-p2p/transmission-components/files/patch-cmake_FindFmt.cmake
@@ -1,11 +1,11 @@
---- cmake/FindFmt.cmake.orig 2023-12-16 08:06:18 UTC
+--- cmake/FindFmt.cmake.orig 2024-04-30 16:44:38 UTC
+++ cmake/FindFmt.cmake
@@ -2,7 +2,7 @@ target_include_directories(fmt::fmt-header-only
target_include_directories(fmt::fmt-header-only
INTERFACE
- ${CMAKE_CURRENT_LIST_DIR}/../third-party/fmt/include)
-+ ${CMAKE_INSTALL_PREFIX}/include)
++ ${CMAKE_INSTALL_PREFIX}/include)
target_compile_definitions(fmt::fmt-header-only
INTERFACE
diff --git a/net-p2p/transmission-components/files/patch-cmake_FindUtfCpp.cmake b/net-p2p/transmission-components/files/patch-cmake_FindUtfCpp.cmake
index 86b4caa30e3c..49ad66cf5725 100644
--- a/net-p2p/transmission-components/files/patch-cmake_FindUtfCpp.cmake
+++ b/net-p2p/transmission-components/files/patch-cmake_FindUtfCpp.cmake
@@ -1,8 +1,8 @@
---- cmake/FindUtfCpp.cmake.orig 2023-12-16 08:24:21 UTC
+--- cmake/FindUtfCpp.cmake.orig 2024-02-22 15:49:05 UTC
+++ cmake/FindUtfCpp.cmake
@@ -2,4 +2,4 @@ target_include_directories(utf8::cpp
target_include_directories(utf8::cpp
INTERFACE
-- ${CMAKE_CURRENT_LIST_DIR}/../third-party/utfcpp/source)
-+ ${CMAKE_INSTALL_PREFIX}/include/utf8cpp)
+- ${CMAKE_CURRENT_LIST_DIR}/../third-party/utfcpp/source)
++ ${CMAKE_INSTALL_PREFIX}/include/utf8cpp)
diff --git a/net-p2p/transmission-components/files/patch-gtk_Application.cc b/net-p2p/transmission-components/files/patch-gtk_Application.cc
deleted file mode 100644
index 7160dab7acf9..000000000000
--- a/net-p2p/transmission-components/files/patch-gtk_Application.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- gtk/Application.cc.orig 2023-09-19 12:12:08 UTC
-+++ gtk/Application.cc
-@@ -395,7 +395,7 @@ void register_magnet_link_handler()
- _("Couldn't register Transmission as a {content_type} handler: {error} ({error_code})"),
- fmt::arg("content_type", content_type),
- fmt::arg("error", e.what()),
-- fmt::arg("error_code", e.code())));
-+ fmt::arg("error_code", static_cast<int>(e.code()))));
- }
- }
-
diff --git a/net-p2p/transmission-components/files/patch-gtk_DetailsDialog.cc b/net-p2p/transmission-components/files/patch-gtk_DetailsDialog.cc
deleted file mode 100644
index d759cae1a443..000000000000
--- a/net-p2p/transmission-components/files/patch-gtk_DetailsDialog.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- gtk/DetailsDialog.cc.orig 2023-07-05 18:51:40 UTC
-+++ gtk/DetailsDialog.cc
-@@ -68,6 +68,7 @@
- #include <ws2tcpip.h>
- #else
- #include <arpa/inet.h>
-+#include <sys/socket.h>
- #endif
-
- using namespace std::literals;
diff --git a/net-p2p/transmission-components/files/patch-libtransmission_file-posix.cc b/net-p2p/transmission-components/files/patch-libtransmission_file-posix.cc
deleted file mode 100644
index 9e43e4252943..000000000000
--- a/net-p2p/transmission-components/files/patch-libtransmission_file-posix.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- libtransmission/file-posix.cc.orig 2023-09-19 12:13:51 UTC
-+++ libtransmission/file-posix.cc
-@@ -556,7 +556,7 @@ tr_sys_file_t tr_sys_file_get_std(tr_std_sys_file_t st
- break;
-
- default:
-- TR_ASSERT_MSG(false, fmt::format(FMT_STRING("unknown standard file {:d}"), std_file));
-+ TR_ASSERT_MSG(false, fmt::format(FMT_STRING("unknown standard file {:d}"), static_cast<int>(std_file)));
- tr_error_set_from_errno(error, EINVAL);
- }
-
diff --git a/net-p2p/transmission-components/files/patch-libtransmission_variant-json.cc b/net-p2p/transmission-components/files/patch-libtransmission_variant-json.cc
deleted file mode 100644
index ef0e15d4b18e..000000000000
--- a/net-p2p/transmission-components/files/patch-libtransmission_variant-json.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- libtransmission/variant-json.cc.orig 2023-09-19 12:15:17 UTC
-+++ libtransmission/variant-json.cc
-@@ -99,7 +99,7 @@ void error_handler(jsonsl_t jsn, jsonsl_error_t error,
- fmt::arg("position", jsn->pos),
- fmt::arg("text", std::string_view{ buf, std::min(size_t{ 16U }, data->size - jsn->pos) }),
- fmt::arg("error", jsonsl_strerror(error)),
-- fmt::arg("error_code", error)));
-+ fmt::arg("error_code", static_cast<int>(error))));
- }
-
- int error_callback(jsonsl_t jsn, jsonsl_error_t error, struct jsonsl_state_st* state, jsonsl_char_t* at)
diff --git a/net-p2p/transmission/Makefile b/net-p2p/transmission/Makefile
index 2e959e11fe6a..11980c338b0a 100644
--- a/net-p2p/transmission/Makefile
+++ b/net-p2p/transmission/Makefile
@@ -1,6 +1,6 @@
PORTNAME= transmission
-DISTVERSION= 4.0.5
-PORTREVISION= 1
+DISTVERSION= 4.0.6
+PORTREVISION= 0
CATEGORIES= net-p2p
MAINTAINER= mondo.debater_0q@icloud.com