aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/rtorrent/Makefile12
-rw-r--r--net-p2p/rtorrent/distinfo6
-rw-r--r--net-p2p/rtorrent/files/patch-src_command__network.cc23
3 files changed, 30 insertions, 11 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index ad75530b9d6c..b9fd4d15b11b 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME?= rtorrent
-PORTVERSION?= 0.7.9
-PORTREVISION?= 2
+PORTVERSION?= 0.8.2
+PORTREVISION?= 0
CATEGORIES= net-p2p
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ \
${MASTER_SITE_LOCAL}
@@ -16,8 +16,8 @@ MASTER_SITE_SUBDIR= flz/rtorrent/
MAINTAINER?= flz@FreeBSD.org
COMMENT?= BitTorrent Client written in C++
-BUILD_DEPENDS?= libtorrent=0.11.9:${PORTSDIR}/net-p2p/libtorrent
-RUN_DEPENDS?= libtorrent=0.11.9:${PORTSDIR}/net-p2p/libtorrent
+BUILD_DEPENDS?= libtorrent=0.12.2:${PORTSDIR}/net-p2p/libtorrent
+RUN_DEPENDS?= libtorrent=0.12.2:${PORTSDIR}/net-p2p/libtorrent
LIB_DEPENDS?= curl.4:${PORTSDIR}/ftp/curl
CONFLICTS?= rtorrent-devel-[0-9]*
@@ -27,10 +27,6 @@ MAN1= rtorrent.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
-.if exists(${.CURDIR}/files/stable-*)
-EXTRA_PATCHES?= ${.CURDIR}/files/stable-*
-.endif
-
SUB_FILES= pkg-message
PORTDOCS= README
diff --git a/net-p2p/rtorrent/distinfo b/net-p2p/rtorrent/distinfo
index f410eb9b984e..79c523f3d116 100644
--- a/net-p2p/rtorrent/distinfo
+++ b/net-p2p/rtorrent/distinfo
@@ -1,3 +1,3 @@
-MD5 (rtorrent-0.7.9.tar.gz) = 136202fdd540a92aafbcee29f849d228
-SHA256 (rtorrent-0.7.9.tar.gz) = f06f72b1fec94177147b1db0aab15be4f62d1b0354811a67ae74e0cd1e50a119
-SIZE (rtorrent-0.7.9.tar.gz) = 489174
+MD5 (rtorrent-0.8.2.tar.gz) = a2456182e1767e5aed7341dbbd058f60
+SHA256 (rtorrent-0.8.2.tar.gz) = 76135a63869e43fa0392829bb45d94c0aa55e94350dddc272685ccfac1bbb2ed
+SIZE (rtorrent-0.8.2.tar.gz) = 506015
diff --git a/net-p2p/rtorrent/files/patch-src_command__network.cc b/net-p2p/rtorrent/files/patch-src_command__network.cc
new file mode 100644
index 000000000000..3fd848ae4e71
--- /dev/null
+++ b/net-p2p/rtorrent/files/patch-src_command__network.cc
@@ -0,0 +1,23 @@
+--- src/command_network.cc.orig 2007-12-18 21:13:53.000000000 +0000
++++ src/command_network.cc 2007-12-18 21:14:26.000000000 +0000
+@@ -224,6 +224,8 @@
+ saPtr->set_port(port);
+ control->scgi()->open_port(saPtr, saPtr->length(), rpc::call_command_value("get_scgi_dont_route"));
+
++ rak::address_info::free_address_info(ai);
++
+ break;
+
+ case 2:
+@@ -232,10 +234,8 @@
+ break;
+ }
+
+- rak::address_info::free_address_info(ai);
+-
+ } catch (torrent::local_error& e) {
+- rak::address_info::free_address_info(ai);
++ //rak::address_info::free_address_info(ai);
+
+ throw torrent::input_error(e.what());
+ }