Skip to content

Commit

Permalink
transmission*: update to 2.94
Browse files Browse the repository at this point in the history
Changes:

    Fix building against LibreSSL (#284, #486, #570)
    Fix building against mbedTLS (#115, #528)
    Fix torrents ETA calculation (#522)
    Fix cross-compilation issues caused by miniupnpc configuration test (#475)

Qt Client

    Fix bad downloaded percentage in DetailsDialog (#547)

Web Client

    Fix tracker error XSS in inspector (CVE pending; found by Rory McNamara of Gotham Digital Science)
    Fix torrent name HTML-escaping in trackers inspector tab
  • Loading branch information
0-wiz-0 committed Jul 20, 2019
1 parent af53136 commit 90517d4
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 33 deletions.
2 changes: 1 addition & 1 deletion net/transmission-gtk/DESCR
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Transmission is a free, lightweight BitTorrent client. It features
a simple, intuitive interface on top on an efficient, cross-platform
back-end.

This package includes the gtk frontend for Transmission.
This package includes the GTK frontend for Transmission.
5 changes: 2 additions & 3 deletions net/transmission-gtk/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.36 2019/07/20 22:46:42 wiz Exp $
# $NetBSD: Makefile,v 1.37 2019/07/20 23:14:41 wiz Exp $

PKGNAME= transmission-gtk-${VERSION}
PKGREVISION= 20
COMMENT= Free, lightweight BitTorrent client (GTK version)

USE_LANGUAGES= c c++
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}${PREFIX}

CONFIGURE_ARGS+= --disable-cli
Expand Down
8 changes: 4 additions & 4 deletions net/transmission-qt/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.42 2019/07/20 22:46:42 wiz Exp $
# $NetBSD: Makefile,v 1.43 2019/07/20 23:14:41 wiz Exp $

PKGNAME= transmission-qt-${VERSION}
PKGREVISION= 25
COMMENT= Free, lightweight BitTorrent client (QT version)

USE_LANGUAGES= c c++
MAKE_ENV+= QTDIR=${QTDIR}

.include "../../mk/bsd.fast.prefs.mk"
Expand All @@ -21,6 +20,8 @@ CONFIGURE_ARGS+= --without-gtk

CONFLICTS+= Transmission-gui-[0-9]*

INSTALLATION_DIRS= share/applications

.include "../../net/transmission/Makefile.common"

post-build:
Expand All @@ -31,7 +32,6 @@ do-install:
cd ${WRKSRC}/qt && ${SETENV} ${INSTALL_ENV} make install

post-install:
${MKDIR} ${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${FILESDIR}/transmission-qt.desktop \
${DESTDIR}${PREFIX}/share/applications/transmission-qt.desktop

Expand Down
3 changes: 1 addition & 2 deletions net/transmission/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.19 2019/07/20 22:46:42 wiz Exp $
# $NetBSD: Makefile,v 1.20 2019/07/20 23:14:40 wiz Exp $

CONFLICTS+= Transmission-[0-9]*
PKGREVISION= 12

pre-configure:
touch ${WRKSRC}/po/Makefile
Expand Down
12 changes: 6 additions & 6 deletions net/transmission/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# $NetBSD: Makefile.common,v 1.8 2016/04/15 09:28:39 wiz Exp $
# $NetBSD: Makefile.common,v 1.9 2019/07/20 23:14:40 wiz Exp $
#
# used by net/transmission/Makefile
# used by net/transmission-gtk/Makefile
# used by net/transmission-qt/Makefile

VERSION= 2.92
VERSION= 2.94
DISTNAME= transmission-${VERSION}
CATEGORIES= net
MASTER_SITES= http://download.m0k.org/transmission/files/
MASTER_SITES= https://github.com/transmission/transmission-releases/raw/master/
EXTRACT_SUFX= .tar.xz

MAINTAINER= [email protected]
HOMEPAGE= http://www.transmissionbt.com/
COMMENT= Free, lightweight BitTorrent client
COMMENT?= Free, lightweight BitTorrent client

USE_LANGUAGES= c c++
USE_LIBTOOL= yes
Expand All @@ -29,10 +29,10 @@ GNU_CONFIGURE= yes
LDFLAGS+= ${BUILDLINK_LDADD.getopt} ${BUILDLINK_LDADD.gettext}

.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly)
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
CPPFLAGS+= -DBSD
.endif
.if !empty(OPSYS:MDarwin)
.if ${OPSYS} == "Darwin"
LDFLAGS+= -framework CoreFoundation
.endif

Expand Down
22 changes: 6 additions & 16 deletions net/transmission/distinfo
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
$NetBSD: distinfo,v 1.14 2018/02/16 12:33:36 wiz Exp $
$NetBSD: distinfo,v 1.15 2019/07/20 23:14:40 wiz Exp $

SHA1 (transmission-2.92.tar.xz) = 2140feba45c4471392033d21b86b6f3ef780d88e
RMD160 (transmission-2.92.tar.xz) = 6da78ce333fa2ea69aa4954c3b052a818ce7c93e
SHA512 (transmission-2.92.tar.xz) = 4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
Size (transmission-2.92.tar.xz) = 3378116 bytes
SHA1 (patch-ab) = 796faa7c61762dc3ffe563748e55160c827149d2
SHA1 (patch-libtransmission_crypto-utils-openssl.c) = 3157e1410ecab0ebdad6609bbc088df8caf4a184
SHA1 (patch-libtransmission_platform-quota.c) = 2d9758d24c4329021e0774ac9f8bb3dd94592965
SHA1 (patch-libtransmission_quark.c) = 70b8d8d3de0ae480433464a1dbee4488af3b64d9
SHA1 (patch-libtransmission_quark.h) = 5c4b0a24e2e142a3504c232b333fa7665fe8178f
SHA1 (patch-libtransmission_rpc-server.c) = 38aba449da55ae7f7c492b377d3ef6f5f54cc360
SHA1 (patch-libtransmission_rpc-server.h) = b47127d42aaf1315719531f7af0c9f6a6dd14f6f
SHA1 (patch-libtransmission_session.c) = 29c159b6297eed2da9da51ec9ce254a871ce21c1
SHA1 (patch-libtransmission_transmission.h) = 349c63f0ec98fe632aff32c71cdb3918d7e08a19
SHA1 (patch-libtransmission_web.c) = 8483cbe1155ac07d82c6733ceda48274d157b207
SHA1 (patch-qt_qtr.pro) = 982c76669f41f154470a91b4b7c9cb5dcc41132c
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
5 changes: 4 additions & 1 deletion net/transmission/patches/patch-qt_qtr.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
$NetBSD: patch-qt_qtr.pro,v 1.5 2017/07/13 13:38:59 wiz Exp $
$NetBSD: patch-qt_qtr.pro,v 1.6 2019/07/20 23:14:40 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
Expand Down

0 comments on commit 90517d4

Please sign in to comment.