Update transmission to 2.93

This release  includes a fix for CVE-2018-5702.
From Josh Grosse <josh AT jggimi DOT net> (maintainer) Thanks!
This commit is contained in:
rsadowski 2018-01-30 16:34:35 +00:00
parent ae84f94e29
commit 44ecbf5628
3 changed files with 23 additions and 9 deletions

View File

@ -1,18 +1,16 @@
# $OpenBSD: Makefile,v 1.123 2018/01/25 15:33:16 rsadowski Exp $
# $OpenBSD: Makefile,v 1.124 2018/01/30 16:34:35 rsadowski Exp $
COMMENT-main= BitTorrent command line and daemon client
COMMENT-gtk= BitTorrent client with GTK+ interface
COMMENT-qt= BitTorrent client with Qt interface
VER= 2.92
VER= 2.93
DISTNAME= transmission-${VER}
PKGNAME-main= transmission-${VER}
PKGNAME-gtk= transmission-gtk-${VER}
PKGNAME-qt= transmission-qt-${VER}
REVISION= 5
REVISION-main= 6
CATEGORIES= net
HOMEPAGE= http://www.transmissionbt.com/
HOMEPAGE= https://transmissionbt.com/
MAINTAINER= Josh Grosse <josh@jggimi.net>
# GPLv2+
@ -39,7 +37,7 @@ FLAVOR?=
WANTLIB-common= c crypto curl event_core event_extra m miniupnpc>=2.0 \
natpmp pthread ssl z intl
WANTLIB-main= ${WANTLIB-common} nghttp2 iconv
WANTLIB-gtk= ${WANTLIB-common} ICE SM X11 Xcomposite Xcursor Xdamage \
WANTLIB-gtk= ${WANTLIB-common} X11 Xcomposite Xcursor Xdamage \
Xext Xfixes Xi Xinerama Xrandr Xrender \
atk-1.0 atk-bridge-2.0 atspi cairo cairo-gobject \
dbus-1 expat ffi fontconfig freetype \
@ -47,7 +45,7 @@ WANTLIB-gtk= ${WANTLIB-common} ICE SM X11 Xcomposite Xcursor Xdamage \
gobject-2.0 graphite2 gthread-2.0 gtk-3 \
harfbuzz pango-1.0 pangoft2-1.0 \
pangocairo-1.0 pixman-1 png pcre xcb \
xcb-render xcb-shm epoxy nghttp2 iconv
xcb-render xcb-shm epoxy nghttp2 iconv Xtst
WANTLIB-qt= ${WANTLIB-common} ${MODQT_WANTLIB} \
GL Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets \
fontconfig freetype $(COMPILER_LIBCXX)

View File

@ -1,2 +1,2 @@
SHA256 (transmission-2.92.tar.xz) = Oo0EXDBq2ay3v4ESaTm5WUVTo4hILvoOwb+2eyKs018=
SIZE (transmission-2.92.tar.xz) = 3378116
SHA256 (transmission-2.93.tar.xz) = iBWSDgpEmbza276JpBFQktq0LOUZn3H/mpJs/RK5uQs=
SIZE (transmission-2.93.tar.xz) = 3363868

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-libtransmission_crypto-utils-openssl_c,v 1.1 2018/01/30 16:34:35 rsadowski Exp $
Use upstream provided OpenSSL functions
Index: libtransmission/crypto-utils-openssl.c
--- libtransmission/crypto-utils-openssl.c.orig
+++ libtransmission/crypto-utils-openssl.c
@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t handle,
****
***/
-#if OPENSSL_VERSION_NUMBER < 0x10100000
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
static inline int
DH_set0_pqg (DH * dh,
BIGNUM * p,