aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission-cli
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2011-05-22 06:28:33 +0800
committermezz <mezz@FreeBSD.org>2011-05-22 06:28:33 +0800
commit646d4b70a993ec8679c8a6b03cc3ca7e703e4a50 (patch)
tree84669ce309ae80b8fa65de60032911c68fd3cabb /net-p2p/transmission-cli
parent90d0478fa557b6fddcd4f0cda824f8686d84f7b2 (diff)
downloadfreebsd-ports-gnome-646d4b70a993ec8679c8a6b03cc3ca7e703e4a50.tar.gz
freebsd-ports-gnome-646d4b70a993ec8679c8a6b03cc3ca7e703e4a50.tar.zst
freebsd-ports-gnome-646d4b70a993ec8679c8a6b03cc3ca7e703e4a50.zip
Update to 2.31.
Diffstat (limited to 'net-p2p/transmission-cli')
-rw-r--r--net-p2p/transmission-cli/Makefile4
-rw-r--r--net-p2p/transmission-cli/distinfo4
-rw-r--r--net-p2p/transmission-cli/files/patch-daemon_remote.c11
-rw-r--r--net-p2p/transmission-cli/files/patch-libtransmission_peer-msgs.c11
-rw-r--r--net-p2p/transmission-cli/files/patch-libtransmission_torrent.c10
-rw-r--r--net-p2p/transmission-cli/files/patch-qt_qtr.pro11
-rw-r--r--net-p2p/transmission-cli/files/patch-third-party_libutp_utp.cpp12
7 files changed, 27 insertions, 36 deletions
diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile
index dfc9e0ae6314..b7c8648663a1 100644
--- a/net-p2p/transmission-cli/Makefile
+++ b/net-p2p/transmission-cli/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= transmission
-PORTVERSION= 2.22
-PORTREVISION?= 1
+PORTVERSION= 2.31
+PORTREVISION?= 0
CATEGORIES?= net-p2p
MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/
PKGNAMESUFFIX?= -cli
diff --git a/net-p2p/transmission-cli/distinfo b/net-p2p/transmission-cli/distinfo
index 1eff9b224ddf..716246720e99 100644
--- a/net-p2p/transmission-cli/distinfo
+++ b/net-p2p/transmission-cli/distinfo
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.22.tar.xz) = 51d22e4732ff4fc25f5e08a39c2f8df68d8d45d980c78c0c66311cfe7fe59e3c
-SIZE (transmission-2.22.tar.xz) = 2605564
+SHA256 (transmission-2.31.tar.xz) = 82cd04c93c65df818d38dcec154f5864520ab3147fac372e11d8e9d12506deba
+SIZE (transmission-2.31.tar.xz) = 2558880
diff --git a/net-p2p/transmission-cli/files/patch-daemon_remote.c b/net-p2p/transmission-cli/files/patch-daemon_remote.c
deleted file mode 100644
index d3936d93ae32..000000000000
--- a/net-p2p/transmission-cli/files/patch-daemon_remote.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- daemon/remote.c~
-+++ daemon/remote.c
-@@ -38,7 +38,7 @@
- #include <libtransmission/version.h>
-
- #define MY_NAME "transmission-remote"
--#define DEFAULT_HOST "localhost"
-+#define DEFAULT_HOST "127.0.0.1"
- #define DEFAULT_PORT atoi(TR_DEFAULT_RPC_PORT_STR)
- #define DEFAULT_URL TR_DEFAULT_RPC_URL_STR "rpc/"
-
diff --git a/net-p2p/transmission-cli/files/patch-libtransmission_peer-msgs.c b/net-p2p/transmission-cli/files/patch-libtransmission_peer-msgs.c
new file mode 100644
index 000000000000..ce6a219189f3
--- /dev/null
+++ b/net-p2p/transmission-cli/files/patch-libtransmission_peer-msgs.c
@@ -0,0 +1,11 @@
+--- libtransmission/peer-msgs.c.orig 2011-04-29 21:52:48.000000000 -0500
++++ libtransmission/peer-msgs.c 2011-04-29 21:52:54.000000000 -0500
+@@ -16,8 +16,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include <alloca.h>
+-
+ #include <event2/buffer.h>
+ #include <event2/bufferevent.h>
+ #include <event2/event.h>
diff --git a/net-p2p/transmission-cli/files/patch-libtransmission_torrent.c b/net-p2p/transmission-cli/files/patch-libtransmission_torrent.c
deleted file mode 100644
index 630858d74ee8..000000000000
--- a/net-p2p/transmission-cli/files/patch-libtransmission_torrent.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- libtransmission/torrent.c.orig 2011-02-27 15:39:55.000000000 -0600
-+++ libtransmission/torrent.c 2011-02-27 15:40:35.000000000 -0600
-@@ -27,6 +27,7 @@
- #include <stdarg.h>
- #include <string.h> /* memcmp */
- #include <stdlib.h> /* qsort */
-+#include <signal.h> /* signal() */
-
- #include <event2/util.h> /* evutil_vsnprintf() */
-
diff --git a/net-p2p/transmission-cli/files/patch-qt_qtr.pro b/net-p2p/transmission-cli/files/patch-qt_qtr.pro
deleted file mode 100644
index dc046dace15d..000000000000
--- a/net-p2p/transmission-cli/files/patch-qt_qtr.pro
+++ /dev/null
@@ -1,11 +0,0 @@
---- qt/qtr.pro.orig 2011-03-17 15:03:37.000000000 -0500
-+++ qt/qtr.pro 2011-03-17 15:04:01.000000000 -0500
-@@ -21,7 +21,7 @@
- LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
- LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
- LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
--unix: LIBS += -L$${EVENT_TOP}/lib -levent -lz
-+unix: LIBS += -L$${EVENT_TOP}/lib -lz
- win32:DEFINES += QT_DBUS
- win32:LIBS += -levent -lws2_32 -lintl
- win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
diff --git a/net-p2p/transmission-cli/files/patch-third-party_libutp_utp.cpp b/net-p2p/transmission-cli/files/patch-third-party_libutp_utp.cpp
new file mode 100644
index 000000000000..8f4b4866ad29
--- /dev/null
+++ b/net-p2p/transmission-cli/files/patch-third-party_libutp_utp.cpp
@@ -0,0 +1,12 @@
+--- third-party/libutp/utp.cpp.orig 2011-04-29 21:45:38.000000000 -0500
++++ third-party/libutp/utp.cpp 2011-04-29 21:47:05.000000000 -0500
+@@ -10,6 +10,9 @@
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <limits.h> // for UINT_MAX
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+
+ #ifdef WIN32
+ #include "win32_inet_ntop.h"