[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-08-20 Thread Mike Gilbert
commit: 195fee74365726ac24356a5b510a03e8581de69d
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Aug 20 14:30:02 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Aug 20 14:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=195fee74

net-p2p/transmission: remove old

Package-Manager: Portage-2.3.47, Repoman-2.3.10_p41

 net-p2p/transmission/Manifest |   1 -
 net-p2p/transmission/transmission-2.93.ebuild | 164 --
 2 files changed, 165 deletions(-)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index a938d3a1d5d..07399390981 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,2 +1 @@
-DIST transmission-2.93.tar.xz 3363868 BLAKE2B 
786a8daec548d96b05d90c238cc7b67d402dc0d828860bb1a79b8059c687de309288be17fd12fd51abeafa28d9630fd19be9513c76cbf091f81ce9a181596042
 SHA512 
7565893f67fc10f1b683814fa4d365d841ec833bc8dfdab731432fe68f1a38daeb4c9100653763f16bfb4336fba11c9b0b9730a9817e17a140704a7c4aa5c087
 DIST transmission-2.94.tar.xz 3365952 BLAKE2B 
d0215a2c595dd3ebb2ed5c94cc3d380c78f62b98388557620534b88b9e2304bb6ac91960395541267f82d70800c4860d0e58125bca33dd158da992d19b4c0def
 SHA512 
ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
deleted file mode 100644
index 3630df86035..000
--- a/net-p2p/transmission/transmission-2.93.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic gnome2-utils qmake-utils systemd user xdg-utils
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/;
-SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.tar.xz;
-
-# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
-# transmission in licenses/ is for mentioning OpenSSL linking exception
-# MIT is in several libtransmission/ headers
-LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
-SLOT=0
-IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
-
-RDEPEND=">=dev-libs/libevent-2.0.10:=
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   net-libs/libnatpmp
-   >=net-libs/miniupnpc-1.7:=
-   >=net-misc/curl-7.16.3[ssl]
-   sys-libs/zlib:=
-   gtk? (
-   >=dev-libs/dbus-glib-0.100
-   >=dev-libs/glib-2.32:2
-   >=x11-libs/gtk+-3.4:3
-   ayatana? ( >=dev-libs/libappindicator-0.4.90:3 )
-   )
-   qt5? (
-   dev-qt/qtcore:5
-   dev-qt/qtdbus:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtwidgets:5
-   )
-   systemd? ( >=sys-apps/systemd-209:= )"
-DEPEND="${RDEPEND}
-   >=dev-libs/glib-2.32
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/os-headers
-   virtual/pkgconfig
-   qt5? ( dev-qt/linguist-tools:5 )
-   xfs? ( sys-fs/xfsprogs )"
-
-REQUIRED_USE="ayatana? ( gtk )"
-
-DOCS=( AUTHORS NEWS qt/README.txt )
-
-PATCHES=(
-   "${FILESDIR}"/libsystemd.patch
-   "${FILESDIR}"/transmission-2.93-libressl.patch
-)
-
-src_prepare() {
-   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
-
-   # Trick to avoid automagic dependency
-   if ! use ayatana ; then
-   sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' configure.ac 
|| die
-   fi
-
-   # http://trac.transmissionbt.com/ticket/4324
-   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
-
-   # Prevent m4_copy error when running aclocal
-   # m4_copy: won't overwrite defined macro: glib_DEFUN
-   rm m4/glib-gettext.m4 || die
-
-   default
-   eautoreconf
-}
-
-src_configure() {
-   export ac_cv_header_xfs_xfs_h=$(usex xfs)
-
-   # https://bugs.gentoo.org/577528
-   append-lfs-flags
-
-   econf \
-   --enable-external-natpmp \
-   $(use_enable lightweight) \
-   $(use_with systemd systemd-daemon) \
-   $(use_with gtk)
-
-   if use qt5; then
-   pushd qt >/dev/null || die
-   eqmake5 qtr.pro
-   popd >/dev/null || die
-   fi
-}
-
-src_compile() {
-   emake
-
-   if use qt5; then
-   emake -C qt
-   $(qt5_get_bindir)/lrelease qt/translations/*.ts || die
-   fi
-}
-
-src_install() {
-   default
-
-   rm "${ED%/}"/usr/share/transmission/web/LICENSE || die
-
-   newinitd "${FILESDIR}"/transmission-daemon.initd.10 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-08-05 Thread Sergei Trofimovich
commit: c5cd39588177c9a29084b3c789fed75d5893d660
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Aug  5 20:15:07 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Aug  5 20:15:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5cd3958

net-p2p/transmission: stable 2.94 for ppc, bug #661090

Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.44, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc"

 net-p2p/transmission/transmission-2.94.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.94.ebuild 
b/net-p2p/transmission/transmission-2.94.ebuild
index 7577d88b5da..246560fb9ad 100644
--- a/net-p2p/transmission/transmission-2.94.ebuild
+++ b/net-p2p/transmission/transmission-2.94.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-07-15 Thread Mikle Kolyada
commit: cd8247609295ae35f1ebfa042579b0c5be0cd9c0
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jul 15 17:07:02 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jul 15 17:07:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd824760

net-p2p/transmission: amd64 stable wrt bug #661090

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-p2p/transmission/transmission-2.94.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.94.ebuild 
b/net-p2p/transmission/transmission-2.94.ebuild
index 001f5a77017..7577d88b5da 100644
--- a/net-p2p/transmission/transmission-2.94.ebuild
+++ b/net-p2p/transmission/transmission-2.94.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-07-15 Thread Thomas Deutschmann
commit: e63bdfb913ad312a3c3affe38f3a9697bdc61a85
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jul 15 14:16:11 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jul 15 14:21:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63bdfb9

net-p2p/transmission: x86 stable (bug #661090)

Package-Manager: Portage-2.3.42, Repoman-2.3.9

 net-p2p/transmission/transmission-2.94.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.94.ebuild 
b/net-p2p/transmission/transmission-2.94.ebuild
index d2bc214df6d..001f5a77017 100644
--- a/net-p2p/transmission/transmission-2.94.ebuild
+++ b/net-p2p/transmission/transmission-2.94.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-07-14 Thread Sergei Trofimovich
commit: a34328e009a6c3574e72b03f83bb98cc9c10f867
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul 14 19:59:47 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul 14 19:59:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34328e0

net-p2p/transmission: stable 2.94 for ppc64, bug #661090

Bug: https://bugs.gentoo.org/661090
Package-Manager: Portage-2.3.42, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc64"

 net-p2p/transmission/transmission-2.94.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.94.ebuild 
b/net-p2p/transmission/transmission-2.94.ebuild
index 37645783a92..d2bc214df6d 100644
--- a/net-p2p/transmission/transmission-2.94.ebuild
+++ b/net-p2p/transmission/transmission-2.94.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ppc64 ~x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/

2018-06-19 Thread Mike Gilbert
commit: 95598f0d18961b3b1e09855fa8abb353ccff7450
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Jun 20 02:24:09 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Jun 20 02:24:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95598f0d

net-p2p/transmission: remove old

Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247

 net-p2p/transmission/Manifest  |   1 -
 .../files/transmission-2.92-handshake.patch|  33 ---
 .../files/transmission-2.92-pr468.patch| 302 -
 net-p2p/transmission/transmission-2.92-r2.ebuild   | 164 ---
 net-p2p/transmission/transmission-2.92-r3.ebuild   | 165 ---
 5 files changed, 665 deletions(-)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index ce243d76192..a938d3a1d5d 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,3 +1,2 @@
-DIST transmission-2.92.tar.xz 3378116 BLAKE2B 
8929a2eab8a1617db44ca8a081fd7de786daef92e891ac86d4690451c0f4fa0d4e1ea03692c59babea6e9aee5dcfef57bd81e5c72a0bb4fe9efbd436ff006104
 SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 DIST transmission-2.93.tar.xz 3363868 BLAKE2B 
786a8daec548d96b05d90c238cc7b67d402dc0d828860bb1a79b8059c687de309288be17fd12fd51abeafa28d9630fd19be9513c76cbf091f81ce9a181596042
 SHA512 
7565893f67fc10f1b683814fa4d365d841ec833bc8dfdab731432fe68f1a38daeb4c9100653763f16bfb4336fba11c9b0b9730a9817e17a140704a7c4aa5c087
 DIST transmission-2.94.tar.xz 3365952 BLAKE2B 
d0215a2c595dd3ebb2ed5c94cc3d380c78f62b98388557620534b88b9e2304bb6ac91960395541267f82d70800c4860d0e58125bca33dd158da992d19b4c0def
 SHA512 
ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7

diff --git a/net-p2p/transmission/files/transmission-2.92-handshake.patch 
b/net-p2p/transmission/files/transmission-2.92-handshake.patch
deleted file mode 100644
index a30cd583fae..000
--- a/net-p2p/transmission/files/transmission-2.92-handshake.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit 4c00df9463ea4fd70b73c620e439f5c3ee5efa60
-Author: Mike Gelfand 
-Date:   Sun Sep 18 13:58:15 2016 +0300
-
-Abort handshake if establishing DH shared secret fails
-
-Fixes #27
-
-diff --git a/libtransmission/handshake.c b/libtransmission/handshake.c
-index c728696..e7ff131 100644
 a/libtransmission/handshake.c
-+++ b/libtransmission/handshake.c
-@@ -425,7 +425,8 @@ readYb (tr_handshake * handshake, struct evbuffer * inbuf)
- 
-   /* compute the secret */
-   evbuffer_remove (inbuf, yb, KEY_LEN);
--  tr_cryptoComputeSecret (handshake->crypto, yb);
-+  if (!tr_cryptoComputeSecret (handshake->crypto, yb))
-+return tr_handshakeDone (handshake, false);
- 
-   /* now send these: HASH ('req1', S), HASH ('req2', SKEY) xor HASH ('req3', 
S),
-* ENCRYPT (VC, crypto_provide, len (PadC), PadC, len (IA)), ENCRYPT (IA) */
-@@ -741,7 +742,9 @@ readYa (tr_handshake* handshake,
- 
-   /* read the incoming peer's public key */
-   evbuffer_remove (inbuf, ya, KEY_LEN);
--  tr_cryptoComputeSecret (handshake->crypto, ya);
-+  if (!tr_cryptoComputeSecret (handshake->crypto, ya))
-+return tr_handshakeDone (handshake, false);
-+
-   computeRequestHash (handshake, "req1", handshake->myReq1);
- 
-   /* send our public key to the peer */

diff --git a/net-p2p/transmission/files/transmission-2.92-pr468.patch 
b/net-p2p/transmission/files/transmission-2.92-pr468.patch
deleted file mode 100644
index a3a0cf16082..000
--- a/net-p2p/transmission/files/transmission-2.92-pr468.patch
+++ /dev/null
@@ -1,302 +0,0 @@
-Fix a weakness that allows remote code execution via the Transmission
-RPC server using DNS rebinding:
-
-https://bugs.chromium.org/p/project-zero/issues/detail?id=1447
-
-Patch adapted from Tavis Ormandy's patch on the Transmission master
-branch to the Transmission 2.92 release by Leo Famulari
-:
-
-https://github.com/transmission/transmission/pull/468/commits
-
-From fe2d3c6e75088f3d9b6040ce06da3d530358bc2f Mon Sep 17 00:00:00 2001
-From: Tavis Ormandy 
-Date: Thu, 11 Jan 2018 10:00:41 -0800
-Subject: [PATCH] mitigate dns rebinding attacks against daemon
-

- libtransmission/quark.c|   2 + 
- libtransmission/quark.h|   2 + 
- libtransmission/rpc-server.c   | 116 +
- libtransmission/rpc-server.h   |   4 ++
- libtransmission/session.c  |   2 + 
- libtransmission/transmission.h |   1 + 
- libtransmission/web.c  |   3 ++
- 7 files changed, 121 insertions(+), 9 deletions(-)
-
-diff --git a/libtransmission/quark.c b/libtransmission/quark.c
-index 30cc2bca4..b4fd7aabd 100644
 a/libtransmission/quark.c
-+++ b/libtransmission/quark.c
-@@ -289,6 +289,8 @@ static const struct tr_key_struct my_static[] =
-   { "rpc-authentication-required", 27 },
-   { 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-05-27 Thread Mike Gilbert
commit: 4820403dec4ef038db4c7ae28df7a338f4d02587
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun May 27 23:15:43 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun May 27 23:15:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4820403d

net-p2p/transmission: update live ebuild

 net-p2p/transmission/transmission-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index c81c8b0942f..392d8cb5bf3 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -9,8 +9,8 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/transmission/transmission;
 else
-   
SRC_URI="https://github.com/transmission/transmission/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+   
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.tar.xz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd 
~amd64-linux"
 fi
 
 DESCRIPTION="A fast, easy, and free BitTorrent client"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-05-27 Thread Mike Gilbert
commit: 81c08d8e3979fc5ba5a87b7c031dec42bc68e2d4
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun May 27 23:14:03 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun May 27 23:14:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c08d8e

net-p2p/transmission: bump to 2.94

Closes: https://bugs.gentoo.org/656586
Package-Manager: Portage-2.3.40_p4, Repoman-2.3.9_p236

 net-p2p/transmission/Manifest |   1 +
 net-p2p/transmission/transmission-2.94.ebuild | 163 ++
 2 files changed, 164 insertions(+)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 9768d963f68..ce243d76192 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,2 +1,3 @@
 DIST transmission-2.92.tar.xz 3378116 BLAKE2B 
8929a2eab8a1617db44ca8a081fd7de786daef92e891ac86d4690451c0f4fa0d4e1ea03692c59babea6e9aee5dcfef57bd81e5c72a0bb4fe9efbd436ff006104
 SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 DIST transmission-2.93.tar.xz 3363868 BLAKE2B 
786a8daec548d96b05d90c238cc7b67d402dc0d828860bb1a79b8059c687de309288be17fd12fd51abeafa28d9630fd19be9513c76cbf091f81ce9a181596042
 SHA512 
7565893f67fc10f1b683814fa4d365d841ec833bc8dfdab731432fe68f1a38daeb4c9100653763f16bfb4336fba11c9b0b9730a9817e17a140704a7c4aa5c087
+DIST transmission-2.94.tar.xz 3365952 BLAKE2B 
d0215a2c595dd3ebb2ed5c94cc3d380c78f62b98388557620534b88b9e2304bb6ac91960395541267f82d70800c4860d0e58125bca33dd158da992d19b4c0def
 SHA512 
ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7

diff --git a/net-p2p/transmission/transmission-2.94.ebuild 
b/net-p2p/transmission/transmission-2.94.ebuild
new file mode 100644
index 000..37645783a92
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.94.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic gnome2-utils qmake-utils systemd user xdg-utils
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/;
+SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.tar.xz;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   net-libs/libnatpmp
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.4:3
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3 )
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   )
+   systemd? ( >=sys-apps/systemd-209:= )"
+DEPEND="${RDEPEND}
+   >=dev-libs/glib-2.32
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/os-headers
+   virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
+   xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk )"
+
+DOCS=( AUTHORS NEWS qt/README.txt )
+
+PATCHES=(
+   "${FILESDIR}"/libsystemd.patch
+)
+
+src_prepare() {
+   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+   # Trick to avoid automagic dependency
+   if ! use ayatana ; then
+   sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' configure.ac 
|| die
+   fi
+
+   # http://trac.transmissionbt.com/ticket/4324
+   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
+
+   # Prevent m4_copy error when running aclocal
+   # m4_copy: won't overwrite defined macro: glib_DEFUN
+   rm m4/glib-gettext.m4 || die
+
+   default
+   eautoreconf
+}
+
+src_configure() {
+   export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+   # https://bugs.gentoo.org/577528
+   append-lfs-flags
+
+   econf \
+   --enable-external-natpmp \
+   $(use_enable lightweight) \
+   $(use_with systemd systemd-daemon) \
+   $(use_with gtk)
+
+   if use qt5; then
+   pushd qt >/dev/null || die
+   eqmake5 qtr.pro
+   popd >/dev/null || die
+   fi
+}
+
+src_compile() {
+   emake
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-03-31 Thread Mart Raudsepp
commit: 1fd45301b15a0139473563e39e3818208b6ce026
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sat Mar 31 16:25:18 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Mar 31 19:00:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd45301

net-p2p/transmission: keyword ~arm64

Closes: https://github.com/gentoo/gentoo/pull/7752

 net-p2p/transmission/transmission-2.93.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
index 6c362c60ac8..3630df86035 100644
--- a/net-p2p/transmission/transmission-2.93.ebuild
+++ b/net-p2p/transmission/transmission-2.93.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-03-28 Thread Sergei Trofimovich
commit: 99e982c5a399768fc03a74a15a48d287edd2b884
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Mar 28 22:24:12 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Mar 28 22:24:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e982c5

net-p2p/transmission: stable 2.93 for ppc64, bug #644406

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 net-p2p/transmission/transmission-2.93.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
index c707d6b738c..6c362c60ac8 100644
--- a/net-p2p/transmission/transmission-2.93.ebuild
+++ b/net-p2p/transmission/transmission-2.93.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~mips ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-03-20 Thread Sergei Trofimovich
commit: 23a897a201d7430ec21f5c6eb3927861d7fb1fd3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Mar 20 08:00:21 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Mar 20 08:00:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a897a2

net-p2p/transmission: stable 2.93 for ppc, bug #644406

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 net-p2p/transmission/transmission-2.93.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
index 318dba2a219..c707d6b738c 100644
--- a/net-p2p/transmission/transmission-2.93.ebuild
+++ b/net-p2p/transmission/transmission-2.93.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-03-11 Thread Mike Gilbert
commit: 91f2910d626234d5806c54228c4de5f8e08f10a8
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Mar 11 13:49:33 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Mar 11 13:49:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f2910d

net-p2p/transmission: drop USE_QT5 option

Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 net-p2p/transmission/transmission-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index 77f58934f39..c81c8b0942f 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -82,7 +82,6 @@ src_configure() {
-DENABLE_NLS=$(usex nls ON OFF)
-DENABLE_QT=$(usex qt5 ON OFF)
-DENABLE_TESTS=$(usex test ON OFF)
-   -DUSE_QT5=ON
 
-DUSE_SYSTEM_EVENT2=ON
-DUSE_SYSTEM_DHT=OFF



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-03-11 Thread Mikle Kolyada
commit: 5ea872de79dd13eefeb0977513b355160d66894c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 11 09:59:51 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 11 10:00:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea872de

net-p2p/transmission: amd64 stable wrt bug #644406

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-p2p/transmission/transmission-2.93.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
index a28f3c6a22a..318dba2a219 100644
--- a/net-p2p/transmission/transmission-2.93.ebuild
+++ b/net-p2p/transmission/transmission-2.93.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-03-10 Thread Thomas Deutschmann
commit: f666e5930ca7fa85a593ec70bccc69a93622e695
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Mar 11 02:14:56 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Mar 11 02:16:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f666e593

net-p2p/transmission: x86 stable (bug #644406)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-p2p/transmission/transmission-2.93.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
index f4d38bcde3f..a28f3c6a22a 100644
--- a/net-p2p/transmission/transmission-2.93.ebuild
+++ b/net-p2p/transmission/transmission-2.93.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/

2018-03-10 Thread Mike Gilbert
commit: 20e14e6a5d031c7112d7346a6abe26324e876bc3
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Mar 10 18:21:02 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Mar 10 18:21:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20e14e6a

net-p2p/transmission: fix build with libressl

Closes: https://bugs.gentoo.org/646354
Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 net-p2p/transmission/files/transmission-2.93-libressl.patch | 11 +++
 net-p2p/transmission/transmission-2.93.ebuild   |  1 +
 2 files changed, 12 insertions(+)

diff --git a/net-p2p/transmission/files/transmission-2.93-libressl.patch 
b/net-p2p/transmission/files/transmission-2.93-libressl.patch
new file mode 100644
index 000..8c978ced269
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-2.93-libressl.patch
@@ -0,0 +1,11 @@
+--- a/libtransmission/crypto-utils-openssl.c
 b/libtransmission/crypto-utils-openssl.c
+@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t   handle,
+ 
+ ***/
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010
++#if OPENSSL_VERSION_NUMBER < 0x1010 || defined(LIBRESSL_VERSION_NUMBER)
+ static inline int
+ DH_set0_pqg (DH * dh,
+  BIGNUM * p,

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
index d5235cc1c65..f4d38bcde3f 100644
--- a/net-p2p/transmission/transmission-2.93.ebuild
+++ b/net-p2p/transmission/transmission-2.93.ebuild
@@ -52,6 +52,7 @@ DOCS=( AUTHORS NEWS qt/README.txt )
 
 PATCHES=(
"${FILESDIR}"/libsystemd.patch
+   "${FILESDIR}"/transmission-2.93-libressl.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2018-02-01 Thread Mike Gilbert
commit: 4c23097d5cc80886f0ccbc5061caa5d10d08406f
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Feb  1 18:34:35 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Feb  1 18:34:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c23097d

net-p2p/transmission: bump to 2.93

Closes: https://bugs.gentoo.org/646226
Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45

 net-p2p/transmission/Manifest |   1 +
 net-p2p/transmission/transmission-2.93.ebuild | 163 ++
 2 files changed, 164 insertions(+)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 99aa9151f8f..9768d963f68 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1 +1,2 @@
 DIST transmission-2.92.tar.xz 3378116 BLAKE2B 
8929a2eab8a1617db44ca8a081fd7de786daef92e891ac86d4690451c0f4fa0d4e1ea03692c59babea6e9aee5dcfef57bd81e5c72a0bb4fe9efbd436ff006104
 SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
+DIST transmission-2.93.tar.xz 3363868 BLAKE2B 
786a8daec548d96b05d90c238cc7b67d402dc0d828860bb1a79b8059c687de309288be17fd12fd51abeafa28d9630fd19be9513c76cbf091f81ce9a181596042
 SHA512 
7565893f67fc10f1b683814fa4d365d841ec833bc8dfdab731432fe68f1a38daeb4c9100653763f16bfb4336fba11c9b0b9730a9817e17a140704a7c4aa5c087

diff --git a/net-p2p/transmission/transmission-2.93.ebuild 
b/net-p2p/transmission/transmission-2.93.ebuild
new file mode 100644
index 000..d5235cc1c65
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.93.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic gnome2-utils qmake-utils systemd user xdg-utils
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/;
+SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.tar.xz;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   net-libs/libnatpmp
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.4:3
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3 )
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   )
+   systemd? ( >=sys-apps/systemd-209:= )"
+DEPEND="${RDEPEND}
+   >=dev-libs/glib-2.32
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/os-headers
+   virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
+   xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk )"
+
+DOCS=( AUTHORS NEWS qt/README.txt )
+
+PATCHES=(
+   "${FILESDIR}"/libsystemd.patch
+)
+
+src_prepare() {
+   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+   # Trick to avoid automagic dependency
+   if ! use ayatana ; then
+   sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' configure.ac 
|| die
+   fi
+
+   # http://trac.transmissionbt.com/ticket/4324
+   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
+
+   # Prevent m4_copy error when running aclocal
+   # m4_copy: won't overwrite defined macro: glib_DEFUN
+   rm m4/glib-gettext.m4 || die
+
+   default
+   eautoreconf
+}
+
+src_configure() {
+   export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+   # https://bugs.gentoo.org/577528
+   append-lfs-flags
+
+   econf \
+   --enable-external-natpmp \
+   $(use_enable lightweight) \
+   $(use_with systemd systemd-daemon) \
+   $(use_with gtk)
+
+   if use qt5; then
+   pushd qt >/dev/null || die
+   eqmake5 qtr.pro
+   popd >/dev/null || die
+   fi
+}
+
+src_compile() {
+   emake
+
+   if use qt5; then
+   emake -C qt
+   $(qt5_get_bindir)/lrelease qt/translations/*.ts || die
+   fi
+}
+
+src_install() {
+   default
+
+   rm "${ED%/}"/usr/share/transmission/web/LICENSE || die
+
+   newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/

2018-01-13 Thread Mike Gilbert
commit: 1c26accdac5c7872b9215fc3a99adcc57a71eebf
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jan 13 21:54:39 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jan 13 22:00:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c26accd

net-p2p/transmission: backport rpc host check

Bug: https://bugs.gentoo.org/644406
Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45

 .../files/transmission-2.92-pr468.patch| 302 +
 net-p2p/transmission/transmission-2.92-r3.ebuild   | 165 +++
 2 files changed, 467 insertions(+)

diff --git a/net-p2p/transmission/files/transmission-2.92-pr468.patch 
b/net-p2p/transmission/files/transmission-2.92-pr468.patch
new file mode 100644
index 000..a3a0cf16082
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-2.92-pr468.patch
@@ -0,0 +1,302 @@
+Fix a weakness that allows remote code execution via the Transmission
+RPC server using DNS rebinding:
+
+https://bugs.chromium.org/p/project-zero/issues/detail?id=1447
+
+Patch adapted from Tavis Ormandy's patch on the Transmission master
+branch to the Transmission 2.92 release by Leo Famulari
+:
+
+https://github.com/transmission/transmission/pull/468/commits
+
+From fe2d3c6e75088f3d9b6040ce06da3d530358bc2f Mon Sep 17 00:00:00 2001
+From: Tavis Ormandy 
+Date: Thu, 11 Jan 2018 10:00:41 -0800
+Subject: [PATCH] mitigate dns rebinding attacks against daemon
+
+---
+ libtransmission/quark.c|   2 + 
+ libtransmission/quark.h|   2 + 
+ libtransmission/rpc-server.c   | 116 +
+ libtransmission/rpc-server.h   |   4 ++
+ libtransmission/session.c  |   2 + 
+ libtransmission/transmission.h |   1 + 
+ libtransmission/web.c  |   3 ++
+ 7 files changed, 121 insertions(+), 9 deletions(-)
+
+diff --git a/libtransmission/quark.c b/libtransmission/quark.c
+index 30cc2bca4..b4fd7aabd 100644
+--- a/libtransmission/quark.c
 b/libtransmission/quark.c
+@@ -289,6 +289,8 @@ static const struct tr_key_struct my_static[] =
+   { "rpc-authentication-required", 27 },
+   { "rpc-bind-address", 16 },
+   { "rpc-enabled", 11 },
++  { "rpc-host-whitelist", 18 },
++  { "rpc-host-whitelist-enabled", 26 },
+   { "rpc-password", 12 },
+   { "rpc-port", 8 },
+   { "rpc-url", 7 },
+diff --git a/libtransmission/quark.h b/libtransmission/quark.h
+index 7f5212733..17464be8f 100644
+--- a/libtransmission/quark.h
 b/libtransmission/quark.h
+@@ -291,6 +291,8 @@ enum
+   TR_KEY_rpc_authentication_required,
+   TR_KEY_rpc_bind_address,
+   TR_KEY_rpc_enabled,
++  TR_KEY_rpc_host_whitelist,
++  TR_KEY_rpc_host_whitelist_enabled,
+   TR_KEY_rpc_password,
+   TR_KEY_rpc_port,
+   TR_KEY_rpc_url,
+diff --git a/libtransmission/rpc-server.c b/libtransmission/rpc-server.c
+index a3485f3fa..292cd5fce 100644
+--- a/libtransmission/rpc-server.c
 b/libtransmission/rpc-server.c
+@@ -52,6 +52,7 @@ struct tr_rpc_server
+ bool   isEnabled;
+ bool   isPasswordEnabled;
+ bool   isWhitelistEnabled;
++bool   isHostWhitelistEnabled;
+ tr_portport;
+ char * url;
+ struct in_addr bindAddress;
+@@ -63,6 +64,7 @@ struct tr_rpc_server
+ char * password;
+ char * whitelistStr;
+ tr_list  * whitelist;
++tr_list  * hostWhitelist;
+ 
+ char * sessionId;
+ time_t sessionIdExpiresAt;
+@@ -588,6 +590,49 @@ isAddressAllowed (const tr_rpc_server * server, const 
char * address)
+   return false;
+ }
+ 
++static bool isHostnameAllowed(tr_rpc_server const* server, struct 
evhttp_request* req)
++{
++/* If password auth is enabled, any hostname is permitted. */
++if (server->isPasswordEnabled)
++{
++return true;
++}
++
++char const* const host = evhttp_find_header(req->input_headers, "Host");
++
++// If whitelist is disabled, no restrictions.
++if (!server->isHostWhitelistEnabled)
++return true;
++
++/* No host header, invalid request. */
++if (host == NULL)
++{
++return false;
++}
++
++/* Host header might include the port. */
++char* const hostname = tr_strndup(host, strcspn(host, ":"));
++
++/* localhost or ipaddress is always acceptable. */
++if (strcmp(hostname, "localhost") == 0 || strcmp(hostname, "localhost.") 
== 0 || tr_addressIsIP(hostname))
++{
++tr_free(hostname);
++return true;
++}
++
++/* Otherwise, hostname must be whitelisted. */
++for (tr_list* l = server->hostWhitelist; l != NULL; l = l->next) {
++if (tr_wildmat(hostname, l->data))
++{
++tr_free(hostname);
++return true;
++}
++}
++
++tr_free(hostname);
++return false;
++}
++
+ static bool
+ test_session_id (struct tr_rpc_server * server, struct evhttp_request * 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2017-11-26 Thread David Seifert
commit: de550730042339e74343beeb313e8cadb4072245
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 26 12:50:20 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 23:22:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de550730

net-p2p/transmission: [QA] Consistent whitespace in metadata.xml

 net-p2p/transmission/metadata.xml | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/net-p2p/transmission/metadata.xml 
b/net-p2p/transmission/metadata.xml
index e49e57cc90d..a5cf0e4c937 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -1,13 +1,13 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-flop...@gentoo.org
-Mike Gilbert
-  
-  
-Optimize transmission for low-resource systems 
(smaller cache size, prefer unencrypted peer connections, etc.)
-   Use mbed TLS instead of OpenSSL
-Enable XFS filesystem capabilities by using 
sys-fs/xfsprogs headers (in building of fdlimit(.c))
-  
+   
+   flop...@gentoo.org
+   Mike Gilbert
+   
+   
+   Optimize transmission for low-resource 
systems (smaller cache size, prefer unencrypted peer connections, etc.)
+   Use mbed TLS instead of OpenSSL
+   Enable XFS filesystem capabilities by using 
sys-fs/xfsprogs headers (in building of fdlimit(.c))
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/

2017-08-13 Thread David Seifert
commit: bb0af1cc7a9f95428a46884d0cb841bbe1360ce4
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Aug 11 14:53:14 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 13 11:28:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb0af1cc

net-p2p/transmission: remove unused patches/files

Closes: https://github.com/gentoo/gentoo/pull/5390

 .../transmission/files/2.84-libevent-2.1.5.patch   | 112 -
 net-p2p/transmission/files/2.84-miniupnp14.patch   |  18 
 .../files/2.84-node_alloc-segfault.patch   |  55 --
 .../transmission-2.80-translations-path-fix.patch  |  17 
 .../transmission/files/transmission-daemon.initd.9 |  72 -
 5 files changed, 274 deletions(-)

diff --git a/net-p2p/transmission/files/2.84-libevent-2.1.5.patch 
b/net-p2p/transmission/files/2.84-libevent-2.1.5.patch
deleted file mode 100644
index 48101ebfb77..000
--- a/net-p2p/transmission/files/2.84-libevent-2.1.5.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-Fix runtime issues with libevent-2.1.5
-
-Bug: https://bugs.gentoo.org/536922
-Index: libtransmission/peer-io.c
-===
 libtransmission/peer-io.c  (revision 14541)
-+++ libtransmission/peer-io.c  (revision 14545)
-@@ -1041,6 +1041,33 @@
- ***
- **/
- 
-+static inline void
-+processBuffer (tr_crypto* crypto,
-+   struct evbuffer  * buffer,
-+   size_t offset,
-+   size_t size,
-+   void(* callback) (tr_crypto *, size_t, const void 
*, void *))
-+{
-+struct evbuffer_ptr pos;
-+struct evbuffer_iovec iovec;
-+
-+evbuffer_ptr_set (buffer, , offset, EVBUFFER_PTR_SET);
-+
-+do
-+{
-+if (evbuffer_peek (buffer, size, , , 1) <= 0)
-+break;
-+
-+callback (crypto, iovec.iov_len, iovec.iov_base, iovec.iov_base);
-+
-+assert (size >= iovec.iov_len);
-+size -= iovec.iov_len;
-+}
-+while (!evbuffer_ptr_set (buffer, , iovec.iov_len, EVBUFFER_PTR_ADD));
-+
-+assert (size == 0);
-+}
-+
- static void
- addDatatype (tr_peerIo * io, size_t byteCount, bool isPieceData)
- {
-@@ -1051,19 +1078,14 @@
- peer_io_push_datatype (io, d);
- }
- 
--static void
--maybeEncryptBuffer (tr_peerIo * io, struct evbuffer * buf)
-+static inline void
-+maybeEncryptBuffer (tr_peerIo   * io,
-+struct evbuffer * buf,
-+size_toffset,
-+size_tsize)
- {
- if (io->encryption_type == PEER_ENCRYPTION_RC4)
--{
--struct evbuffer_ptr pos;
--struct evbuffer_iovec iovec;
--evbuffer_ptr_set (buf, , 0, EVBUFFER_PTR_SET);
--do {
--evbuffer_peek (buf, -1, , , 1);
--tr_cryptoEncrypt (>crypto, iovec.iov_len, iovec.iov_base, 
iovec.iov_base);
--} while (!evbuffer_ptr_set (buf, , iovec.iov_len, 
EVBUFFER_PTR_ADD));
--}
-+processBuffer (>crypto, buf, offset, size, _cryptoEncrypt);
- }
- 
- void
-@@ -1070,7 +1092,7 @@
- tr_peerIoWriteBuf (tr_peerIo * io, struct evbuffer * buf, bool isPieceData)
- {
- const size_t byteCount = evbuffer_get_length (buf);
--maybeEncryptBuffer (io, buf);
-+maybeEncryptBuffer (io, buf, 0, byteCount);
- evbuffer_add_buffer (io->outbuf, buf);
- addDatatype (io, byteCount, isPieceData);
- }
-@@ -1126,6 +1148,16 @@
- 
- ***/
- 
-+static inline void
-+maybeDecryptBuffer (tr_peerIo   * io,
-+struct evbuffer * buf,
-+size_toffset,
-+size_tsize)
-+{
-+if (io->encryption_type == PEER_ENCRYPTION_RC4)
-+processBuffer (>crypto, buf, offset, size, _cryptoDecrypt);
-+}
-+
- void
- tr_peerIoReadBytesToBuf (tr_peerIo * io, struct evbuffer * inbuf, struct 
evbuffer * outbuf, size_t byteCount)
- {
-@@ -1141,17 +1173,7 @@
- evbuffer_add_buffer (outbuf, tmp);
- evbuffer_free (tmp);
- 
--/* decrypt if needed */
--if (io->encryption_type == PEER_ENCRYPTION_RC4) {
--struct evbuffer_ptr pos;
--struct evbuffer_iovec iovec;
--evbuffer_ptr_set (outbuf, , old_length, EVBUFFER_PTR_SET);
--do {
--evbuffer_peek (outbuf, byteCount, , , 1);
--tr_cryptoDecrypt (>crypto, iovec.iov_len, iovec.iov_base, 
iovec.iov_base);
--byteCount -= iovec.iov_len;
--} while (!evbuffer_ptr_set (outbuf, , iovec.iov_len, 
EVBUFFER_PTR_ADD));
--}
-+maybeDecryptBuffer (io, outbuf, old_length, byteCount);
- }
- 
- void

diff --git a/net-p2p/transmission/files/2.84-miniupnp14.patch 
b/net-p2p/transmission/files/2.84-miniupnp14.patch
deleted file mode 100644
index cdf64e10d93..000
--- a/net-p2p/transmission/files/2.84-miniupnp14.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-https://bugs.gentoo.org/562020
-
-Index: 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/

2017-06-23 Thread Michael Palimaka
commit: 4a43229559306107102225b49a6a8a5bb8c06ddd
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Jun 24 02:16:35 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Jun 24 02:16:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a432295

net-p2p/transmission-remote-gtk: remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-p2p/transmission-remote-gtk/Manifest   |  1 -
 .../transmission-remote-gtk-1.1.1.ebuild   | 45 --
 2 files changed, 46 deletions(-)

diff --git a/net-p2p/transmission-remote-gtk/Manifest 
b/net-p2p/transmission-remote-gtk/Manifest
index cad6f2a159a..40f5b1242fa 100644
--- a/net-p2p/transmission-remote-gtk/Manifest
+++ b/net-p2p/transmission-remote-gtk/Manifest
@@ -1,2 +1 @@
-DIST transmission-remote-gtk-1.1.1.tar.gz 684718 SHA256 
9f5ac2de623d633bcaacb6362bb6d8fb468c6dff278b867f65809c48ea1570c9 SHA512 
184601a51d71d7b967d516cee87bea47f190ad080d110b2a73c82adac03cff49169dd2682b82e0f5c017c050bd9fd54fdfba9cd0de7ca7d9fcd2e8f9abfc0c12
 WHIRLPOOL 
f245e497471b7c39eabae73deea10ccf30470938a52523fad05b1c744eab84a2d4c3e91e72d0c481789262ca38279cfca8f15fff1c7080f25107ee4038dd4a7a
 DIST transmission-remote-gtk-1.3.1.tar.xz 459260 SHA256 
1b29c573b1e205e3e7c2433dc4a48f9574278d97e033845d19bbffa1d7f75345 SHA512 
ce723d51f8f769e59fb539241996ff0204a654f52696963044f8535731cc2b8ec69cf454a15253f9ba214e0879498f3c19519b5b1b303273d667592887ee45f5
 WHIRLPOOL 
7ca78f608809ba74be1040ff73dde5a0bc68cb665fe889ca68e219e04cb17ec40bdd2994999ddc76819e3b5d5f4c9aeb256800268a2d92b56d84d904e8b7bac0

diff --git 
a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.1.ebuild 
b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.1.ebuild
deleted file mode 100644
index 8f638b3ba6b..000
--- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils fdo-mime gnome2-utils
-
-DESCRIPTION="GTK+ client for management of the Transmission BitTorrent client, 
over HTTP RPC"
-HOMEPAGE="https://code.google.com/p/transmission-remote-gtk;
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="ayatana debug geoip libnotify libproxy"
-
-RESTRICT="test"
-
-RDEPEND=">=dev-libs/glib-2.32
-   >=dev-libs/json-glib-0.12.6
-   net-misc/curl
-   >=x11-libs/gtk+-3.4:3
-   ayatana? ( dev-libs/libappindicator:3 )
-   geoip? ( dev-libs/geoip )
-   libnotify? ( >=x11-libs/libnotify-0.7 )
-   libproxy? ( net-libs/libproxy )"
-DEPEND="${RDEPEND}
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig"
-
-DOCS="AUTHORS ChangeLog README"
-
-src_configure() {
-   econf \
-   $(use_enable debug) \
-   --enable-gtk3 \
-   $(use_with geoip libgeoip) \
-   $(use_with libnotify) \
-   $(use_with libproxy) \
-   $(use_with ayatana libappindicator)
-}
-
-pkg_preinst() {gnome2_icon_savelist; }
-pkg_postinst() { fdo-mime_desktop_database_update; gnome2_icon_cache_update; }
-pkg_postrm() { fdo-mime_desktop_database_update; gnome2_icon_cache_update; }



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/

2017-06-22 Thread Agostino Sarubbo
commit: 47328067b6c2f3eab9a233c43f7ca623b0cd12e6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 22 12:47:14 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 22 12:47:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47328067

net-p2p/transmission-remote-gtk: amd64 stable wrt bug #622452

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild 
b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
index 1d7533fb792..bef684ca11f 100644
--- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
+++ b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="ayatana debug geoip libnotify libproxy rss"
 
 # RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/

2017-06-22 Thread Agostino Sarubbo
commit: 351e3de0662abd87578180970273fe503e97b5fb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 22 10:49:09 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 22 10:49:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351e3de0

net-p2p/transmission-remote-gtk: x86 stable wrt bug #622452

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild 
b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
index 59bfe79bac9..1d7533fb792 100644
--- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
+++ b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="ayatana debug geoip libnotify libproxy rss"
 
 # RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/

2017-06-18 Thread Pacho Ramos
commit: 010b23784118bd9295fa930c36c1f42f6e4ed34b
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jun 18 09:52:18 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jun 18 09:52:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010b2378

net-p2p/transmission-remote-gtk: Drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-p2p/transmission-remote-gtk/Manifest   |  1 -
 net-p2p/transmission-remote-gtk/metadata.xml   |  2 -
 .../transmission-remote-gtk-1.0.ebuild | 46 --
 3 files changed, 49 deletions(-)

diff --git a/net-p2p/transmission-remote-gtk/Manifest 
b/net-p2p/transmission-remote-gtk/Manifest
index 25e41a8be7a..cad6f2a159a 100644
--- a/net-p2p/transmission-remote-gtk/Manifest
+++ b/net-p2p/transmission-remote-gtk/Manifest
@@ -1,3 +1,2 @@
-DIST transmission-remote-gtk-1.0.tar.gz 570279 SHA256 
dc171ed67bd7bc2d98b42d04851cefb4174181f779433049a14b107c9a4906ce SHA512 
1e2a511126b478352052bc1821feab534f7b9cf5e7e41e73c493bbe8efa8587da6b35ea30cecced0d0f0d1e25ae1a00590611520b2fb570ab61a0badc538a200
 WHIRLPOOL 
f0e3647fca35e40b347beab5b1328ba5cc51e340753a7e3f43f98335470ce5b562922245baba52390ab1b35f9b42bb5c6126d8fe1f37883d865323ee45db0724
 DIST transmission-remote-gtk-1.1.1.tar.gz 684718 SHA256 
9f5ac2de623d633bcaacb6362bb6d8fb468c6dff278b867f65809c48ea1570c9 SHA512 
184601a51d71d7b967d516cee87bea47f190ad080d110b2a73c82adac03cff49169dd2682b82e0f5c017c050bd9fd54fdfba9cd0de7ca7d9fcd2e8f9abfc0c12
 WHIRLPOOL 
f245e497471b7c39eabae73deea10ccf30470938a52523fad05b1c744eab84a2d4c3e91e72d0c481789262ca38279cfca8f15fff1c7080f25107ee4038dd4a7a
 DIST transmission-remote-gtk-1.3.1.tar.xz 459260 SHA256 
1b29c573b1e205e3e7c2433dc4a48f9574278d97e033845d19bbffa1d7f75345 SHA512 
ce723d51f8f769e59fb539241996ff0204a654f52696963044f8535731cc2b8ec69cf454a15253f9ba214e0879498f3c19519b5b1b303273d667592887ee45f5
 WHIRLPOOL 
7ca78f608809ba74be1040ff73dde5a0bc68cb665fe889ca68e219e04cb17ec40bdd2994999ddc76819e3b5d5f4c9aeb256800268a2d92b56d84d904e8b7bac0

diff --git a/net-p2p/transmission-remote-gtk/metadata.xml 
b/net-p2p/transmission-remote-gtk/metadata.xml
index 6dc7f34e37c..8b4c233cb17 100644
--- a/net-p2p/transmission-remote-gtk/metadata.xml
+++ b/net-p2p/transmission-remote-gtk/metadata.xml
@@ -4,8 +4,6 @@

Use net-libs/libproxy for 
getting the HTTP/HTTPS/SOCKS proxy configuration.
-   Enable single instance support using
-   dev-libs/libunique


transmission-remote-gtk/transmission-remote-gtk

diff --git a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.0.ebuild 
b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.0.ebuild
deleted file mode 100644
index f5f18c04480..000
--- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit gnome2-utils
-
-DESCRIPTION="GTK client for management of the Transmission BitTorrent client, 
over HTTP RPC"
-HOMEPAGE="https://code.google.com/p/transmission-remote-gtk;
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug geoip libproxy unique"
-RESTRICT="test"
-
-RDEPEND=">=dev-libs/glib-2.22:2
-   >=dev-libs/json-glib-0.12.2
-   unique? ( dev-libs/libunique:1 )
-   libproxy? ( net-libs/libproxy )
-   net-misc/curl
-   >=x11-libs/gtk+-2.16:2
-   x11-libs/libnotify
-   geoip? ( dev-libs/geoip )"
-DEPEND="${RDEPEND}
-   dev-util/intltool
-   virtual/pkgconfig"
-
-DOCS=( AUTHORS README )
-
-src_configure() {
-   # disable gtk3 for now because upstream doesn't consider it "ready".
-   # Also disable libappindicator till gtk3 is ready since ayatana on
-   # gtk2 is deprecated in Gentoo.
-   econf \
-   $(use_enable debug) \
-   $(use_with geoip libgeoip) \
-   $(use_with libproxy) \
-   $(use_with unique libunique) \
-   --without-libappindicator \
-   --disable-gtk3
-}
-
-pkg_preinst() {gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/

2017-06-18 Thread Pacho Ramos
commit: 9d3988b442e73e3b2a66ab7ce0436bcd408c5290
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jun 18 09:51:39 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jun 18 09:52:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3988b4

net-p2p/transmission-remote-gtk: Don't build with -Werror (#593926)

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild 
b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
index b1ed0caebd5..59bfe79bac9 100644
--- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
+++ b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+GNOME2_EAUTORECONF="yes"
 
 inherit gnome2
 
@@ -36,13 +37,15 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
 "
 
-DOCS="AUTHORS ChangeLog README"
+src_prepare() {
+   sed -i -e '/-Werror/d' configure.ac || die
+   gnome2_src_prepare
+}
 
 src_configure() {
# Disable overly strict appdata validation
gnome2_src_configure \
$(use_enable debug) \
-   --enable-gtk3 \
$(use_with geoip libgeoip) \
$(use_with libnotify) \
$(use_with libproxy) \



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-cli/

2017-04-26 Thread Michael Weber
commit: ffb2b6e1c1f707f3a7409cb0b26eaeab3d754315
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Apr 26 13:11:49 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Apr 26 13:11:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb2b6e1

net-p2p/transmission-remote-cli: Remove old version.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-p2p/transmission-remote-cli/Manifest   |  1 -
 .../transmission-remote-cli-1.7.0.ebuild   | 31 --
 2 files changed, 32 deletions(-)

diff --git a/net-p2p/transmission-remote-cli/Manifest 
b/net-p2p/transmission-remote-cli/Manifest
index 38fb9ce6dad..04c80793c82 100644
--- a/net-p2p/transmission-remote-cli/Manifest
+++ b/net-p2p/transmission-remote-cli/Manifest
@@ -1,2 +1 @@
-DIST transmission-remote-cli-1.7.0.tar.gz 256311 SHA256 
d20ba26cd05bd5a5d55a5990b861bf9cd4286a54f720d22041838a51cf60db62 SHA512 
86776384ac8618ccd58d3345b1a98e55ef5f0c6911fde61f6f54d9da15b1d8a244391bda4c7713e9b312132db30d732b444bebe9a753d0298e8838f779f149be
 WHIRLPOOL 
abc5daffe784df1b68d423400c2d0e94efa3e995fb1f8f53e8c571aea794d37cf714487b5b63a7a77e767b0d4668d376f675d9bbb0009b7b317b5ab058efb0a4
 DIST transmission-remote-cli-1.7.1.tar.gz 257981 SHA256 
e9135a440d48761f00e990cd0b6eb4c378b82041c479f4624f5c1a27d99d10f8 SHA512 
b1b31c36365a0f7733912f3a2c01e6e9f20430f29b618c7e526a214632a29d2bc76702f0c31910fdc495a7eaf37bf74e7433c552fc922c440c0874422208bae9
 WHIRLPOOL 
3aac4d7986a581afcbe904589c825600b5540525dd0598bc2c7b1e92f2fc0c7d4f6e9c93cd8b14f75b1a471f9d77f53ad7e680059459d797558deddc698fb1b5

diff --git 
a/net-p2p/transmission-remote-cli/transmission-remote-cli-1.7.0.ebuild 
b/net-p2p/transmission-remote-cli/transmission-remote-cli-1.7.0.ebuild
deleted file mode 100644
index 746e317575e..000
--- a/net-p2p/transmission-remote-cli/transmission-remote-cli-1.7.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ncurses"
-inherit bash-completion-r1 python-r1
-
-DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
-HOMEPAGE="https://github.com/fagga/transmission-remote-cli/;
-SRC_URI="https://github.com/fagga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="geoip"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-   geoip? ( dev-python/geoip-python[$PYTHON_USEDEP] )
-"
-
-src_install() {
-   python_foreach_impl python_doscript transmission-remote-cli
-   newbashcomp completion/bash/transmission-remote-cli-bash-completion.sh \
-   transmission-remote-cli
-   doman transmission-remote-cli.1
-   dodoc NEWS README.md
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/files/

2017-01-29 Thread Michael Palimaka
commit: 2f4fc1005dadc657b2d37a8faade1e1a1fd7cd88
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Jan 27 15:46:17 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jan 29 17:29:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f4fc100

net-p2p/transmission-remote-gtk: remove unused patch

 ...transmission-remote-gtk-1.1-PKG_PROG_PKG_CONFIG.patch | 16 
 1 file changed, 16 deletions(-)

diff --git 
a/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.1-PKG_PROG_PKG_CONFIG.patch
 
b/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.1-PKG_PROG_PKG_CONFIG.patch
deleted file mode 100644
index 5f78c52..
--- 
a/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.1-PKG_PROG_PKG_CONFIG.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This is required when passing --without-libnotify because otherwise the first 
call to
-PKG_CHECK_MODULES is not called and the ./configure will bail out.
-
-http://bugs.gentoo.org/435586
-http://code.google.com/p/transmission-remote-gtk/issues/detail?id=216
-
 configure.ac
-+++ configure.ac
-@@ -34,6 +34,7 @@
- AC_PROG_INSTALL
- LT_INIT
- IT_PROG_INTLTOOL([0.35.0])
-+PKG_PROG_PKG_CONFIG
- 
- AC_CHECK_HEADERS([stdlib.h string.h])
- AC_TYPE_SIZE_T



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2017-01-26 Thread Mike Gilbert
commit: 2d15f2c0d51fe253afa9b15f784d44aa8caa4634
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Jan 26 20:39:34 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Jan 26 20:40:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d15f2c0

net-p2p/transmission: unbundle libb64

Bug: https://bugs.gentoo.org/607336
Package-Manager: Portage-2.3.3_p42, Repoman-2.3.1_p35

 net-p2p/transmission/transmission-.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index 34a8e11..39a23fd 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -26,6 +26,7 @@ IUSE="ayatana gtk libressl lightweight nls mbedtls qt5 
systemd test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+   dev-libs/libb64:0=
>=dev-libs/libevent-2.0.10:=
!mbedtls? (
!libressl? ( dev-libs/openssl:0= )
@@ -89,7 +90,7 @@ src_configure() {
-DUSE_SYSTEM_MINIUPNPC=ON
-DUSE_SYSTEM_NATPMP=ON
-DUSE_SYSTEM_UTP=OFF
-   -DUSE_SYSTEM_B64=OFF
+   -DUSE_SYSTEM_B64=ON
 
-DWITH_CRYPTO=$(usex mbedtls polarssl openssl)
-DWITH_INOTIFY=ON



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2017-01-26 Thread Mike Gilbert
commit: 254e05ab36ca0924e22d1b5a3dd3252f25734334
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Jan 26 20:21:25 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Jan 26 20:40:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=254e05ab

net-p2p/transmission: remove old

Package-Manager: Portage-2.3.3_p42, Repoman-2.3.1_p35

 net-p2p/transmission/Manifest|   1 -
 net-p2p/transmission/transmission-2.84-r4.ebuild | 167 --
 net-p2p/transmission/transmission-2.92-r1.ebuild | 164 -
 net-p2p/transmission/transmission-2.92.ebuild| 172 ---
 4 files changed, 504 deletions(-)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 11ea7ea..0accc80 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,2 +1 @@
-DIST transmission-2.84.tar.xz 3077836 SHA256 
a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 
d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121cee87f5792cc6c29a3d
 WHIRLPOOL 
375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
 DIST transmission-2.92.tar.xz 3378116 SHA256 
3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 WHIRLPOOL 
a2eab113fd895001cf72cd79c4ac9a4767eb9fb756a3fb9b1d0db6aa283d19a6aec739b8681a3a5a26ef630cec68f004e14f8654221f0528e30927f37339887f

diff --git a/net-p2p/transmission/transmission-2.84-r4.ebuild 
b/net-p2p/transmission/transmission-2.84-r4.ebuild
deleted file mode 100644
index 504457b..
--- a/net-p2p/transmission/transmission-2.84-r4.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils fdo-mime gnome2-utils qmake-utils systemd user
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/;
-SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
-
-# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
-# transmission in licenses/ is for mentioning OpenSSL linking exception
-# MIT is in several libtransmission/ headers
-LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
-SLOT=0
-IUSE="ayatana gtk lightweight systemd qt4 qt5 xfs"
-KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
-
-RDEPEND=">=dev-libs/libevent-2.0.10:=
-   dev-libs/openssl:0=
-   net-libs/libnatpmp:=
-   >=net-libs/miniupnpc-1.7:=
-   >=net-misc/curl-7.16.3:=[ssl]
-   sys-libs/zlib:=
-   gtk? (
-   >=dev-libs/dbus-glib-0.100:=
-   >=dev-libs/glib-2.32:2=
-   >=x11-libs/gtk+-3.4:3=
-   ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
-   )
-   systemd? ( sys-apps/systemd:= )
-   qt4? (
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   )
-   qt5? (
-   dev-qt/qtcore:5
-   dev-qt/qtdbus:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtwidgets:5
-   )"
-DEPEND="${RDEPEND}
-   >=dev-libs/glib-2.32
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/os-headers
-   virtual/pkgconfig
-   qt5? ( dev-qt/linguist-tools:5 )
-   xfs? ( sys-fs/xfsprogs )"
-
-REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
-
-DOCS="AUTHORS NEWS qt/README.txt"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
-   # Trick to avoid automagic dependency
-   use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' 
configure.ac || die; }
-   # Pass our configuration dir to systemd unit file
-   sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' 
daemon/${PN}-daemon.service || die
-   # http://trac.transmissionbt.com/ticket/4324
-   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
lib${PN}/Makefile.am || die
-   # Fix for broken translations path
-   epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch
-   # http://trac.transmissionbt.com/ticket/5700
-   sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die
-
-   epatch "${FILESDIR}/2.84-miniupnp14.patch"
-   epatch "${FILESDIR}/2.84-libevent-2.1.5.patch"
-   epatch "${FILESDIR}/2.84-node_alloc-segfault.patch"
-
-   epatch_user
-   eautoreconf
-}
-
-src_configure() {
-   export ac_cv_header_xfs_xfs_h=$(usex xfs)
-
-   econf \
-   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/

2017-01-10 Thread Sergey Popov
commit: f0b342973656ced59955be083435b5f59736bae0
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Jan 10 15:31:24 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Jan 10 15:31:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b34297

net-p2p/transmission: revision bump

Backport upstream fix for handshaking.
Committed straight to stable

Package-Manager: portage-2.3.3
RepoMan-Options: --force

 .../files/transmission-2.92-handshake.patch|  33 +
 net-p2p/transmission/transmission-2.92-r2.ebuild   | 165 +
 2 files changed, 198 insertions(+)

diff --git a/net-p2p/transmission/files/transmission-2.92-handshake.patch 
b/net-p2p/transmission/files/transmission-2.92-handshake.patch
new file mode 100644
index ..a30cd58
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-2.92-handshake.patch
@@ -0,0 +1,33 @@
+commit 4c00df9463ea4fd70b73c620e439f5c3ee5efa60
+Author: Mike Gelfand 
+Date:   Sun Sep 18 13:58:15 2016 +0300
+
+Abort handshake if establishing DH shared secret fails
+
+Fixes #27
+
+diff --git a/libtransmission/handshake.c b/libtransmission/handshake.c
+index c728696..e7ff131 100644
+--- a/libtransmission/handshake.c
 b/libtransmission/handshake.c
+@@ -425,7 +425,8 @@ readYb (tr_handshake * handshake, struct evbuffer * inbuf)
+ 
+   /* compute the secret */
+   evbuffer_remove (inbuf, yb, KEY_LEN);
+-  tr_cryptoComputeSecret (handshake->crypto, yb);
++  if (!tr_cryptoComputeSecret (handshake->crypto, yb))
++return tr_handshakeDone (handshake, false);
+ 
+   /* now send these: HASH ('req1', S), HASH ('req2', SKEY) xor HASH ('req3', 
S),
+* ENCRYPT (VC, crypto_provide, len (PadC), PadC, len (IA)), ENCRYPT (IA) */
+@@ -741,7 +742,9 @@ readYa (tr_handshake* handshake,
+ 
+   /* read the incoming peer's public key */
+   evbuffer_remove (inbuf, ya, KEY_LEN);
+-  tr_cryptoComputeSecret (handshake->crypto, ya);
++  if (!tr_cryptoComputeSecret (handshake->crypto, ya))
++return tr_handshakeDone (handshake, false);
++
+   computeRequestHash (handshake, "req1", handshake->myReq1);
+ 
+   /* send our public key to the peer */

diff --git a/net-p2p/transmission/transmission-2.92-r2.ebuild 
b/net-p2p/transmission/transmission-2.92-r2.ebuild
new file mode 100644
index ..4dc6af0
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.92-r2.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools fdo-mime flag-o-matic gnome2-utils qmake-utils systemd user
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/;
+SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
+KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   net-libs/libnatpmp
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.4:3
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3 )
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   )
+   systemd? ( >=sys-apps/systemd-209:= )"
+DEPEND="${RDEPEND}
+   >=dev-libs/glib-2.32
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/os-headers
+   virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
+   xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk )"
+
+DOCS=( AUTHORS NEWS qt/README.txt )
+
+PATCHES=(
+   "${FILESDIR}"/libsystemd.patch
+   "${FILESDIR}/${P}-handshake.patch"
+)
+
+src_prepare() {
+   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+   # Trick to avoid automagic dependency
+   if ! use ayatana ; then
+   sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' configure.ac 
|| die
+   fi
+
+   # http://trac.transmissionbt.com/ticket/4324
+   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
+
+   # Prevent m4_copy error when running aclocal
+   # m4_copy: won't overwrite defined macro: glib_DEFUN
+   rm m4/glib-gettext.m4 || die
+
+   default
+   eautoreconf
+}
+
+src_configure() {
+   export 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2017-01-02 Thread Mike Gilbert
commit: e061c41f3a8386e27fb71a473335c9bb1a28f1f2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Jan  3 01:49:13 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Jan  3 01:49:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e061c41f

net-p2p/transmission: git build now uses submodules

Package-Manager: Portage-2.3.3_p12, Repoman-2.3.1_p5

 net-p2p/transmission/Manifest |  3 ---
 net-p2p/transmission/transmission-.ebuild | 23 +--
 2 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 9115316..11ea7ea 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,5 +1,2 @@
-DIST dht-cc379e406d.tar.gz 28109 SHA256 
a822d878f7f0ba796a5b056d076f0e187cd7b191890f874dc6eacc6f5814343d SHA512 
921c06b23cd4b464bcb156f51e11b123ab0d1b21272270c338844161dc6c9d212e9841f714764497278816987c9fdc058f91dec1b1f168a63044325a56878ad2
 WHIRLPOOL 
7329310fbde27dede0b38c5b3577b34b5f8c3d228eadb0418e82e3d8770739bbbdfcbf2404e6f1f04d1c68dcbedd6c04f0b8cd5bcc16046dfc6ccf4b7a4a2d83
-DIST libb64-c1e3323498.tar.gz 13965 SHA256 
76a59d85147942d3d15739ce4b6e9f3657611b67deff24d37519fb270c1afa68 SHA512 
4117b603167fc5e014af3ad6b6603f0758dd6432b1603383c24a5f4cb6a9171267fcfaf1ae591cbe21a0fbe3f648af6e408c579d02fbc84a94f4427283cef6f1
 WHIRLPOOL 
30c594d2de71c63061869e68649f1f1c5ca3664da2157637a93b6bfaa0953f81dc91026c402d703d23ac477e0d9e0964c7836c5b544ef01f5dba4b556d1a7eea
-DIST libutp-7c4f19abdf.tar.gz 71062 SHA256 
3a85f50ad9f5be75375c96cbf9124ada1c62659a6e12a33ccadc6e27e10ba982 SHA512 
24629fe060f899686f9168fd978b72f74771285801416d70ebd4b9ae54497b7a88f9faf00dcab8261e76c82419ef4373ce7a926330a3166c0b502a6510c71c3a
 WHIRLPOOL 
0db94e084840e22e2a4c617580e891571319610e03add689e3fff1cbcd1040c40dde860cf796bee6a9e73f0cb327a2313e72e2f6bf3db3c01e2ccd6b3a2f6ef7
 DIST transmission-2.84.tar.xz 3077836 SHA256 
a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 
d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121cee87f5792cc6c29a3d
 WHIRLPOOL 
375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
 DIST transmission-2.92.tar.xz 3378116 SHA256 
3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 WHIRLPOOL 
a2eab113fd895001cf72cd79c4ac9a4767eb9fb756a3fb9b1d0db6aa283d19a6aec739b8681a3a5a26ef630cec68f004e14f8654221f0528e30927f37339887f

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index 6b8a640..34a8e11 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,17 +14,6 @@ else
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
 fi
 
-# See CMakeLists
-DHT_ID="cc379e406d"
-UTP_ID="7c4f19abdf"
-B64_ID="c1e3323498"
-
-SRC_URI+="
-   https://github.com/transmission/dht/archive/${DHT_ID}.tar.gz -> 
dht-${DHT_ID}.tar.gz
-   https://github.com/transmission/libutp/archive/${UTP_ID}.tar.gz -> 
libutp-${UTP_ID}.tar.gz
-   https://github.com/transmission/libb64/archive/${B64_ID}.tar.gz -> 
libb64-${B64_ID}.tar.gz
-"
-
 DESCRIPTION="A fast, easy, and free BitTorrent client"
 HOMEPAGE="https://transmissionbt.com/;
 
@@ -109,16 +98,6 @@ src_configure() {
)
 
cmake-utils_src_configure
-
-   symlink_tarball() {
-   local srcdir="${BUILD_DIR}/third-party/${1}-${3}/src"
-   mkdir -p "${srcdir}" || die
-   ln -s "${DISTDIR}/${2}-${3}.tar.gz" "${srcdir}/${3}.tar.gz" || 
die
-   }
-
-   symlink_tarball dht dht "${DHT_ID}"
-   symlink_tarball utp libutp "${UTP_ID}"
-   symlink_tarball b64 libb64 "${B64_ID}"
 }
 
 DISABLE_AUTOFORMATTING=1



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-12-25 Thread Agostino Sarubbo
commit: 2b6fc838eda9259b4dcc9dd5edf6b2f1a0627e2f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 25 10:22:03 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 25 10:22:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6fc838

net-p2p/transmission: ppc stable wrt bug #586648

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/transmission/transmission-2.92-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.92-r1.ebuild 
b/net-p2p/transmission/transmission-2.92-r1.ebuild
index 2aaf530..9221015 100644
--- a/net-p2p/transmission/transmission-2.92-r1.ebuild
+++ b/net-p2p/transmission/transmission-2.92-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-12-22 Thread Agostino Sarubbo
commit: d1af03d3ffd6a5cbf56c2702ed620a417d2e22b3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 22 08:56:57 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 22 08:56:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1af03d3

net-p2p/transmission: x86 stable wrt bug #586648

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/transmission/transmission-2.92-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.92-r1.ebuild 
b/net-p2p/transmission/transmission-2.92-r1.ebuild
index ea9936b..0d569b7 100644
--- a/net-p2p/transmission/transmission-2.92-r1.ebuild
+++ b/net-p2p/transmission/transmission-2.92-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-12-21 Thread Mike Gilbert
commit: 22f320e1c8a36b34ce2219e9fcd841a0d169b8a7
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Dec 21 21:20:29 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Dec 21 21:20:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22f320e1

net-p2p/transmission: 2.92-r1 stable on amd64

Bug: https://bugs.gentoo.org/586648

Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1

 net-p2p/transmission/transmission-2.92-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.92-r1.ebuild 
b/net-p2p/transmission/transmission-2.92-r1.ebuild
index aab6cde..ea9936b 100644
--- a/net-p2p/transmission/transmission-2.92-r1.ebuild
+++ b/net-p2p/transmission/transmission-2.92-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-12-18 Thread Mike Gilbert
commit: f42e56c6cdca886fc0abb1e9f2e741c0b587b85b
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Dec 18 18:45:04 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Dec 18 18:45:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f42e56c6

net-p2p/transmission: PolarSSL is dead; use mbed TLS instead

Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1

 net-p2p/transmission/metadata.xml | 2 +-
 net-p2p/transmission/transmission-.ebuild | 8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-p2p/transmission/metadata.xml 
b/net-p2p/transmission/metadata.xml
index 35f2bcf..e49e57c 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -7,7 +7,7 @@
   
   
 Optimize transmission for low-resource systems 
(smaller cache size, prefer unencrypted peer connections, etc.)
-   Use PolarSSL instead of OpenSSL
+   Use mbed TLS instead of OpenSSL
 Enable XFS filesystem capabilities by using 
sys-fs/xfsprogs headers (in building of fdlimit(.c))
   
 

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index ade845a..6b8a640 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -33,16 +33,16 @@ HOMEPAGE="https://transmissionbt.com/;
 # MIT is in several libtransmission/ headers
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT="0"
-IUSE="ayatana gtk libressl lightweight nls polarssl qt5 systemd test"
+IUSE="ayatana gtk libressl lightweight nls mbedtls qt5 systemd test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
>=dev-libs/libevent-2.0.10:=
-   !polarssl? (
+   !mbedtls? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
-   polarssl? ( >=net-libs/polarssl-1.2:0= )
+   mbedtls? ( net-libs/mbedtls:0= )
net-libs/libnatpmp
>=net-libs/miniupnpc-1.7:=
>=net-misc/curl-7.16.3[ssl]
@@ -102,7 +102,7 @@ src_configure() {
-DUSE_SYSTEM_UTP=OFF
-DUSE_SYSTEM_B64=OFF
 
-   -DWITH_CRYPTO=$(usex polarssl polarssl openssl)
+   -DWITH_CRYPTO=$(usex mbedtls polarssl openssl)
-DWITH_INOTIFY=ON
-DWITH_LIBAPPINDICATOR=$(usex ayatana ON OFF)
-DWITH_SYSTEMD=$(usex systemd ON OFF)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-12-18 Thread Mike Gilbert
commit: 7227f36b72ddcbc3c308af06768f367e0b447be2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Dec 18 17:55:42 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Dec 18 17:57:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7227f36b

net-p2p/transmission: add optional PolarSSL support

Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1

 net-p2p/transmission/metadata.xml |  1 +
 net-p2p/transmission/transmission-.ebuild | 11 +++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-p2p/transmission/metadata.xml 
b/net-p2p/transmission/metadata.xml
index 056a427..35f2bcf 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -7,6 +7,7 @@
   
   
 Optimize transmission for low-resource systems 
(smaller cache size, prefer unencrypted peer connections, etc.)
+   Use PolarSSL instead of OpenSSL
 Enable XFS filesystem capabilities by using 
sys-fs/xfsprogs headers (in building of fdlimit(.c))
   
 

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index 90966d2..ade845a 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -33,13 +33,16 @@ HOMEPAGE="https://transmissionbt.com/;
 # MIT is in several libtransmission/ headers
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT="0"
-IUSE="ayatana gtk libressl lightweight nls qt5 systemd test"
+IUSE="ayatana gtk libressl lightweight nls polarssl qt5 systemd test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
>=dev-libs/libevent-2.0.10:=
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   !polarssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   polarssl? ( >=net-libs/polarssl-1.2:0= )
net-libs/libnatpmp
>=net-libs/miniupnpc-1.7:=
>=net-misc/curl-7.16.3[ssl]
@@ -99,7 +102,7 @@ src_configure() {
-DUSE_SYSTEM_UTP=OFF
-DUSE_SYSTEM_B64=OFF
 
-   -DWITH_CRYPTO=openssl
+   -DWITH_CRYPTO=$(usex polarssl polarssl openssl)
-DWITH_INOTIFY=ON
-DWITH_LIBAPPINDICATOR=$(usex ayatana ON OFF)
-DWITH_SYSTEMD=$(usex systemd ON OFF)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-12-09 Thread Mike Gilbert
commit: a4fabf504bd07a4a228f58cd01ea4b05f64fb457
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Dec  9 21:56:15 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Dec  9 21:56:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4fabf50

net-p2p/transmission: make libappindicator optional again

Package-Manager: portage-2.3.2_p13

 net-p2p/transmission/transmission-.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index 237e781..90966d2 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -33,7 +33,7 @@ HOMEPAGE="https://transmissionbt.com/;
 # MIT is in several libtransmission/ headers
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT="0"
-IUSE="gtk libressl lightweight nls qt5 systemd test"
+IUSE="ayatana gtk libressl lightweight nls qt5 systemd test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -46,9 +46,9 @@ RDEPEND="
sys-libs/zlib:=
gtk? (
>=dev-libs/dbus-glib-0.100
-   dev-libs/libappindicator:3
>=dev-libs/glib-2.32:2
>=x11-libs/gtk+-3.4:3
+   ayatana? ( >=dev-libs/libappindicator-0.4.30:3 )
)
qt5? (
dev-qt/qtcore:5
@@ -101,6 +101,7 @@ src_configure() {
 
-DWITH_CRYPTO=openssl
-DWITH_INOTIFY=ON
+   -DWITH_LIBAPPINDICATOR=$(usex ayatana ON OFF)
-DWITH_SYSTEMD=$(usex systemd ON OFF)
)
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-12-01 Thread Mike Gilbert
commit: 09e89b33500c6af2cd9d5e78736213fb7c6d8a02
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Dec  1 23:33:30 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Dec  1 23:33:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e89b33

net-p2p/transmission: RESTRICT="!test? ( test )"

Package-Manager: portage-2.3.2_p11

 net-p2p/transmission/transmission-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
index 0775626..237e781 100644
--- a/net-p2p/transmission/transmission-.ebuild
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -34,6 +34,7 @@ HOMEPAGE="https://transmissionbt.com/;
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT="0"
 IUSE="gtk libressl lightweight nls qt5 systemd test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
>=dev-libs/libevent-2.0.10:=



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-11-27 Thread Mike Gilbert
commit: b85aab46386af666d9c0e0f2429e985d43b19ae1
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Nov 27 08:36:12 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov 27 08:48:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b85aab46

net-p2p/transmission: add live ebuild and port to cmake

Package-Manager: portage-2.3.2_p11

 net-p2p/transmission/Manifest |   3 +
 net-p2p/transmission/transmission-.ebuild | 167 ++
 2 files changed, 170 insertions(+)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 11ea7ea..9115316 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,2 +1,5 @@
+DIST dht-cc379e406d.tar.gz 28109 SHA256 
a822d878f7f0ba796a5b056d076f0e187cd7b191890f874dc6eacc6f5814343d SHA512 
921c06b23cd4b464bcb156f51e11b123ab0d1b21272270c338844161dc6c9d212e9841f714764497278816987c9fdc058f91dec1b1f168a63044325a56878ad2
 WHIRLPOOL 
7329310fbde27dede0b38c5b3577b34b5f8c3d228eadb0418e82e3d8770739bbbdfcbf2404e6f1f04d1c68dcbedd6c04f0b8cd5bcc16046dfc6ccf4b7a4a2d83
+DIST libb64-c1e3323498.tar.gz 13965 SHA256 
76a59d85147942d3d15739ce4b6e9f3657611b67deff24d37519fb270c1afa68 SHA512 
4117b603167fc5e014af3ad6b6603f0758dd6432b1603383c24a5f4cb6a9171267fcfaf1ae591cbe21a0fbe3f648af6e408c579d02fbc84a94f4427283cef6f1
 WHIRLPOOL 
30c594d2de71c63061869e68649f1f1c5ca3664da2157637a93b6bfaa0953f81dc91026c402d703d23ac477e0d9e0964c7836c5b544ef01f5dba4b556d1a7eea
+DIST libutp-7c4f19abdf.tar.gz 71062 SHA256 
3a85f50ad9f5be75375c96cbf9124ada1c62659a6e12a33ccadc6e27e10ba982 SHA512 
24629fe060f899686f9168fd978b72f74771285801416d70ebd4b9ae54497b7a88f9faf00dcab8261e76c82419ef4373ce7a926330a3166c0b502a6510c71c3a
 WHIRLPOOL 
0db94e084840e22e2a4c617580e891571319610e03add689e3fff1cbcd1040c40dde860cf796bee6a9e73f0cb327a2313e72e2f6bf3db3c01e2ccd6b3a2f6ef7
 DIST transmission-2.84.tar.xz 3077836 SHA256 
a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 
d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121cee87f5792cc6c29a3d
 WHIRLPOOL 
375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
 DIST transmission-2.92.tar.xz 3378116 SHA256 
3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 WHIRLPOOL 
a2eab113fd895001cf72cd79c4ac9a4767eb9fb756a3fb9b1d0db6aa283d19a6aec739b8681a3a5a26ef630cec68f004e14f8654221f0528e30927f37339887f

diff --git a/net-p2p/transmission/transmission-.ebuild 
b/net-p2p/transmission/transmission-.ebuild
new file mode 100644
index ..0775626
--- /dev/null
+++ b/net-p2p/transmission/transmission-.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils readme.gentoo-r1 systemd user xdg-utils
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/transmission/transmission;
+else
+   
SRC_URI="https://github.com/transmission/transmission/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+fi
+
+# See CMakeLists
+DHT_ID="cc379e406d"
+UTP_ID="7c4f19abdf"
+B64_ID="c1e3323498"
+
+SRC_URI+="
+   https://github.com/transmission/dht/archive/${DHT_ID}.tar.gz -> 
dht-${DHT_ID}.tar.gz
+   https://github.com/transmission/libutp/archive/${UTP_ID}.tar.gz -> 
libutp-${UTP_ID}.tar.gz
+   https://github.com/transmission/libb64/archive/${B64_ID}.tar.gz -> 
libb64-${B64_ID}.tar.gz
+"
+
+DESCRIPTION="A fast, easy, and free BitTorrent client"
+HOMEPAGE="https://transmissionbt.com/;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT="0"
+IUSE="gtk libressl lightweight nls qt5 systemd test"
+
+RDEPEND="
+   >=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   net-libs/libnatpmp
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100
+   dev-libs/libappindicator:3
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.4:3
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   )
+   systemd? ( >=sys-apps/systemd-209:= )
+"
+DEPEND="${RDEPEND}
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-10-23 Thread Mike Gilbert
commit: 14fe041899f7389c20de7c45d935abeb6fcbefc7
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sun Oct 23 09:29:19 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Oct 23 15:08:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14fe0418

net-p2p/transmission: Drop USE=qt4, one REQUIRED_USE down

DOCS to array
ED remove double slash
ROOT -> EROOT
Dropped several subslot operators where there are none
Add subslot operator to libressl RDEPEND
append-cppflags -> append-lfs-flags

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2645

 net-p2p/transmission/transmission-2.92-r1.ebuild | 164 +++
 1 file changed, 164 insertions(+)

diff --git a/net-p2p/transmission/transmission-2.92-r1.ebuild 
b/net-p2p/transmission/transmission-2.92-r1.ebuild
new file mode 100644
index ..aab6cde
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.92-r1.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools fdo-mime flag-o-matic gnome2-utils qmake-utils systemd user
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/;
+SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   net-libs/libnatpmp
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.4:3
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3 )
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   )
+   systemd? ( >=sys-apps/systemd-209:= )"
+DEPEND="${RDEPEND}
+   >=dev-libs/glib-2.32
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/os-headers
+   virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
+   xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk )"
+
+DOCS=( AUTHORS NEWS qt/README.txt )
+
+PATCHES=(
+   "${FILESDIR}"/libsystemd.patch
+)
+
+src_prepare() {
+   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+   # Trick to avoid automagic dependency
+   if ! use ayatana ; then
+   sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' configure.ac 
|| die
+   fi
+
+   # http://trac.transmissionbt.com/ticket/4324
+   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
+
+   # Prevent m4_copy error when running aclocal
+   # m4_copy: won't overwrite defined macro: glib_DEFUN
+   rm m4/glib-gettext.m4 || die
+
+   default
+   eautoreconf
+}
+
+src_configure() {
+   export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+   # https://bugs.gentoo.org/577528
+   append-lfs-flags
+
+   econf \
+   --enable-external-natpmp \
+   $(use_enable lightweight) \
+   $(use_with systemd systemd-daemon) \
+   $(use_with gtk)
+
+   if use qt5; then
+   pushd qt >/dev/null || die
+   eqmake5 qtr.pro
+   popd >/dev/null || die
+   fi
+}
+
+src_compile() {
+   emake
+
+   if use qt5; then
+   emake -C qt
+   $(qt5_get_bindir)/lrelease qt/translations/*.ts || die
+   fi
+}
+
+src_install() {
+   default
+
+   rm "${ED%/}"/usr/share/transmission/web/LICENSE || die
+
+   newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon
+   newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon
+   systemd_dounit daemon/transmission-daemon.service
+   systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf
+
+   if use qt5; then
+   pushd qt >/dev/null || die
+   emake INSTALL_ROOT="${ED%/}"/usr install
+
+   domenu transmission-qt.desktop
+
+   local res
+   for res in 16 22 24 32 48 64 72 96 128 192 256; do
+   doicon -s ${res} 
icons/hicolor/${res}x${res}/transmission-qt.png
+   done
+   doicon -s scalable icons/hicolor/scalable/transmission-qt.svg
+
+   insinto 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-10-07 Thread Mike Gilbert
commit: 08b836511eee4fe7150dd47990536b6edb424c72
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Oct  7 19:16:42 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Oct  7 19:16:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b83651

net-p2p/transmission: remove old

Package-Manager: portage-2.3.1_p6

 net-p2p/transmission/Manifest|   1 -
 net-p2p/transmission/transmission-2.84-r5.ebuild | 168 ---
 net-p2p/transmission/transmission-2.90-r1.ebuild | 158 -
 3 files changed, 327 deletions(-)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index a367870d..11ea7ea 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,3 +1,2 @@
 DIST transmission-2.84.tar.xz 3077836 SHA256 
a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 
d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121cee87f5792cc6c29a3d
 WHIRLPOOL 
375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
-DIST transmission-2.90.tar.xz 3377720 SHA256 
69ff8caf81684155926f437f46bf7df1b1fb304f52c7809f546257e8923f2fd2 SHA512 
09c8e90cb1c7b508e3956d294ba9b5f01b4093c9f934c76d7515e96915c657b97f02819e1365dbbfecbdf489ae5757346d8bb2dd8e0070c304af434006495fda
 WHIRLPOOL 
a51a86603ddf208c73b6e86a05eda2d90636407c7c716fb959fa460a72908aafe2d82f46c1fe3d7afda52ba845d73924d0f26f107a2446644809f7cfd5985275
 DIST transmission-2.92.tar.xz 3378116 SHA256 
3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 WHIRLPOOL 
a2eab113fd895001cf72cd79c4ac9a4767eb9fb756a3fb9b1d0db6aa283d19a6aec739b8681a3a5a26ef630cec68f004e14f8654221f0528e30927f37339887f

diff --git a/net-p2p/transmission/transmission-2.84-r5.ebuild 
b/net-p2p/transmission/transmission-2.84-r5.ebuild
deleted file mode 100644
index 0844fa8..
--- a/net-p2p/transmission/transmission-2.84-r5.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils fdo-mime gnome2-utils qmake-utils systemd user
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/;
-SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
-
-# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
-# transmission in licenses/ is for mentioning OpenSSL linking exception
-# MIT is in several libtransmission/ headers
-LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
-SLOT=0
-IUSE="ayatana gtk libressl lightweight systemd qt4 qt5 xfs"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
-
-RDEPEND=">=dev-libs/libevent-2.0.10:=
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl )
-   net-libs/libnatpmp:=
-   >=net-libs/miniupnpc-1.7:=
-   >=net-misc/curl-7.16.3:=[ssl]
-   sys-libs/zlib:=
-   gtk? (
-   >=dev-libs/dbus-glib-0.100:=
-   >=dev-libs/glib-2.32:2=
-   >=x11-libs/gtk+-3.4:3=
-   ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
-   )
-   systemd? ( sys-apps/systemd:= )
-   qt4? (
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   )
-   qt5? (
-   dev-qt/qtcore:5
-   dev-qt/qtdbus:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtwidgets:5
-   )"
-DEPEND="${RDEPEND}
-   >=dev-libs/glib-2.32
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/os-headers
-   virtual/pkgconfig
-   qt5? ( dev-qt/linguist-tools:5 )
-   xfs? ( sys-fs/xfsprogs )"
-
-REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
-
-DOCS="AUTHORS NEWS qt/README.txt"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
-   # Trick to avoid automagic dependency
-   use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' 
configure.ac || die; }
-   # Pass our configuration dir to systemd unit file
-   sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' 
daemon/${PN}-daemon.service || die
-   # http://trac.transmissionbt.com/ticket/4324
-   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
lib${PN}/Makefile.am || die
-   # Fix for broken translations path
-   epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch
-   # http://trac.transmissionbt.com/ticket/5700
-   sed -i -e '1iQMAKE_CXXFLAGS += 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/

2016-09-12 Thread Gilles Dartiguelongue
commit: ff7a33262dcb3125a15bd3a3b1cdf7189a552e1a
Author: Gilles Dartiguelongue  gentoo  org>
AuthorDate: Sun Sep 11 22:08:22 2016 +
Commit: Gilles Dartiguelongue  gentoo  org>
CommitDate: Mon Sep 12 21:09:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff7a3326

net-p2p/transmission-remote-gtk: version bump 1.1.1 → 1.3.1, bug #560164

Package-Manager: portage-2.3.0

 net-p2p/transmission-remote-gtk/Manifest   |  1 +
 .../transmission-remote-gtk-1.3.1.ebuild   | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/net-p2p/transmission-remote-gtk/Manifest 
b/net-p2p/transmission-remote-gtk/Manifest
index 9246bb2..25e41a8 100644
--- a/net-p2p/transmission-remote-gtk/Manifest
+++ b/net-p2p/transmission-remote-gtk/Manifest
@@ -1,2 +1,3 @@
 DIST transmission-remote-gtk-1.0.tar.gz 570279 SHA256 
dc171ed67bd7bc2d98b42d04851cefb4174181f779433049a14b107c9a4906ce SHA512 
1e2a511126b478352052bc1821feab534f7b9cf5e7e41e73c493bbe8efa8587da6b35ea30cecced0d0f0d1e25ae1a00590611520b2fb570ab61a0badc538a200
 WHIRLPOOL 
f0e3647fca35e40b347beab5b1328ba5cc51e340753a7e3f43f98335470ce5b562922245baba52390ab1b35f9b42bb5c6126d8fe1f37883d865323ee45db0724
 DIST transmission-remote-gtk-1.1.1.tar.gz 684718 SHA256 
9f5ac2de623d633bcaacb6362bb6d8fb468c6dff278b867f65809c48ea1570c9 SHA512 
184601a51d71d7b967d516cee87bea47f190ad080d110b2a73c82adac03cff49169dd2682b82e0f5c017c050bd9fd54fdfba9cd0de7ca7d9fcd2e8f9abfc0c12
 WHIRLPOOL 
f245e497471b7c39eabae73deea10ccf30470938a52523fad05b1c744eab84a2d4c3e91e72d0c481789262ca38279cfca8f15fff1c7080f25107ee4038dd4a7a
+DIST transmission-remote-gtk-1.3.1.tar.xz 459260 SHA256 
1b29c573b1e205e3e7c2433dc4a48f9574278d97e033845d19bbffa1d7f75345 SHA512 
ce723d51f8f769e59fb539241996ff0204a654f52696963044f8535731cc2b8ec69cf454a15253f9ba214e0879498f3c19519b5b1b303273d667592887ee45f5
 WHIRLPOOL 
7ca78f608809ba74be1040ff73dde5a0bc68cb665fe889ca68e219e04cb17ec40bdd2994999ddc76819e3b5d5f4c9aeb256800268a2d92b56d84d904e8b7bac0

diff --git 
a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild 
b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
new file mode 100644
index ..a6cad3b
--- /dev/null
+++ b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit gnome2
+
+DESCRIPTION="GTK+ client for management of the Transmission BitTorrent client, 
over HTTP RPC"
+HOMEPAGE="https://github.com/transmission-remote-gtk/transmission-remote-gtk;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana debug geoip libnotify libproxy rss"
+
+# RESTRICT="test"
+
+# FIXME: bundles rss-glib-0.2.3
+RDEPEND="
+   >=dev-libs/glib-2.44:2
+   >=dev-libs/json-glib-0.12.6
+   net-misc/curl
+   >=x11-libs/gtk+-3.16:3
+   ayatana? ( dev-libs/libappindicator:3 )
+   geoip? ( dev-libs/geoip )
+   libnotify? ( >=x11-libs/libnotify-0.7 )
+   libproxy? ( net-libs/libproxy )
+   rss? ( >=net-libs/libmrss-0.18 )
+"
+DEPEND="${RDEPEND}
+   dev-libs/appstream-glib
+   >=dev-util/intltool-0.50.1
+   sys-devel/autoconf-archive
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+
+DOCS="AUTHORS ChangeLog README"
+
+src_configure() {
+   # Disable overly strict appdata validation
+   gnome2_src_configure \
+   $(use_enable debug) \
+   --enable-gtk3 \
+   $(use_with geoip libgeoip) \
+   $(use_with libnotify) \
+   $(use_with libproxy) \
+   $(use_with ayatana libappindicator) \
+   $(use_with rss libmrss) \
+   APPSTREAM_UTIL="$(type -P true)"
+}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/

2016-08-07 Thread Pacho Ramos
commit: 3f6957b08c3f46491ef896bffafce9fdeb96e009
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Aug  7 07:36:43 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Aug  7 07:36:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6957b0

net-p2p/transmission-remote-gtk: Cleanup per bug #390203

Package-Manager: portage-2.3.0

 net-p2p/transmission-remote-gtk/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-p2p/transmission-remote-gtk/metadata.xml 
b/net-p2p/transmission-remote-gtk/metadata.xml
index 2b921bf..d3721ee 100644
--- a/net-p2p/transmission-remote-gtk/metadata.xml
+++ b/net-p2p/transmission-remote-gtk/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   jdh...@gentoo.org
-   Jeff Horelick
-   

Use net-libs/libproxy for 
getting the HTTP/HTTPS/SOCKS proxy configuration.



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-08-06 Thread Pacho Ramos
commit: 068d664648a0494d99d7ba4ac8c08586b0739b7f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Aug  6 10:03:54 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Aug  6 10:16:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=068d6646

net-p2p/transmission: Cleanup per bug #131259

Package-Manager: portage-2.3.0

 net-p2p/transmission/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-p2p/transmission/metadata.xml 
b/net-p2p/transmission/metadata.xml
index aa8b895..056a427 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -5,10 +5,6 @@
 flop...@gentoo.org
 Mike Gilbert
   
-  
-ssuomi...@gentoo.org
-Samuli Suominen
-  
   
 Optimize transmission for low-resource systems 
(smaller cache size, prefer unencrypted peer connections, etc.)
 Enable XFS filesystem capabilities by using 
sys-fs/xfsprogs headers (in building of fdlimit(.c))



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/

2016-04-23 Thread Mike Gilbert
commit: 0692b037ffd8d2ac0b202f29dc842141bb7ee83d
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Apr 24 03:20:00 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Apr 24 03:27:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0692b037

net-p2p/transmission: systemd: Move config-dir to a service.d file

Package-Manager: portage-2.2.28_p71

 net-p2p/transmission/files/transmission-daemon.service.conf | 2 ++
 net-p2p/transmission/transmission-2.92.ebuild   | 4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-p2p/transmission/files/transmission-daemon.service.conf 
b/net-p2p/transmission/files/transmission-daemon.service.conf
new file mode 100644
index 000..ae543ca
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-daemon.service.conf
@@ -0,0 +1,2 @@
+[Service]
+Environment=TRANSMISSION_HOME=/var/lib/transmission/config

diff --git a/net-p2p/transmission/transmission-2.92.ebuild 
b/net-p2p/transmission/transmission-2.92.ebuild
index 4ae6553..a1d9b1b 100644
--- a/net-p2p/transmission/transmission-2.92.ebuild
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -66,9 +66,6 @@ src_prepare() {
# Trick to avoid automagic dependency
use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' 
configure.ac || die; }
 
-   # Pass our configuration dir to systemd unit file
-   sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' 
daemon/transmission-daemon.service || die
-
# http://trac.transmissionbt.com/ticket/4324
sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
 
@@ -120,6 +117,7 @@ src_install() {
newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon
newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon
systemd_dounit daemon/transmission-daemon.service
+   systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf
 
if use qt4 || use qt5; then
pushd qt >/dev/null || die



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-04-23 Thread Mike Gilbert
commit: ff7c2b479cd5485f64c70c244ecfcec75e89c036
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Apr 23 18:05:37 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Apr 23 18:06:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff7c2b47

net-p2p/transmission: Create /var/lib/transmission in postinst

The openrc init script normally creates this, but this does not work for
systemd users.

Bug: https://bugs.gentoo.org/580932

Package-Manager: portage-2.2.28_p70

 net-p2p/transmission/transmission-2.92.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.92.ebuild 
b/net-p2p/transmission/transmission-2.92.ebuild
index 7a402d1..4ae6553 100644
--- a/net-p2p/transmission/transmission-2.92.ebuild
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -149,7 +149,12 @@ pkg_postinst() {
gnome2_icon_cache_update
 
enewgroup transmission
-   enewuser transmission -1 -1 -1 transmission
+   enewuser transmission -1 -1 /var/lib/transmission transmission
+
+   if [[ ! -e "${ROOT%/}"/var/lib/transmission ]]; then
+   mkdir -p "${ROOT%/}"/var/lib/transmission
+   chown transmission:transmission "${ROOT%/}"/var/lib/transmission
+   fi
 
elog "If you use transmission-daemon, please, set 'rpc-username' and"
elog "'rpc-password' (in plain text, transmission-daemon will hash it 
on"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/

2016-04-03 Thread Mike Gilbert
commit: 42448bd7cfc0c82caf3c1d43d77721edde17fadd
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Apr  3 16:45:45 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Apr  3 16:45:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42448bd7

net-p2p/transmission: Remove default TRANSMISSION_OPTIONS setting

Bug: https://bugs.gentoo.org/578920

 net-p2p/transmission/files/transmission-daemon.confd.4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-p2p/transmission/files/transmission-daemon.confd.4 
b/net-p2p/transmission/files/transmission-daemon.confd.4
index 8f3b131..64ecd80 100644
--- a/net-p2p/transmission/files/transmission-daemon.confd.4
+++ b/net-p2p/transmission/files/transmission-daemon.confd.4
@@ -3,7 +3,8 @@
 # better to configure some settings (like username/password) in
 # /var/lib/transmission/config/settings.json to avoid other users see it with 
`ps`
 
-TRANSMISSION_OPTIONS="--encryption-preferred"
+# Parameters to pass to transmission-daemon
+# TRANSMISSION_OPTIONS=""
 
 # Run daemon as another user (username or username:groupname)
 # If you change this setting, chown -R /var/lib/transmission/config 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-03-26 Thread Mike Gilbert
commit: c13b5e88c6e9c7bd2698d844cb5ed127ed809f7e
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Mar 27 01:32:28 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Mar 27 01:32:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13b5e88

net-p2p/transmission: Fix m4 error when running aclocal

Package-Manager: portage-2.2.28_p64

 net-p2p/transmission/transmission-2.92.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-p2p/transmission/transmission-2.92.ebuild 
b/net-p2p/transmission/transmission-2.92.ebuild
index 52188f5..7a402d1 100644
--- a/net-p2p/transmission/transmission-2.92.ebuild
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -72,6 +72,10 @@ src_prepare() {
# http://trac.transmissionbt.com/ticket/4324
sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
 
+   # Prevent m4_copy error when running aclocal
+   # m4_copy: won't overwrite defined macro: glib_DEFUN
+   rm m4/glib-gettext.m4 || die
+
default
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/

2016-03-19 Thread Mike Gilbert
commit: 5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Mar 16 17:03:24 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Mar 16 17:05:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d45c759

net-p2p/transmission: Fix building against recent libsystemd

Package-Manager: portage-2.2.28_p60

 net-p2p/transmission/files/libsystemd.patch   | 11 +++
 net-p2p/transmission/transmission-2.92.ebuild |  8 ++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/net-p2p/transmission/files/libsystemd.patch 
b/net-p2p/transmission/files/libsystemd.patch
new file mode 100644
index 000..5db47ef
--- /dev/null
+++ b/net-p2p/transmission/files/libsystemd.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
 b/configure.ac
+@@ -245,7 +245,7 @@
+ [Add support for systemd startup notification (default is 
autodetected)]),
+ [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])
+ AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [
+-PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
++PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
+ [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],
+ [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],
+ [AC_MSG_ERROR([systemd startup notification support requested, 
but libsystemd-daemon not found.])]

diff --git a/net-p2p/transmission/transmission-2.92.ebuild 
b/net-p2p/transmission/transmission-2.92.ebuild
index 96c12ef..68a80b3 100644
--- a/net-p2p/transmission/transmission-2.92.ebuild
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -30,7 +30,7 @@ RDEPEND=">=dev-libs/libevent-2.0.10:=
>=x11-libs/gtk+-3.4:3=
ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
)
-   systemd? ( sys-apps/systemd:= )
+   systemd? ( >=sys-apps/systemd-209:= )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
@@ -56,6 +56,10 @@ REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
 
 DOCS="AUTHORS NEWS qt/README.txt"
 
+PATCHES=(
+   "${FILESDIR}"/libsystemd.patch
+)
+
 src_prepare() {
sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
 
@@ -68,7 +72,7 @@ src_prepare() {
# http://trac.transmissionbt.com/ticket/4324
sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
 
-   eapply_user
+   default
eautoreconf
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-03-18 Thread Mike Gilbert
commit: 26dbb391ffeb2b178fc84d204d7aceef7f5c6390
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Mar 16 23:51:29 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Mar 16 23:51:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26dbb391

net-p2p/transmission: Fix build with xfsprogs-4.5.0

Bug: https://bugs.gentoo.org/577528

Package-Manager: portage-2.2.28_p60

 net-p2p/transmission/transmission-2.92.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.92.ebuild 
b/net-p2p/transmission/transmission-2.92.ebuild
index 68a80b3..52188f5 100644
--- a/net-p2p/transmission/transmission-2.92.ebuild
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-inherit autotools fdo-mime gnome2-utils qmake-utils systemd user
+inherit autotools fdo-mime flag-o-matic gnome2-utils qmake-utils systemd user
 
 DESCRIPTION="A Fast, Easy and Free BitTorrent client"
 HOMEPAGE="http://www.transmissionbt.com/;
@@ -79,6 +79,9 @@ src_prepare() {
 src_configure() {
export ac_cv_header_xfs_xfs_h=$(usex xfs)
 
+   # https://bugs.gentoo.org/577528
+   append-cppflags -D_LARGEFILE64_SOURCE=1
+
econf \
--enable-external-natpmp \
$(use_enable lightweight) \



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-03-07 Thread Mike Gilbert
commit: 214337f35ceeab35786f9faa13ae6c3d56caaeab
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Mar  8 02:18:23 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Mar  8 02:18:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214337f3

net-p2p/transmission: Bump to 2.92

Package-Manager: portage-2.2.27_p81

 net-p2p/transmission/Manifest |   1 +
 net-p2p/transmission/transmission-2.92.ebuild | 158 ++
 2 files changed, 159 insertions(+)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 13521d0..a367870 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,2 +1,3 @@
 DIST transmission-2.84.tar.xz 3077836 SHA256 
a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 
d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121cee87f5792cc6c29a3d
 WHIRLPOOL 
375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
 DIST transmission-2.90.tar.xz 3377720 SHA256 
69ff8caf81684155926f437f46bf7df1b1fb304f52c7809f546257e8923f2fd2 SHA512 
09c8e90cb1c7b508e3956d294ba9b5f01b4093c9f934c76d7515e96915c657b97f02819e1365dbbfecbdf489ae5757346d8bb2dd8e0070c304af434006495fda
 WHIRLPOOL 
a51a86603ddf208c73b6e86a05eda2d90636407c7c716fb959fa460a72908aafe2d82f46c1fe3d7afda52ba845d73924d0f26f107a2446644809f7cfd5985275
+DIST transmission-2.92.tar.xz 3378116 SHA256 
3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 WHIRLPOOL 
a2eab113fd895001cf72cd79c4ac9a4767eb9fb756a3fb9b1d0db6aa283d19a6aec739b8681a3a5a26ef630cec68f004e14f8654221f0528e30927f37339887f

diff --git a/net-p2p/transmission/transmission-2.92.ebuild 
b/net-p2p/transmission/transmission-2.92.ebuild
new file mode 100644
index 000..96c12ef
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools fdo-mime gnome2-utils qmake-utils systemd user
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/;
+SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt4 qt5 xfs"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl )
+   net-libs/libnatpmp:=
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3:=[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100:=
+   >=dev-libs/glib-2.32:2=
+   >=x11-libs/gtk+-3.4:3=
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   qt4? (
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   )"
+DEPEND="${RDEPEND}
+   >=dev-libs/glib-2.32
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/os-headers
+   virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
+   xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
+
+DOCS="AUTHORS NEWS qt/README.txt"
+
+src_prepare() {
+   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+   # Trick to avoid automagic dependency
+   use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' 
configure.ac || die; }
+
+   # Pass our configuration dir to systemd unit file
+   sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' 
daemon/transmission-daemon.service || die
+
+   # http://trac.transmissionbt.com/ticket/4324
+   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
+
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+   econf \
+   --enable-external-natpmp \
+   $(use_enable lightweight) \
+   $(use_with systemd systemd-daemon) \
+   $(use_with gtk)
+
+   if use qt4 || use qt5; then
+   pushd qt 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/

2016-03-06 Thread Mike Gilbert
commit: dc07b1d0d385c21c2d8ea848e563b3c4a6c2ef7b
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Mar  6 22:11:07 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Mar  6 22:14:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc07b1d0

net-p2p/transmission: Don't clobber download directory setting

Bug: https://bugs.gentoo.org/576640

Package-Manager: portage-2.2.27_p64

 .../files/transmission-daemon.initd.10 | 23 ++
 ...ion-2.90.ebuild => transmission-2.90-r1.ebuild} |  0
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/net-p2p/transmission/files/transmission-daemon.initd.10 
b/net-p2p/transmission/files/transmission-daemon.initd.10
index 7acb222..e1a7150 100644
--- a/net-p2p/transmission/files/transmission-daemon.initd.10
+++ b/net-p2p/transmission/files/transmission-daemon.initd.10
@@ -20,20 +20,27 @@ runas_user=${runas_user:-transmission:transmission}
 retry="TERM/45/QUIT/15"
 
 start_pre() {
-   command_args="
-   --config-dir ${config_dir}
-   --download-dir ${download_dir}
-   --pid-file ${pidfile}
-   ${TRANSMISSION_OPTIONS}
-   "
+   command_args="--config-dir ${config_dir} --pid-file ${pidfile}"
command_user="${runas_user}"
 
-   checkpath -d -o ${runas_user} "${rundir}" /var/lib/transmission 
"${config_dir}" "${download_dir}" || return
+   # Call mkdir -p in case parent dirs are missing
+   mkdir -p "${rundir}" "${config_dir}" "${download_dir}"
+
+   # Call checkpath to fixup permissions
+   checkpath -d -o "${runas_user}" "${rundir}" "${config_dir}" 
"${download_dir}" || return
+
+   if [ ! -e "${config_dir}/settings.json" ]; then
+   # Only set download dir if settings don't exist
+   # https://bugs.gentoo.org/576640
+   command_args="${command_args} --download-dir ${download_dir}"
+   fi
 
if [ "${logfile}" != syslog ]; then
-   checkpath -d -o ${runas_user} /var/log/transmission || return
+   checkpath -d -o "${runas_user}" /var/log/transmission || return
command_args="${command_args} --logfile ${logfile}"
fi
+
+   command_args="${command_args} ${TRANSMISSION_OPTIONS}"
 }
 
 reload() {

diff --git a/net-p2p/transmission/transmission-2.90.ebuild 
b/net-p2p/transmission/transmission-2.90-r1.ebuild
similarity index 100%
rename from net-p2p/transmission/transmission-2.90.ebuild
rename to net-p2p/transmission/transmission-2.90-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/

2016-03-03 Thread Mike Gilbert
commit: 803531857196864988838036e52f5b255e855c42
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Mar  4 02:41:17 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Mar  4 02:41:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80353185

net-p2p/transmission: Bump to 2.90

Also modernize the init script.

Package-Manager: portage-2.2.27_p64

 net-p2p/transmission/Manifest  |   1 +
 .../files/transmission-daemon.initd.10 |  43 ++
 net-p2p/transmission/transmission-2.90.ebuild  | 158 +
 3 files changed, 202 insertions(+)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 7de950d..13521d0 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1 +1,2 @@
 DIST transmission-2.84.tar.xz 3077836 SHA256 
a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 
d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121cee87f5792cc6c29a3d
 WHIRLPOOL 
375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
+DIST transmission-2.90.tar.xz 3377720 SHA256 
69ff8caf81684155926f437f46bf7df1b1fb304f52c7809f546257e8923f2fd2 SHA512 
09c8e90cb1c7b508e3956d294ba9b5f01b4093c9f934c76d7515e96915c657b97f02819e1365dbbfecbdf489ae5757346d8bb2dd8e0070c304af434006495fda
 WHIRLPOOL 
a51a86603ddf208c73b6e86a05eda2d90636407c7c716fb959fa460a72908aafe2d82f46c1fe3d7afda52ba845d73924d0f26f107a2446644809f7cfd5985275

diff --git a/net-p2p/transmission/files/transmission-daemon.initd.10 
b/net-p2p/transmission/files/transmission-daemon.initd.10
new file mode 100644
index 000..7acb222
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-daemon.initd.10
@@ -0,0 +1,43 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+command="/usr/bin/transmission-daemon"
+extra_started_commands="reload"
+description="Transmission is a fast, easy and free bittorrent client"
+description_start="Start transmission-daemon server and web interface"
+description_stop="Stop transmission-daemon server and web interface"
+description_reload="Reload transmission-daemon settings"
+
+rundir=${rundir:-/var/run/transmission}
+pidfile=${pidfile:-${rundir}/transmission.pid}
+config_dir=${config_dir:-/var/lib/transmission/config}
+download_dir=${download_dir:-/var/lib/transmission/downloads}
+logfile=${logfile:-/var/log/transmission/transmission.log}
+runas_user=${runas_user:-transmission:transmission}
+
+retry="TERM/45/QUIT/15"
+
+start_pre() {
+   command_args="
+   --config-dir ${config_dir}
+   --download-dir ${download_dir}
+   --pid-file ${pidfile}
+   ${TRANSMISSION_OPTIONS}
+   "
+   command_user="${runas_user}"
+
+   checkpath -d -o ${runas_user} "${rundir}" /var/lib/transmission 
"${config_dir}" "${download_dir}" || return
+
+   if [ "${logfile}" != syslog ]; then
+   checkpath -d -o ${runas_user} /var/log/transmission || return
+   command_args="${command_args} --logfile ${logfile}"
+   fi
+}
+
+reload() {
+   ebegin "Reloading ${RC_SVCNAME}"
+   start-stop-daemon --signal HUP --exec "${command}" --pidfile 
"${pidfile}"
+   eend $?
+}

diff --git a/net-p2p/transmission/transmission-2.90.ebuild 
b/net-p2p/transmission/transmission-2.90.ebuild
new file mode 100644
index 000..96c12ef
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.90.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools fdo-mime gnome2-utils qmake-utils systemd user
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/;
+SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt4 qt5 xfs"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl )
+   net-libs/libnatpmp:=
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3:=[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100:=
+   >=dev-libs/glib-2.32:2=
+   >=x11-libs/gtk+-3.4:3=
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   qt4? (
+  

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-cli/

2016-01-08 Thread Michael Weber
commit: 0ea8ec523b3091c195deb0f4db23a8786c9f3827
Author: Michael Weber  gentoo  org>
AuthorDate: Fri Jan  8 10:14:04 2016 +
Commit: Michael Weber  gentoo  org>
CommitDate: Fri Jan  8 10:27:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea8ec52

net-p2p/transmission-remote-cli: Drop old.

Package-Manager: portage-2.2.26

 net-p2p/transmission-remote-cli/Manifest   |  1 -
 .../transmission-remote-cli-1.6.3.ebuild   | 32 --
 2 files changed, 33 deletions(-)

diff --git a/net-p2p/transmission-remote-cli/Manifest 
b/net-p2p/transmission-remote-cli/Manifest
index 121fde2..38fb9ce 100644
--- a/net-p2p/transmission-remote-cli/Manifest
+++ b/net-p2p/transmission-remote-cli/Manifest
@@ -1,3 +1,2 @@
-DIST transmission-remote-cli-1.6.3.tar.gz 255899 SHA256 
d24dbba397ffdfb3d2d1469644dc0cb2a5324f0bbfca8de577f76445ace9a283 SHA512 
8d0b9ba7321dbcfdae358495ab819fd499845949e1ad1c03e2b3a5468d3c4b0a344a4c57de37b28b10bbf5750846c2729cbf27e9184b644139fa907d4fc4ac78
 WHIRLPOOL 
e878cc61891fd240d84f513f9ce3d2147352a70e1e8fb3d0788f8efb4e4db268679e7329bf896c841e4b49b8c5e045346538a60ac3c5b045a62836a7d05abe23
 DIST transmission-remote-cli-1.7.0.tar.gz 256311 SHA256 
d20ba26cd05bd5a5d55a5990b861bf9cd4286a54f720d22041838a51cf60db62 SHA512 
86776384ac8618ccd58d3345b1a98e55ef5f0c6911fde61f6f54d9da15b1d8a244391bda4c7713e9b312132db30d732b444bebe9a753d0298e8838f779f149be
 WHIRLPOOL 
abc5daffe784df1b68d423400c2d0e94efa3e995fb1f8f53e8c571aea794d37cf714487b5b63a7a77e767b0d4668d376f675d9bbb0009b7b317b5ab058efb0a4
 DIST transmission-remote-cli-1.7.1.tar.gz 257981 SHA256 
e9135a440d48761f00e990cd0b6eb4c378b82041c479f4624f5c1a27d99d10f8 SHA512 
b1b31c36365a0f7733912f3a2c01e6e9f20430f29b618c7e526a214632a29d2bc76702f0c31910fdc495a7eaf37bf74e7433c552fc922c440c0874422208bae9
 WHIRLPOOL 
3aac4d7986a581afcbe904589c825600b5540525dd0598bc2c7b1e92f2fc0c7d4f6e9c93cd8b14f75b1a471f9d77f53ad7e680059459d797558deddc698fb1b5

diff --git 
a/net-p2p/transmission-remote-cli/transmission-remote-cli-1.6.3.ebuild 
b/net-p2p/transmission-remote-cli/transmission-remote-cli-1.6.3.ebuild
deleted file mode 100644
index a42b4be..000
--- a/net-p2p/transmission-remote-cli/transmission-remote-cli-1.6.3.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ncurses"
-inherit bash-completion-r1 python-r1
-
-DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
-HOMEPAGE="https://github.com/fagga/transmission-remote-cli/;
-SRC_URI="https://github.com/fagga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="geoip"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-   geoip? ( dev-python/geoip-python[$PYTHON_USEDEP] )
-"
-
-src_install() {
-   python_foreach_impl python_doscript transmission-remote-cli
-   newbashcomp completion/bash/transmission-remote-cli-bash-completion.sh \
-   transmission-remote-cli
-   doman transmission-remote-cli.1
-   dodoc NEWS README.md
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-cli/

2016-01-08 Thread Michael Weber
commit: 8a5a36d7032ae8afde0016c9bda9d199a7be38ad
Author: Michael Weber  gentoo  org>
AuthorDate: Fri Jan  8 10:11:35 2016 +
Commit: Michael Weber  gentoo  org>
CommitDate: Fri Jan  8 10:26:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5a36d7

net-p2p/transmission-remote-cli: Version bump by lorem_ipsum.

Package-Manager: portage-2.2.26

 net-p2p/transmission-remote-cli/Manifest   |  1 +
 .../transmission-remote-cli-1.7.1.ebuild   | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/net-p2p/transmission-remote-cli/Manifest 
b/net-p2p/transmission-remote-cli/Manifest
index 5319830..121fde2 100644
--- a/net-p2p/transmission-remote-cli/Manifest
+++ b/net-p2p/transmission-remote-cli/Manifest
@@ -1,2 +1,3 @@
 DIST transmission-remote-cli-1.6.3.tar.gz 255899 SHA256 
d24dbba397ffdfb3d2d1469644dc0cb2a5324f0bbfca8de577f76445ace9a283 SHA512 
8d0b9ba7321dbcfdae358495ab819fd499845949e1ad1c03e2b3a5468d3c4b0a344a4c57de37b28b10bbf5750846c2729cbf27e9184b644139fa907d4fc4ac78
 WHIRLPOOL 
e878cc61891fd240d84f513f9ce3d2147352a70e1e8fb3d0788f8efb4e4db268679e7329bf896c841e4b49b8c5e045346538a60ac3c5b045a62836a7d05abe23
 DIST transmission-remote-cli-1.7.0.tar.gz 256311 SHA256 
d20ba26cd05bd5a5d55a5990b861bf9cd4286a54f720d22041838a51cf60db62 SHA512 
86776384ac8618ccd58d3345b1a98e55ef5f0c6911fde61f6f54d9da15b1d8a244391bda4c7713e9b312132db30d732b444bebe9a753d0298e8838f779f149be
 WHIRLPOOL 
abc5daffe784df1b68d423400c2d0e94efa3e995fb1f8f53e8c571aea794d37cf714487b5b63a7a77e767b0d4668d376f675d9bbb0009b7b317b5ab058efb0a4
+DIST transmission-remote-cli-1.7.1.tar.gz 257981 SHA256 
e9135a440d48761f00e990cd0b6eb4c378b82041c479f4624f5c1a27d99d10f8 SHA512 
b1b31c36365a0f7733912f3a2c01e6e9f20430f29b618c7e526a214632a29d2bc76702f0c31910fdc495a7eaf37bf74e7433c552fc922c440c0874422208bae9
 WHIRLPOOL 
3aac4d7986a581afcbe904589c825600b5540525dd0598bc2c7b1e92f2fc0c7d4f6e9c93cd8b14f75b1a471f9d77f53ad7e680059459d797558deddc698fb1b5

diff --git 
a/net-p2p/transmission-remote-cli/transmission-remote-cli-1.7.1.ebuild 
b/net-p2p/transmission-remote-cli/transmission-remote-cli-1.7.1.ebuild
new file mode 100644
index 000..c8e9184
--- /dev/null
+++ b/net-p2p/transmission-remote-cli/transmission-remote-cli-1.7.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="ncurses"
+inherit bash-completion-r1 python-r1
+
+DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
+HOMEPAGE="https://github.com/fagga/transmission-remote-cli/;
+SRC_URI="https://github.com/fagga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="geoip"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   geoip? ( dev-python/geoip-python[$PYTHON_USEDEP] )
+"
+
+src_install() {
+   python_foreach_impl python_doscript transmission-remote-cli
+   newbashcomp completion/bash/transmission-remote-cli-bash-completion.sh \
+   transmission-remote-cli
+   insinto /usr/share/zsh/site-functions
+   doins completion/zsh/_transmission-remote-cli
+   doman transmission-remote-cli.1
+   dodoc NEWS README.md
+}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-12-31 Thread Anthony G. Basile
commit: 45ba77ab1dee61a2590c9f4903e620c5cf4d5f68
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Dec 31 20:07:33 2015 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Dec 31 20:07:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ba77ab

net-p2p/transmission: add libressl support, bug #567352

Package-Manager: portage-2.2.24

 net-p2p/transmission/transmission-2.84-r5.ebuild | 168 +++
 1 file changed, 168 insertions(+)

diff --git a/net-p2p/transmission/transmission-2.84-r5.ebuild 
b/net-p2p/transmission/transmission-2.84-r5.ebuild
new file mode 100644
index 000..0844fa8
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.84-r5.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils fdo-mime gnome2-utils qmake-utils systemd user
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/;
+SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt4 qt5 xfs"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl )
+   net-libs/libnatpmp:=
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3:=[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100:=
+   >=dev-libs/glib-2.32:2=
+   >=x11-libs/gtk+-3.4:3=
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   qt4? (
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   )"
+DEPEND="${RDEPEND}
+   >=dev-libs/glib-2.32
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/os-headers
+   virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
+   xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
+
+DOCS="AUTHORS NEWS qt/README.txt"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+   # Trick to avoid automagic dependency
+   use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' 
configure.ac || die; }
+   # Pass our configuration dir to systemd unit file
+   sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' 
daemon/${PN}-daemon.service || die
+   # http://trac.transmissionbt.com/ticket/4324
+   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
lib${PN}/Makefile.am || die
+   # Fix for broken translations path
+   epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch
+   # http://trac.transmissionbt.com/ticket/5700
+   sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die
+
+   epatch "${FILESDIR}/2.84-miniupnp14.patch"
+   epatch "${FILESDIR}/2.84-libevent-2.1.5.patch"
+   epatch "${FILESDIR}/2.84-node_alloc-segfault.patch"
+
+   epatch_user
+   eautoreconf
+}
+
+src_configure() {
+   export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+   econf \
+   --enable-external-natpmp \
+   $(use_enable lightweight) \
+   $(use_with systemd systemd-daemon) \
+   $(use_with gtk)
+
+   if use qt4 || use qt5; then
+   pushd qt >/dev/null || die
+   use qt4 && eqmake4 qtr.pro
+   use qt5 && eqmake5 qtr.pro
+   popd >/dev/null || die
+   fi
+}
+
+src_compile() {
+   emake
+
+   if use qt4 || use qt5; then
+   local qt_bindir
+   use qt4 && qt_bindir=$(qt4_get_bindir)
+   use qt5 && qt_bindir=$(qt5_get_bindir)
+   emake -C qt
+   "${qt_bindir}"/lrelease qt/translations/*.ts || die
+   fi
+}
+
+src_install() {
+   default
+
+   rm -f "${ED}"/usr/share/${PN}/web/LICENSE
+
+   newinitd "${FILESDIR}"/${PN}-daemon.initd.9 ${PN}-daemon
+   newconfd "${FILESDIR}"/${PN}-daemon.confd.4 ${PN}-daemon
+   systemd_dounit daemon/${PN}-daemon.service
+
+   keepdir /var/{lib/${PN}/{config,downloads},log/${PN}}
+   fowners -R ${PN}:${PN} /var/{lib/${PN}/{,config,downloads},log/${PN}}
+
+   if use qt4 || 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-12-03 Thread Mike Gilbert
commit: 438b855e0d321d43dea240639c4c3c449cd3520f
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Dec  3 17:42:01 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Dec  3 17:42:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438b855e

net-p2p/transmission: Remove old

Package-Manager: portage-2.2.26_p10

 net-p2p/transmission/transmission-2.84-r1.ebuild | 163 ---
 net-p2p/transmission/transmission-2.84.ebuild| 154 -
 2 files changed, 317 deletions(-)

diff --git a/net-p2p/transmission/transmission-2.84-r1.ebuild 
b/net-p2p/transmission/transmission-2.84-r1.ebuild
deleted file mode 100644
index 97a3a72..000
--- a/net-p2p/transmission/transmission-2.84-r1.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils fdo-mime gnome2-utils qmake-utils systemd user
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/;
-SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
-
-# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
-# transmission in licenses/ is for mentioning OpenSSL linking exception
-# MIT is in several libtransmission/ headers
-LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
-SLOT=0
-IUSE="ayatana gtk lightweight systemd qt4 qt5 xfs"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
-
-RDEPEND=">=dev-libs/libevent-2.0.10:=
-   dev-libs/openssl:0=
-   net-libs/libnatpmp:=
-   >=net-libs/miniupnpc-1.7:=
-   >=net-misc/curl-7.16.3:=[ssl]
-   sys-libs/zlib:=
-   gtk? (
-   >=dev-libs/dbus-glib-0.100:=
-   >=dev-libs/glib-2.32:2=
-   >=x11-libs/gtk+-3.4:3=
-   ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
-   )
-   systemd? ( sys-apps/systemd:= )
-   qt4? (
-   dev-qt/qtcore:4=
-   dev-qt/qtgui:4=
-   dev-qt/qtdbus:4=
-   )
-   qt5? (
-   dev-qt/qtcore:5=
-   dev-qt/qtdbus:5=
-   dev-qt/qtgui:5=
-   dev-qt/qtnetwork:5=
-   dev-qt/qtwidgets:5=
-   )"
-DEPEND="${RDEPEND}
-   >=dev-libs/glib-2.32
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/os-headers
-   virtual/pkgconfig
-   xfs? ( sys-fs/xfsprogs )"
-
-REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
-
-DOCS="AUTHORS NEWS qt/README.txt"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
-   # Trick to avoid automagic dependency
-   use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' 
configure.ac || die; }
-   # Pass our configuration dir to systemd unit file
-   sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' 
daemon/${PN}-daemon.service || die
-   # http://trac.transmissionbt.com/ticket/4324
-   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
lib${PN}/Makefile.am || die
-   # Fix for broken translations path
-   epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch
-   # http://trac.transmissionbt.com/ticket/5700
-   sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die
-
-   epatch "${FILESDIR}/2.84-miniupnp14.patch"
-
-   epatch_user
-   eautoreconf
-}
-
-src_configure() {
-   export ac_cv_header_xfs_xfs_h=$(usex xfs)
-
-   econf \
-   --enable-external-natpmp \
-   $(use_enable lightweight) \
-   $(use_with systemd systemd-daemon) \
-   $(use_with gtk)
-
-   if use qt4 || use qt5; then
-   pushd qt >/dev/null || die
-   use qt4 && eqmake4 qtr.pro
-   use qt5 && eqmake5 qtr.pro
-   popd >/dev/null || die
-   fi
-}
-
-src_compile() {
-   emake
-
-   if use qt4 || use qt5; then
-   use qt4 && local -x QT_SELECT=4
-   use qt5 && local -x QT_SELECT=5
-   emake -C qt
-   lrelease qt/translations/*.ts || die
-   fi
-}
-
-src_install() {
-   default
-
-   rm -f "${ED}"/usr/share/${PN}/web/LICENSE
-
-   newinitd "${FILESDIR}"/${PN}-daemon.initd.9 ${PN}-daemon
-   newconfd "${FILESDIR}"/${PN}-daemon.confd.4 ${PN}-daemon
-   systemd_dounit daemon/${PN}-daemon.service
-
-   keepdir /var/{lib/${PN}/{config,downloads},log/${PN}}
-   fowners -R ${PN}:${PN} /var/{lib/${PN}/{,config,downloads},log/${PN}}
-
-   if use qt4 || use qt5; then
-   pushd qt >/dev/null || die
-   emake INSTALL_ROOT="${ED}"/usr install
-
-   domenu ${PN}-qt.desktop
-
-   local res
-   for res in 16 22 24 32 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-12-03 Thread Mike Gilbert
commit: acc67f4952404f0aa0439e00edfd447f350860d3
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Dec  3 17:41:32 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Dec  3 17:41:32 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc67f49

net-p2p/transmission: Remove slot-operator from Qt deps

Bug: https://bugs.gentoo.org/554248

Package-Manager: portage-2.2.26_p10

 ...ission-2.84-r3.ebuild => transmission-2.84-r4.ebuild} | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-p2p/transmission/transmission-2.84-r3.ebuild 
b/net-p2p/transmission/transmission-2.84-r4.ebuild
similarity index 96%
rename from net-p2p/transmission/transmission-2.84-r3.ebuild
rename to net-p2p/transmission/transmission-2.84-r4.ebuild
index acedbf3..504457b 100644
--- a/net-p2p/transmission/transmission-2.84-r3.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r4.ebuild
@@ -31,16 +31,16 @@ RDEPEND=">=dev-libs/libevent-2.0.10:=
)
systemd? ( sys-apps/systemd:= )
qt4? (
-   dev-qt/qtcore:4=
-   dev-qt/qtgui:4=
-   dev-qt/qtdbus:4=
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
)
qt5? (
-   dev-qt/qtcore:5=
-   dev-qt/qtdbus:5=
-   dev-qt/qtgui:5=
-   dev-qt/qtnetwork:5=
-   dev-qt/qtwidgets:5=
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
)"
 DEPEND="${RDEPEND}
>=dev-libs/glib-2.32



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-11-12 Thread Agostino Sarubbo
commit: 9ffe48478b0e22be696b7b8ba2cc0b8c7abaccff
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov 12 10:35:51 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov 12 10:35:51 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ffe4847

net-p2p/transmission: ppc stable wrt bug #562240

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 net-p2p/transmission/transmission-2.84-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.84-r3.ebuild 
b/net-p2p/transmission/transmission-2.84-r3.ebuild
index 3834c7c..acedbf3 100644
--- a/net-p2p/transmission/transmission-2.84-r3.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk lightweight systemd qt4 qt5 xfs"
-KEYWORDS="amd64 ~arm ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
dev-libs/openssl:0=



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-10-22 Thread Mike Gilbert
commit: 140e8d39442dd6cd411f2ec75265d73feae1ba73
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Oct 22 17:39:27 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Oct 22 17:39:40 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140e8d39

net-p2p/transmission: Refer to lrelease by absolute path

Bug: https://bugs.gentoo.org/563500

Package-Manager: portage-2.2.23_p4

 net-p2p/transmission/transmission-2.84-r3.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-p2p/transmission/transmission-2.84-r3.ebuild 
b/net-p2p/transmission/transmission-2.84-r3.ebuild
index 4c99f38..3834c7c 100644
--- a/net-p2p/transmission/transmission-2.84-r3.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r3.ebuild
@@ -102,10 +102,11 @@ src_compile() {
emake
 
if use qt4 || use qt5; then
-   use qt4 && local -x QT_SELECT=4
-   use qt5 && local -x QT_SELECT=5
+   local qt_bindir
+   use qt4 && qt_bindir=$(qt4_get_bindir)
+   use qt5 && qt_bindir=$(qt5_get_bindir)
emake -C qt
-   lrelease qt/translations/*.ts || die
+   "${qt_bindir}"/lrelease qt/translations/*.ts || die
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-10-18 Thread Mikle Kolyada
commit: 5e31e773ceee0bfbbd4dc26a35034ba534bac5a5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 18 18:04:01 2015 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 18 18:04:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e31e773

net-p2p/transmission: amd64/x86 stable wrt bug #562240

Package-Manager: portage-2.2.20.1

 net-p2p/transmission/transmission-2.84-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.84-r3.ebuild 
b/net-p2p/transmission/transmission-2.84-r3.ebuild
index 53430d5..4c99f38 100644
--- a/net-p2p/transmission/transmission-2.84-r3.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk lightweight systemd qt4 qt5 xfs"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
dev-libs/openssl:0=



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-10-09 Thread Jeroen Roovers
commit: 45e8bc2fbfb8737e5c44ea699d92ae386214f5e1
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Oct  9 05:58:25 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Oct  9 05:58:25 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e8bc2f

net-p2p/transmission: Stable for PPC64 (bug #562240).

Package-Manager: portage-2.2.22
RepoMan-Options: --ignore-arches

 net-p2p/transmission/transmission-2.84-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/transmission/transmission-2.84-r3.ebuild 
b/net-p2p/transmission/transmission-2.84-r3.ebuild
index d605c80..53430d5 100644
--- a/net-p2p/transmission/transmission-2.84-r3.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz;
 LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
 SLOT=0
 IUSE="ayatana gtk lightweight systemd qt4 qt5 xfs"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ppc64 ~x86 ~x86-fbsd ~amd64-linux"
 
 RDEPEND=">=dev-libs/libevent-2.0.10:=
dev-libs/openssl:0=



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-10-04 Thread Mike Gilbert
commit: 80e8c7efffb611975c76ab1877235b071cfedf39
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Oct  4 16:00:16 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Oct  4 16:00:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e8c7ef

net-p2p/transmission: Add myself as a maintainer

Package-Manager: portage-2.2.22_p7

 net-p2p/transmission/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-p2p/transmission/metadata.xml 
b/net-p2p/transmission/metadata.xml
index 6bccb48..5d6d934 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -3,6 +3,10 @@
 
   net-p2p
   
+flop...@gentoo.org
+Mike Gilbert
+  
+  
 ssuomi...@gentoo.org
 Samuli Suominen
   



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/

2015-10-04 Thread Mike Gilbert
commit: 92028dec3c192e6d8693d0d2b73b3ef3e7dfe522
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Oct  4 15:50:38 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Oct  4 15:50:38 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92028dec

net-p2p/transmission: Use upstream patch for miniupnpc 14

Package-Manager: portage-2.2.22_p5

 net-p2p/transmission/files/2.84-miniupnp14.patch | 21 -
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/net-p2p/transmission/files/2.84-miniupnp14.patch 
b/net-p2p/transmission/files/2.84-miniupnp14.patch
index 7e531cc..cdf64e1 100644
--- a/net-p2p/transmission/files/2.84-miniupnp14.patch
+++ b/net-p2p/transmission/files/2.84-miniupnp14.patch
@@ -1,23 +1,18 @@
-libtransmission: Build fix for miniupnp API version 14
+https://bugs.gentoo.org/562020
 
-Patch by Sander Sweers 
-
-Bug: https://bugs.gentoo.org/562020
 Index: libtransmission/upnp.c
 ===
 --- libtransmission/upnp.c (revision 14564)
-+++ libtransmission/upnp.c (working copy)
-@@ -86,8 +86,12 @@
-   struct UPNPDev * ret;
-   bool have_err;
 libtransmission/upnp.c (revision 14565)
+@@ -88,7 +88,11 @@
  
--#if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */
-+#if (MINIUPNPC_API_VERSION >= 14) /* adds ttl */
+ #if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */
int err = UPNPDISCOVER_SUCCESS;
++ #if (MINIUPNPC_API_VERSION >= 14) /* adds ttl */
 +  ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, );
-+  have_err = err != UPNPDISCOVER_SUCCESS;
-+#elif (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */
-+  int err = UPNPDISCOVER_SUCCESS;
++ #else
ret = upnpDiscover (msec, NULL, NULL, 0, 0, );
++ #endif
have_err = err != UPNPDISCOVER_SUCCESS;
  #else
+   ret = upnpDiscover (msec, NULL, NULL, 0);



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2015-10-03 Thread Mike Gilbert
commit: 329a13f9348a8a5650ecf3c89c3424e2c61a23e2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Oct  3 19:02:03 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Oct  3 19:02:03 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=329a13f9

net-p2p/transmission: Depend on dev-qt/linguist-tools:5

Bug: https://bugs.gentoo.org/545784

Package-Manager: portage-2.2.22_p5

 net-p2p/transmission/transmission-2.84-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-p2p/transmission/transmission-2.84-r2.ebuild 
b/net-p2p/transmission/transmission-2.84-r2.ebuild
index 49e1f80..09d42ad 100644
--- a/net-p2p/transmission/transmission-2.84-r2.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r2.ebuild
@@ -48,6 +48,7 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/os-headers
virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
xfs? ( sys-fs/xfsprogs )"
 
 REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/

2015-10-03 Thread Mike Gilbert
commit: e4769ff5d04952e4c8fbe125212823d5726ee2d3
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Oct  3 18:26:23 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Oct  3 18:26:34 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4769ff5

net-p2p/transmission: Fix build with miniupnpc API 14

Thanks to Sander Sweers for the patch.

Bug: https://bugs.gentoo.org/562020

Package-Manager: portage-2.2.22_p5

 net-p2p/transmission/files/2.84-miniupnp14.patch | 23 +++
 net-p2p/transmission/transmission-2.84-r1.ebuild |  2 ++
 net-p2p/transmission/transmission-2.84.ebuild|  4 +++-
 3 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/net-p2p/transmission/files/2.84-miniupnp14.patch 
b/net-p2p/transmission/files/2.84-miniupnp14.patch
new file mode 100644
index 000..7e531cc
--- /dev/null
+++ b/net-p2p/transmission/files/2.84-miniupnp14.patch
@@ -0,0 +1,23 @@
+libtransmission: Build fix for miniupnp API version 14
+
+Patch by Sander Sweers 
+
+Bug: https://bugs.gentoo.org/562020
+Index: libtransmission/upnp.c
+===
+--- libtransmission/upnp.c (revision 14564)
 libtransmission/upnp.c (working copy)
+@@ -86,8 +86,12 @@
+   struct UPNPDev * ret;
+   bool have_err;
+ 
+-#if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */
++#if (MINIUPNPC_API_VERSION >= 14) /* adds ttl */
+   int err = UPNPDISCOVER_SUCCESS;
++  ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, );
++  have_err = err != UPNPDISCOVER_SUCCESS;
++#elif (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */
++  int err = UPNPDISCOVER_SUCCESS;
+   ret = upnpDiscover (msec, NULL, NULL, 0, 0, );
+   have_err = err != UPNPDISCOVER_SUCCESS;
+ #else

diff --git a/net-p2p/transmission/transmission-2.84-r1.ebuild 
b/net-p2p/transmission/transmission-2.84-r1.ebuild
index 9cbecb4..97a3a72 100644
--- a/net-p2p/transmission/transmission-2.84-r1.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r1.ebuild
@@ -72,6 +72,8 @@ src_prepare() {
# http://trac.transmissionbt.com/ticket/5700
sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die
 
+   epatch "${FILESDIR}/2.84-miniupnp14.patch"
+
epatch_user
eautoreconf
 }

diff --git a/net-p2p/transmission/transmission-2.84.ebuild 
b/net-p2p/transmission/transmission-2.84.ebuild
index 8af517c..d1648c4 100644
--- a/net-p2p/transmission/transmission-2.84.ebuild
+++ b/net-p2p/transmission/transmission-2.84.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -65,6 +65,8 @@ src_prepare() {
# http://trac.transmissionbt.com/ticket/5700
sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die
 
+   epatch "${FILESDIR}/2.84-miniupnp14.patch"
+
epatch_user
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/

2015-10-03 Thread Mike Gilbert
commit: 63a4598a1ae65384bf49a869b292a90509d96633
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Oct  3 19:09:17 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Oct  3 19:09:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a4598a

net-p2p/transmission: Fix segfault

Bug: https://bugs.gentoo.org/534308

Package-Manager: portage-2.2.22_p5

 .../files/2.84-node_alloc-segfault.patch   | 55 ++
 ...-2.84-r2.ebuild => transmission-2.84-r3.ebuild} |  1 +
 2 files changed, 56 insertions(+)

diff --git a/net-p2p/transmission/files/2.84-node_alloc-segfault.patch 
b/net-p2p/transmission/files/2.84-node_alloc-segfault.patch
new file mode 100644
index 000..7172428
--- /dev/null
+++ b/net-p2p/transmission/files/2.84-node_alloc-segfault.patch
@@ -0,0 +1,55 @@
+Index: libtransmission/list.c
+===
+--- libtransmission/list.c (revision 14318)
 libtransmission/list.c (revision 14319)
+@@ -30,20 +30,24 @@
+ static tr_list*
+ node_alloc (void)
+ {
+-  tr_list * ret;
++  tr_list * ret = NULL;
++  tr_lock * lock = getRecycledNodesLock ();
+ 
+-  if (recycled_nodes == NULL)
++  tr_lockLock (lock);
++
++  if (recycled_nodes != NULL)
+ {
+-  ret = tr_new (tr_list, 1);
+-}
+-  else
+-{
+-  tr_lockLock (getRecycledNodesLock ());
+   ret = recycled_nodes;
+   recycled_nodes = recycled_nodes->next;
+-  tr_lockUnlock (getRecycledNodesLock ());
+ }
+ 
++  tr_lockUnlock (lock);
++
++  if (ret == NULL)
++{
++  ret = tr_new (tr_list, 1);
++}
++
+   *ret = TR_LIST_CLEAR;
+   return ret;
+ }
+@@ -51,13 +55,15 @@
+ static void
+ node_free (tr_list* node)
+ {
++  tr_lock * lock = getRecycledNodesLock ();
++
+   if (node != NULL)
+ {
+   *node = TR_LIST_CLEAR;
+-  tr_lockLock (getRecycledNodesLock ());
++  tr_lockLock (lock);
+   node->next = recycled_nodes;
+   recycled_nodes = node;
+-  tr_lockUnlock (getRecycledNodesLock ());
++  tr_lockUnlock (lock);
+ }
+ }
+ 

diff --git a/net-p2p/transmission/transmission-2.84-r2.ebuild 
b/net-p2p/transmission/transmission-2.84-r3.ebuild
similarity index 98%
rename from net-p2p/transmission/transmission-2.84-r2.ebuild
rename to net-p2p/transmission/transmission-2.84-r3.ebuild
index 09d42ad..d605c80 100644
--- a/net-p2p/transmission/transmission-2.84-r2.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r3.ebuild
@@ -75,6 +75,7 @@ src_prepare() {
 
epatch "${FILESDIR}/2.84-miniupnp14.patch"
epatch "${FILESDIR}/2.84-libevent-2.1.5.patch"
+   epatch "${FILESDIR}/2.84-node_alloc-segfault.patch"
 
epatch_user
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/

2015-10-03 Thread Mike Gilbert
commit: e9f79718d75e1e2a9b1f5e11073f50b03617fed2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Oct  3 18:56:15 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Oct  3 18:57:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f79718

net-p2p/transmission: Fix issue with encryption with libevent-2.1.5

Backported upstream patches.

Bug: https://bugs.gentoo.org/536922

Package-Manager: portage-2.2.22_p5

 .../transmission/files/2.84-libevent-2.1.5.patch   | 112 ++
 net-p2p/transmission/transmission-2.84-r2.ebuild   | 164 +
 2 files changed, 276 insertions(+)

diff --git a/net-p2p/transmission/files/2.84-libevent-2.1.5.patch 
b/net-p2p/transmission/files/2.84-libevent-2.1.5.patch
new file mode 100644
index 000..48101eb
--- /dev/null
+++ b/net-p2p/transmission/files/2.84-libevent-2.1.5.patch
@@ -0,0 +1,112 @@
+Fix runtime issues with libevent-2.1.5
+
+Bug: https://bugs.gentoo.org/536922
+Index: libtransmission/peer-io.c
+===
+--- libtransmission/peer-io.c  (revision 14541)
 libtransmission/peer-io.c  (revision 14545)
+@@ -1041,6 +1041,33 @@
+ ***
+ **/
+ 
++static inline void
++processBuffer (tr_crypto* crypto,
++   struct evbuffer  * buffer,
++   size_t offset,
++   size_t size,
++   void(* callback) (tr_crypto *, size_t, const void 
*, void *))
++{
++struct evbuffer_ptr pos;
++struct evbuffer_iovec iovec;
++
++evbuffer_ptr_set (buffer, , offset, EVBUFFER_PTR_SET);
++
++do
++{
++if (evbuffer_peek (buffer, size, , , 1) <= 0)
++break;
++
++callback (crypto, iovec.iov_len, iovec.iov_base, iovec.iov_base);
++
++assert (size >= iovec.iov_len);
++size -= iovec.iov_len;
++}
++while (!evbuffer_ptr_set (buffer, , iovec.iov_len, EVBUFFER_PTR_ADD));
++
++assert (size == 0);
++}
++
+ static void
+ addDatatype (tr_peerIo * io, size_t byteCount, bool isPieceData)
+ {
+@@ -1051,19 +1078,14 @@
+ peer_io_push_datatype (io, d);
+ }
+ 
+-static void
+-maybeEncryptBuffer (tr_peerIo * io, struct evbuffer * buf)
++static inline void
++maybeEncryptBuffer (tr_peerIo   * io,
++struct evbuffer * buf,
++size_toffset,
++size_tsize)
+ {
+ if (io->encryption_type == PEER_ENCRYPTION_RC4)
+-{
+-struct evbuffer_ptr pos;
+-struct evbuffer_iovec iovec;
+-evbuffer_ptr_set (buf, , 0, EVBUFFER_PTR_SET);
+-do {
+-evbuffer_peek (buf, -1, , , 1);
+-tr_cryptoEncrypt (>crypto, iovec.iov_len, iovec.iov_base, 
iovec.iov_base);
+-} while (!evbuffer_ptr_set (buf, , iovec.iov_len, 
EVBUFFER_PTR_ADD));
+-}
++processBuffer (>crypto, buf, offset, size, _cryptoEncrypt);
+ }
+ 
+ void
+@@ -1070,7 +1092,7 @@
+ tr_peerIoWriteBuf (tr_peerIo * io, struct evbuffer * buf, bool isPieceData)
+ {
+ const size_t byteCount = evbuffer_get_length (buf);
+-maybeEncryptBuffer (io, buf);
++maybeEncryptBuffer (io, buf, 0, byteCount);
+ evbuffer_add_buffer (io->outbuf, buf);
+ addDatatype (io, byteCount, isPieceData);
+ }
+@@ -1126,6 +1148,16 @@
+ 
+ ***/
+ 
++static inline void
++maybeDecryptBuffer (tr_peerIo   * io,
++struct evbuffer * buf,
++size_toffset,
++size_tsize)
++{
++if (io->encryption_type == PEER_ENCRYPTION_RC4)
++processBuffer (>crypto, buf, offset, size, _cryptoDecrypt);
++}
++
+ void
+ tr_peerIoReadBytesToBuf (tr_peerIo * io, struct evbuffer * inbuf, struct 
evbuffer * outbuf, size_t byteCount)
+ {
+@@ -1141,17 +1173,7 @@
+ evbuffer_add_buffer (outbuf, tmp);
+ evbuffer_free (tmp);
+ 
+-/* decrypt if needed */
+-if (io->encryption_type == PEER_ENCRYPTION_RC4) {
+-struct evbuffer_ptr pos;
+-struct evbuffer_iovec iovec;
+-evbuffer_ptr_set (outbuf, , old_length, EVBUFFER_PTR_SET);
+-do {
+-evbuffer_peek (outbuf, byteCount, , , 1);
+-tr_cryptoDecrypt (>crypto, iovec.iov_len, iovec.iov_base, 
iovec.iov_base);
+-byteCount -= iovec.iov_len;
+-} while (!evbuffer_ptr_set (outbuf, , iovec.iov_len, 
EVBUFFER_PTR_ADD));
+-}
++maybeDecryptBuffer (io, outbuf, old_length, byteCount);
+ }
+ 
+ void

diff --git a/net-p2p/transmission/transmission-2.84-r2.ebuild 
b/net-p2p/transmission/transmission-2.84-r2.ebuild
new file mode 100644
index 000..49e1f80
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.84-r2.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils fdo-mime gnome2-utils qmake-utils systemd user
+
+DESCRIPTION="A Fast,