Package Base Details: transmission-sequential

Git Clone URL: https://aur-dev.archlinux.org/transmission-sequential.git (read-only)
Keywords: torrent
Submitter: Mikaye
Maintainer: Mikaye
Last Packager: Mikaye
Votes: 12
Popularity: 0.170885
First Submitted: 2014-07-30 14:57
Last Updated: 2016-05-10 13:17

Latest Comments

« First ‹ Previous 1 2

Shara commented on 2015-10-15 12:39

oliva, since API 14 version of miniupnp, upnpDiscover requires 7 arguments, ttl added as six argument (default 2).
https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/apiversions.txt
https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/miniupnpc.h

Here is the patch:

diff --git a/libtransmission/upnp.c b/libtransmission/upnp.c
index 14b2f25..743c894 100644
--- a/libtransmission/upnp.c
+++ b/libtransmission/upnp.c
@@ -85,8 +85,12 @@ tr_upnpDiscover (int msec)
{
struct UPNPDev * ret;
bool have_err;
-
-#if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */
+
+#if (MINIUPNPC_API_VERSION >= 14) /* adds ttl arg */
+ int err = UPNPDISCOVER_SUCCESS;
+ ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, &err);
+ 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, &err);
have_err = err != UPNPDISCOVER_SUCCESS;

oliva commented on 2015-10-09 17:24

Does not build with latest miniupnpc, older version fails on soname bump:
upnp.c:91:9: error: too few arguments to function ‘upnpDiscover’
ret = upnpDiscover (msec, NULL, NULL, 0, 0, &err);
^
In file included from upnp.c:14:0:
/usr/include/miniupnpc/miniupnpc.h:62:1: note: declared here
upnpDiscover(int delay, const char * multicastif,

Mikaye commented on 2015-02-19 12:36

Thanks for the report it has been updated!

atommixz commented on 2015-02-19 11:47

https://transmission.cachefly.net/transmission-2.84.tar.xz

atommixz commented on 2015-02-16 22:00

==> Building and installing package
==> Making package: transmission-sequential 2.84-2 (Tue Feb 17 00:59:26 MSK 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading transmission-2.84.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to download-origin.transmissionbt.com port 80: Connection refused
==> ERROR: Failure while downloading transmission-2.84.tar.xz
Aborting...
==> ERROR: Makepkg was unable to build transmission-sequential.
==> Restart building transmission-sequential-gtk ? [y/N]
==> ----------------------------------------------------


ping download-origin.transmissionbt.com
PING vm2.transmissionbt.com (212.129.33.50) 56(84) bytes of data.
64 bytes from vm2.transmissionbt.com (212.129.33.50): icmp_seq=1 ttl=55 time=46.7 ms
64 bytes from vm2.transmissionbt.com (212.129.33.50): icmp_seq=2 ttl=55 time=46.9 ms
64 bytes from vm2.transmissionbt.com (212.129.33.50): icmp_seq=3 ttl=55 time=46.9 ms