From 665b8736333090fbf53842dcae1cd49089031a2c Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Sat, 10 Feb 2018 11:31:57 +0100 Subject: [PATCH] transmission: update to 2.93 fixes CVE-2018-5702 Closes: #11526 [via git-merge-pr] --- srcpkgs/transmission/patches/libressl.patch | 11 +++++++++++ srcpkgs/transmission/template | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/transmission/patches/libressl.patch diff --git a/srcpkgs/transmission/patches/libressl.patch b/srcpkgs/transmission/patches/libressl.patch new file mode 100644 index 0000000000..cd03d1fed8 --- /dev/null +++ b/srcpkgs/transmission/patches/libressl.patch @@ -0,0 +1,11 @@ +--- libtransmission/crypto-utils-openssl.c 2018-02-10 11:23:12.597680584 +0100 ++++ libtransmission/crypto-utils-openssl.c 2018-02-10 11:27:01.843383653 +0100 +@@ -230,7 +230,7 @@ + **** + ***/ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) + static inline int + DH_set0_pqg (DH * dh, + BIGNUM * p, diff --git a/srcpkgs/transmission/template b/srcpkgs/transmission/template index dec0253a17..7f89ec439a 100644 --- a/srcpkgs/transmission/template +++ b/srcpkgs/transmission/template @@ -1,17 +1,17 @@ # Template file for 'transmission' pkgname=transmission -version=2.92 -revision=9 +version=2.93 +revision=1 build_style=gnu-configure configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp --without-systemd-daemon" hostmakedepends="pkg-config intltool" makedepends="zlib-devel libressl-devel dbus-glib-devel libcurl-devel libevent-devel gtk+3-devel" short_desc="A fast, easy, and free BitTorrent client" maintainer="Juan RP " -homepage="http://www.transmissionbt.com/" +homepage="https://www.transmissionbt.com" license="MIT, GPL-2" distfiles="https://github.com/transmission/transmission-releases/raw/master/${pkgname}-${version}.tar.xz" -checksum=3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f +checksum=8815920e0a4499bcdadbbe89a4115092dab42ce5199f71ff9a926cfd12b9b90b # Create transmission system user/group system_accounts="transmission"