From 1a5826cd8bb06156b2c8f3f37b447ea440a02a11 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 13 Jul 2020 13:01:01 +0000 Subject: [PATCH] transmission*: update to 3.00 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### All Platforms - Allow the RPC server to listen on an IPv6 address ([#161](https://github.com/transmission/transmission/pull/161)) - Change `TR_CURL_SSL_VERIFY` to `TR_CURL_SSL_NO_VERIFY` and enable verification by default ([#334](https://github.com/transmission/transmission/pull/334)) - Go back to using hash as base name for resume and torrent files (those stored in configuration directory) ([#122](https://github.com/transmission/transmission/pull/122)) - Handle "fields" argument in "session-get" RPC request; if "fields" array is present in arguments, only return session fields specified; otherwise return all the fields as before - Limit the number of incorrect authentication attempts in embedded web server to 100 to prevent brute-force attacks ([#371](https://github.com/transmission/transmission/pull/371)) - Set idle seed limit range to 1..40320 (4 weeks tops) in all clients ([#212](https://github.com/transmission/transmission/pull/212)) - Add Peer ID for Xfplay, PicoTorrent, Free Download Manager, Folx, Baidu Netdisk torrent clients ([#256](https://github.com/transmission/transmission/pull/256), [#285](https://github.com/transmission/transmission/pull/285), [#355](https://github.com/transmission/transmission/pull/355), [#363](https://github.com/transmission/transmission/pull/363), [#386](https://github.com/transmission/transmission/pull/386)) - Announce `INT64_MAX` as size left if the value is unknown (helps with e.g. Amazon S3 trackers) ([#250](https://github.com/transmission/transmission/pull/250)) - Add `TCP_FASTOPEN` support (should result in slight speedup) ([#184](https://github.com/transmission/transmission/pull/184)) - Improve ToS handling on IPv6 connections ([#128](https://github.com/transmission/transmission/pull/128), [#341](https://github.com/transmission/transmission/pull/341), [#360](https://github.com/transmission/transmission/pull/360), [#692](https://github.com/transmission/transmission/pull/692), [#737](https://github.com/transmission/transmission/pull/737)) - Abort handshake if establishing DH shared secret fails (leads to crash) ([#27](https://github.com/transmission/transmission/pull/27)) - Don't switch trackers while announcing (leads to crash) ([#297](https://github.com/transmission/transmission/pull/297)) - Improve completion scripts execution and error handling; add support for .cmd and .bat files on Windows ([#405](https://github.com/transmission/transmission/pull/405)) - Maintain a "session ID" file (in temporary directory) to better detect whether session is local or remote; return the ID as part of "session-get" response (TRAC-5348, [#861](https://github.com/transmission/transmission/pull/861)) - Change torrent location even if no data move is needed ([#35](https://github.com/transmission/transmission/pull/35)) - Support CIDR-notated blocklists ([#230](https://github.com/transmission/transmission/pull/230), [#741](https://github.com/transmission/transmission/pull/741)) - Update the resume file before running scripts ([#825](https://github.com/transmission/transmission/pull/825)) - Make multiscrape limits adaptive ([#837](https://github.com/transmission/transmission/pull/837)) - Add labels support to libtransmission and transmission-remote ([#822](https://github.com/transmission/transmission/pull/822)) - Parse `session-id` header case-insensitively ([#765](https://github.com/transmission/transmission/pull/765)) - Sanitize suspicious path components instead of rejecting them ([#62](https://github.com/transmission/transmission/pull/62), [#294](https://github.com/transmission/transmission/pull/294)) - Load CA certs from system store on Windows / OpenSSL ([#446](https://github.com/transmission/transmission/pull/446)) - Add support for mbedtls (formely polarssl) and wolfssl (formely cyassl), LibreSSL ([#115](https://github.com/transmission/transmission/pull/115), [#116](https://github.com/transmission/transmission/pull/116), [#284](https://github.com/transmission/transmission/pull/284), [#486](https://github.com/transmission/transmission/pull/486), [#524](https://github.com/transmission/transmission/pull/524), [#570](https://github.com/transmission/transmission/pull/570)) - Fix building against OpenSSL 1.1.0+ ([#24](https://github.com/transmission/transmission/pull/24)) - Fix quota support for uClibc-ng 1.0.18+ and DragonFly BSD ([#42](https://github.com/transmission/transmission/pull/42), [#58](https://github.com/transmission/transmission/pull/58), [#312](https://github.com/transmission/transmission/pull/312)) - Fix a number of memory leaks (magnet loading, session shutdown, bencoded data parsing) ([#56](https://github.com/transmission/transmission/pull/56)) - Bump miniupnpc version to 2.0.20170509 ([#347](https://github.com/transmission/transmission/pull/347)) - CMake-related improvements (Ninja generator, libappindicator, systemd, Solaris and macOS) ([#72](https://github.com/transmission/transmission/pull/72), [#96](https://github.com/transmission/transmission/pull/96), [#117](https://github.com/transmission/transmission/pull/117), [#118](https://github.com/transmission/transmission/pull/118), [#133](https://github.com/transmission/transmission/pull/133), [#191](https://github.com/transmission/transmission/pull/191)) - Switch to submodules to manage (most of) third-party dependencies - Fail installation on Windows if UCRT is not installed ### Mac Client - Bump minimum macOS version to 10.10 - Dark Mode support ([#644](https://github.com/transmission/transmission/pull/644), [#722](https://github.com/transmission/transmission/pull/722), [#757](https://github.com/transmission/transmission/pull/757), [#779](https://github.com/transmission/transmission/pull/779), [#788](https://github.com/transmission/transmission/pull/788)) - Remove Growl support, notification center is always used ([#387](https://github.com/transmission/transmission/pull/387)) - Fix autoupdate on High Sierra and up by bumping the Sparkle version ([#121](https://github.com/transmission/transmission/pull/121), [#600](https://github.com/transmission/transmission/pull/600)) - Transition to ARC ([#336](https://github.com/transmission/transmission/pull/336)) - Use proper UTF-8 encoding (with macOS-specific normalization) when setting download/incomplete directory and completion script paths ([#11](https://github.com/transmission/transmission/pull/11)) - Fix uncaught exception when dragging multiple items between groups ([#51](https://github.com/transmission/transmission/pull/51)) - Add flat variants of status icons for message log ([#134](https://github.com/transmission/transmission/pull/134)) - Optimize image resources size ([#304](https://github.com/transmission/transmission/pull/304), [#429](https://github.com/transmission/transmission/pull/429)) - Update file icon when file name changes ([#37](https://github.com/transmission/transmission/pull/37)) - Update translations ### GTK+ Client - Add queue up/down hotkeys ([#158](https://github.com/transmission/transmission/pull/158)) - Modernize the .desktop file ([#162](https://github.com/transmission/transmission/pull/162)) - Add AppData file ([#224](https://github.com/transmission/transmission/pull/224)) - Add symbolic icon variant for the Gnome top bar and when the high contrast theme is in use ([#414](https://github.com/transmission/transmission/pull/414), [#449](https://github.com/transmission/transmission/pull/449)) - Update file icon when its name changes ([#37](https://github.com/transmission/transmission/pull/37)) - Switch from intltool to gettext for translations ([#584](https://github.com/transmission/transmission/pull/584), [#647](https://github.com/transmission/transmission/pull/647)) - Update translations, add new translations for Portuguese (Portugal) ### Qt Client - Bump minimum Qt version to 5.2 - Fix dropping .torrent files into main window on Windows ([#269](https://github.com/transmission/transmission/pull/269)) - Fix prepending of drive letter to various user-selected paths on Windows ([#236](https://github.com/transmission/transmission/pull/236), [#307](https://github.com/transmission/transmission/pull/307), [#404](https://github.com/transmission/transmission/pull/404), [#437](https://github.com/transmission/transmission/pull/437), [#699](https://github.com/transmission/transmission/pull/699), [#723](https://github.com/transmission/transmission/pull/723), [#877](https://github.com/transmission/transmission/pull/877)) - Fix sorting by progress in presence of magnet transfers ([#234](https://github.com/transmission/transmission/pull/234)) - Fix .torrent file trashing upon addition ([#262](https://github.com/transmission/transmission/pull/262)) - Add queue up/down hotkeys ([#158](https://github.com/transmission/transmission/pull/158)) - Reduce torrent properties (file tree) memory usage - Display tooltips in torrent properties (file tree) in case the names don't fit ([#411](https://github.com/transmission/transmission/pull/411)) - Improve UI look on hi-dpi displays (YMMV) - Use session ID (if available) to check if session is local or not ([#861](https://github.com/transmission/transmission/pull/861)) - Use default (instead of system) locale to be more flexible ([#130](https://github.com/transmission/transmission/pull/130)) - Modernize the .desktop file ([#162](https://github.com/transmission/transmission/pull/162)) - Update translations, add new translations for Afrikaans, Catalan, Danish, Greek, Norwegian Bokmål, Slovenian ### Daemon - Use libsystemd instead of libsystemd-daemon (TRAC-5921) - Harden transmission-daemon.service by disallowing privileges elevation ([#795](https://github.com/transmission/transmission/pull/795)) - Fix exit code to be zero when dumping settings ([#487](https://github.com/transmission/transmission/pull/487)) ### Web Client - Fix tracker error XSS in inspector (CVE-?) - Fix performance issues due to improper use of `setInterval()` for UI refresh (TRAC-6031) - Fix recognition of `https://` links in comments field ([#41](https://github.com/transmission/transmission/pull/41), [#180](https://github.com/transmission/transmission/pull/180)) - Fix torrent list style in Google Chrome 59+ ([#384](https://github.com/transmission/transmission/pull/384)) - Show ETA in compact view on non-mobile devices ([#146](https://github.com/transmission/transmission/pull/146)) - Show upload file button on mobile devices ([#320](https://github.com/transmission/transmission/pull/320), [#431](https://github.com/transmission/transmission/pull/431), [#956](https://github.com/transmission/transmission/pull/956)) - Add keyboard hotkeys for web interface ([#351](https://github.com/transmission/transmission/pull/351)) - Disable autocompletion in torrent URL field ([#367](https://github.com/transmission/transmission/pull/367)) ### Utils - Prevent crash in transmission-show displaying torrents with invalid creation date ([#609](https://github.com/transmission/transmission/pull/609)) - Handle IPv6 RPC addresses in transmission-remote ([#247](https://github.com/transmission/transmission/pull/247)) - Add `--unsorted` option to transmission-show ([#767](https://github.com/transmission/transmission/pull/767)) - Widen the torrent-id column in transmission-remote for cleaner formatting ([#840](https://github.com/transmission/transmission/pull/840)) --- net/transmission-gtk/Makefile | 3 +-- net/transmission-gtk/PLIST | 18 +++++++++--------- net/transmission-qt/Makefile | 3 +-- net/transmission/Makefile | 3 +-- net/transmission/Makefile.common | 8 ++++---- net/transmission/PLIST | 4 +++- net/transmission/distinfo | 12 ++++++------ net/transmission/patches/patch-qt_qtr.pro | 8 ++++---- 8 files changed, 29 insertions(+), 30 deletions(-) diff --git a/net/transmission-gtk/Makefile b/net/transmission-gtk/Makefile index 5c363f557072..913da5c472cd 100644 --- a/net/transmission-gtk/Makefile +++ b/net/transmission-gtk/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.45 2020/05/22 10:56:32 adam Exp $ +# $NetBSD: Makefile,v 1.46 2020/07/13 13:01:01 wiz Exp $ PKGNAME= transmission-gtk-${VERSION} -PKGREVISION= 8 COMMENT= Free, lightweight BitTorrent client (GTK version) INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}${PREFIX} diff --git a/net/transmission-gtk/PLIST b/net/transmission-gtk/PLIST index b60401045997..7c306945bb0d 100644 --- a/net/transmission-gtk/PLIST +++ b/net/transmission-gtk/PLIST @@ -1,20 +1,16 @@ -@comment $NetBSD: PLIST,v 1.1 2013/03/02 19:34:36 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/07/13 13:01:01 wiz Exp $ bin/transmission-gtk man/man1/transmission-gtk.1 +share/appdata/transmission-gtk.appdata.xml share/applications/transmission-gtk.desktop -share/icons/hicolor/16x16/apps/transmission.png -share/icons/hicolor/22x22/apps/transmission.png -share/icons/hicolor/24x24/apps/transmission.png -share/icons/hicolor/256x256/apps/transmission.png -share/icons/hicolor/32x32/apps/transmission.png -share/icons/hicolor/48x48/apps/transmission.png +share/icons/hicolor/scalable/apps/transmission-devel.svg share/icons/hicolor/scalable/apps/transmission.svg +share/icons/hicolor/symbolic/apps/transmission-symbolic.svg share/locale/an/LC_MESSAGES/transmission-gtk.mo share/locale/ar/LC_MESSAGES/transmission-gtk.mo share/locale/ast/LC_MESSAGES/transmission-gtk.mo share/locale/az/LC_MESSAGES/transmission-gtk.mo share/locale/be/LC_MESSAGES/transmission-gtk.mo -share/locale/be@latin/LC_MESSAGES/transmission-gtk.mo share/locale/bg/LC_MESSAGES/transmission-gtk.mo share/locale/bn/LC_MESSAGES/transmission-gtk.mo share/locale/bo/LC_MESSAGES/transmission-gtk.mo @@ -25,6 +21,7 @@ share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo share/locale/ceb/LC_MESSAGES/transmission-gtk.mo share/locale/ckb/LC_MESSAGES/transmission-gtk.mo share/locale/cs/LC_MESSAGES/transmission-gtk.mo +share/locale/cy/LC_MESSAGES/transmission-gtk.mo share/locale/da/LC_MESSAGES/transmission-gtk.mo share/locale/de/LC_MESSAGES/transmission-gtk.mo share/locale/el/LC_MESSAGES/transmission-gtk.mo @@ -40,6 +37,7 @@ share/locale/fi/LC_MESSAGES/transmission-gtk.mo share/locale/fil/LC_MESSAGES/transmission-gtk.mo share/locale/fo/LC_MESSAGES/transmission-gtk.mo share/locale/fr/LC_MESSAGES/transmission-gtk.mo +share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo share/locale/ga/LC_MESSAGES/transmission-gtk.mo share/locale/gl/LC_MESSAGES/transmission-gtk.mo share/locale/gv/LC_MESSAGES/transmission-gtk.mo @@ -53,6 +51,7 @@ share/locale/id/LC_MESSAGES/transmission-gtk.mo share/locale/is/LC_MESSAGES/transmission-gtk.mo share/locale/it/LC_MESSAGES/transmission-gtk.mo share/locale/ja/LC_MESSAGES/transmission-gtk.mo +share/locale/jbo/LC_MESSAGES/transmission-gtk.mo share/locale/ka/LC_MESSAGES/transmission-gtk.mo share/locale/kk/LC_MESSAGES/transmission-gtk.mo share/locale/ko/LC_MESSAGES/transmission-gtk.mo @@ -85,7 +84,7 @@ share/locale/sq/LC_MESSAGES/transmission-gtk.mo share/locale/sr/LC_MESSAGES/transmission-gtk.mo share/locale/sv/LC_MESSAGES/transmission-gtk.mo share/locale/sw/LC_MESSAGES/transmission-gtk.mo -share/locale/ta_LK/LC_MESSAGES/transmission-gtk.mo +share/locale/ta/LC_MESSAGES/transmission-gtk.mo share/locale/te/LC_MESSAGES/transmission-gtk.mo share/locale/th/LC_MESSAGES/transmission-gtk.mo share/locale/tl/LC_MESSAGES/transmission-gtk.mo @@ -96,5 +95,6 @@ share/locale/ur/LC_MESSAGES/transmission-gtk.mo share/locale/uz/LC_MESSAGES/transmission-gtk.mo share/locale/vi/LC_MESSAGES/transmission-gtk.mo share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo +share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo share/pixmaps/transmission.png diff --git a/net/transmission-qt/Makefile b/net/transmission-qt/Makefile index 33ef71582a87..2815ec887b7b 100644 --- a/net/transmission-qt/Makefile +++ b/net/transmission-qt/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.52 2020/06/02 08:24:35 adam Exp $ +# $NetBSD: Makefile,v 1.53 2020/07/13 13:01:01 wiz Exp $ PKGNAME= transmission-qt-${VERSION} -PKGREVISION= 9 COMMENT= Free, lightweight BitTorrent client (QT version) MAKE_ENV+= QTDIR=${QTDIR} diff --git a/net/transmission/Makefile b/net/transmission/Makefile index 36707d3e3c37..fa5164954db4 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2020/05/22 10:56:32 adam Exp $ +# $NetBSD: Makefile,v 1.27 2020/07/13 13:01:01 wiz Exp $ CONFLICTS+= Transmission-[0-9]* @@ -8,6 +8,5 @@ pre-configure: CONFIGURE_ARGS+= --disable-mac CONFIGURE_ARGS+= --without-gtk -PKGREVISION= 6 .include "../../net/transmission/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/net/transmission/Makefile.common b/net/transmission/Makefile.common index 4b7a41aa1030..b66a6dd1639f 100644 --- a/net/transmission/Makefile.common +++ b/net/transmission/Makefile.common @@ -1,10 +1,10 @@ -# $NetBSD: Makefile.common,v 1.9 2019/07/20 23:14:40 wiz Exp $ +# $NetBSD: Makefile.common,v 1.10 2020/07/13 13:01:01 wiz Exp $ # # used by net/transmission/Makefile # used by net/transmission-gtk/Makefile # used by net/transmission-qt/Makefile -VERSION= 2.94 +VERSION= 3.00 DISTNAME= transmission-${VERSION} CATEGORIES= net MASTER_SITES= https://github.com/transmission/transmission-releases/raw/master/ @@ -40,8 +40,8 @@ ALL_ENV+= LIBEVENT_CFLAGS=-I${BUILDLINK_PREFIX.libevent}/include ALL_ENV+= LIBEVENT_LIBS="-L${BUILDLINK_PREFIX.libevent}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libevent}/lib -levent" BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10 .include "../../devel/libevent/buildlink3.mk" -ALL_ENV+= "OPENSSL_CFLAGS=-I${SSLBASE}/include" -ALL_ENV+= "OPENSSL_LIBS=-L${SSLBASE}/lib -lcrypto -lssl" +ALL_ENV+= OPENSSL_CFLAGS="-I${SSLBASE}/include" +ALL_ENV+= OPENSSL_LIBS="-L${SSLBASE}/lib -lcrypto -lssl" .include "../../devel/libgetopt/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../www/curl/buildlink3.mk" diff --git a/net/transmission/PLIST b/net/transmission/PLIST index 6a3c84024fc8..247807fb32a3 100644 --- a/net/transmission/PLIST +++ b/net/transmission/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2016/04/15 09:28:39 wiz Exp $ +@comment $NetBSD: PLIST,v 1.4 2020/07/13 13:01:01 wiz Exp $ bin/transmission-create bin/transmission-daemon bin/transmission-edit @@ -25,7 +25,9 @@ share/transmission/web/javascript/jquery/jquery.min.js share/transmission/web/javascript/jquery/jquery.transmenu.min.js share/transmission/web/javascript/jquery/jquery.ui-contextmenu.min.js share/transmission/web/javascript/jquery/json2.min.js +share/transmission/web/javascript/main.js share/transmission/web/javascript/notifications.js +share/transmission/web/javascript/polyfill.js share/transmission/web/javascript/prefs-dialog.js share/transmission/web/javascript/remote.js share/transmission/web/javascript/torrent-row.js diff --git a/net/transmission/distinfo b/net/transmission/distinfo index 54d9d60a6cdc..e38589fdb2e8 100644 --- a/net/transmission/distinfo +++ b/net/transmission/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.15 2019/07/20 23:14:40 wiz Exp $ +$NetBSD: distinfo,v 1.16 2020/07/13 13:01:01 wiz Exp $ -SHA1 (transmission-2.94.tar.xz) = 5f1b41090764bb2150eb0440fce671a3825ef265 -RMD160 (transmission-2.94.tar.xz) = 92fef8c64ff0ee71002b3f36149947e60e568d10 -SHA512 (transmission-2.94.tar.xz) = ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7 -Size (transmission-2.94.tar.xz) = 3365952 bytes -SHA1 (patch-qt_qtr.pro) = 8789931713d96bd1015c615660ab729008d5bbf4 +SHA1 (transmission-3.00.tar.xz) = fd6bd78cfe5a612b422a49e8193d82df2486a3c4 +RMD160 (transmission-3.00.tar.xz) = 5286c3e183474cba6ed1c6cfc022f4f5afab4fda +SHA512 (transmission-3.00.tar.xz) = eeaf7fe46797326190008776a7fa641b6341c806b0f1684c2e7326c1284832a320440013e42a37acda9fd0ee5dca695f215d6263c8acb39188c5d9a836104a61 +Size (transmission-3.00.tar.xz) = 3329220 bytes +SHA1 (patch-qt_qtr.pro) = e29629fada5bbb34e3b05b47092dba655b9d8265 diff --git a/net/transmission/patches/patch-qt_qtr.pro b/net/transmission/patches/patch-qt_qtr.pro index 21a7843f3695..7eaff5ecaa91 100644 --- a/net/transmission/patches/patch-qt_qtr.pro +++ b/net/transmission/patches/patch-qt_qtr.pro @@ -1,9 +1,9 @@ -$NetBSD: patch-qt_qtr.pro,v 1.6 2019/07/20 23:14:40 wiz Exp $ +$NetBSD: patch-qt_qtr.pro,v 1.7 2020/07/13 13:01:01 wiz Exp $ 1. Fix man page installation path. 2. add openssl cflags/ldflags (still needed?) ---- qt/qtr.pro.orig 2015-12-29 00:47:32.464150631 +0000 +--- qt/qtr.pro.orig 2020-05-22 11:04:23.470805450 +0000 +++ qt/qtr.pro @@ -8,7 +8,8 @@ target.path = /bin INSTALLS += target @@ -14,8 +14,8 @@ $NetBSD: patch-qt_qtr.pro,v 1.6 2019/07/20 23:14:40 wiz Exp $ + man.files = transmission-qt.1 - CONFIG += qt thread debug link_pkgconfig c++11 warn_on -@@ -28,12 +29,14 @@ include(config.pri) + CONFIG += qt thread link_pkgconfig c++1z warn_on +@@ -29,12 +30,14 @@ include(config.pri) INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH} INCLUDEPATH += $${TRANSMISSION_TOP}