mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
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)
This commit is contained in:
parent
546edd7b56
commit
8326d69786
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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()))));
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
@ -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);
|
||||
}
|
||||
|
@ -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)
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user