This updates net/transmission from 2.92 -> 2.93.

This includes a fix for CVE-2018-5702, so there are two
MIME attachments.  

        net.transmission.patch is for -current
        net.transmission.stable.patch is for -stable

Both were tested on amd64.
Index: Makefile
===================================================================
RCS file: /systems/cvs/ports/net/transmission/Makefile,v
retrieving revision 1.122
diff -u -p -r1.122 Makefile
--- Makefile    12 Jan 2018 16:09:42 -0000      1.122
+++ Makefile    25 Jan 2018 04:39:13 -0000
@@ -4,13 +4,11 @@ COMMENT-main= BitTorrent command line an
 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/
 MAINTAINER=    Josh Grosse <j...@jggimi.net>
@@ -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 X1
                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)
Index: distinfo
===================================================================
RCS file: /systems/cvs/ports/net/transmission/distinfo,v
retrieving revision 1.50
diff -u -p -r1.50 distinfo
--- distinfo    8 Mar 2016 16:14:16 -0000       1.50
+++ distinfo    24 Jan 2018 01:02:17 -0000
@@ -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
Index: patches/patch-libtransmission_crypto-utils-openssl_c
===================================================================
RCS file: patches/patch-libtransmission_crypto-utils-openssl_c
diff -N patches/patch-libtransmission_crypto-utils-openssl_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-libtransmission_crypto-utils-openssl_c        25 Jan 2018 
04:21:09 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+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,
? net.transmission.stable.patch
Index: Makefile
===================================================================
RCS file: /systems/cvs/ports/net/transmission/Makefile,v
retrieving revision 1.118
diff -u -p -r1.118 Makefile
--- Makefile    26 Jul 2017 22:45:28 -0000      1.118
+++ Makefile    25 Jan 2018 05:09:06 -0000
@@ -4,12 +4,11 @@ COMMENT-main= BitTorrent command line an
 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=      4
 CATEGORIES=    net
 HOMEPAGE=      http://www.transmissionbt.com/
 MAINTAINER=    Josh Grosse <j...@jggimi.net>
Index: distinfo
===================================================================
RCS file: /systems/cvs/ports/net/transmission/distinfo,v
retrieving revision 1.50
diff -u -p -r1.50 distinfo
--- distinfo    8 Mar 2016 16:14:16 -0000       1.50
+++ distinfo    25 Jan 2018 05:09:06 -0000
@@ -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
Index: patches/patch-libtransmission_crypto-utils-openssl_c
===================================================================
RCS file: patches/patch-libtransmission_crypto-utils-openssl_c
diff -N patches/patch-libtransmission_crypto-utils-openssl_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-libtransmission_crypto-utils-openssl_c        25 Jan 2018 
05:09:06 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+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,

Reply via email to