summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2009-10-29 11:42:30 +0000
committertron <tron@pkgsrc.org>2009-10-29 11:42:30 +0000
commit7edc96f4e25ff29e06c0bcec1f90d798713ba045 (patch)
treeb92af5ed20bb5a64c030eea09cf64ec268664fa6 /net/libtorrent
parent310eaf6f2a0e32c10c5648dd4dc551de3e79e3f0 (diff)
downloadpkgsrc-7edc96f4e25ff29e06c0bcec1f90d798713ba045.tar.gz
Update "libtorrent" and "rtorrent" package to version 0.12.5/0.8.5:
- Add support for any number of custom download values identified by string keys. d.set_custom=key,value d.get_custom=key (returns "" if not set) d.get_custom_throw=key (returns error if not set) - With this patch, rtorrent will detect and complain about .torrent files with broken bencode representation (e.g. where the order of dictionary keys is not lexicographic). - Choose a different poll type using the RTORRENT_POLL env. variable (if it's implemented), probably only useful as RTORRENT_POLL=select. - Add the commands execute_capture and execute_capture_nothrow that work like their other counterparts but return the OUTPUT (stdout) of the given command. - Fixes the code that detects which peer was sending bad data. Peers are then automatically banned after sending three bad chunks. - Stops rtorrent from always creating and resizing ALL files, even those set to "off". Files will still be created, but with a size of zero, until a part of them is getting downloaded. This helps with filesystems that don't support sparse files (such as FAT, HFS+, and others). - Fix inefficient piece distribution due to linear chunk request strategy by randomizing position every few (on average 32) chunks, see ticket #190. - Enable custom throttles, both per-download or per-IP. See http://libtorrent.rakshasa.no/ticket/20 for info and instructions. - Fix crashes/errors due to rtorrent attempting to pass non-utf-8 strings to xmlrpc. - Added support for using posix_fallocate on newly resized files. - Include locally available chunks in the "chunks seen" statistics for completed/distributed copies. Patch by Josef Drexler. - Added 'd.get_bitfield' command for retrieving the bitfield in hex format. Patch by Thomas Rosner. - Fixed include headers for gcc-4.4.0. Patch by 'kloeri'.
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/Makefile4
-rw-r--r--net/libtorrent/distinfo9
-rw-r--r--net/libtorrent/patches/patch-ab13
3 files changed, 6 insertions, 20 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index 703877665e9..2fb5493ab10 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2009/07/09 10:42:28 tron Exp $
+# $NetBSD: Makefile,v 1.35 2009/10/29 11:42:30 tron Exp $
-DISTNAME= libtorrent-0.12.4
+DISTNAME= libtorrent-0.12.5
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE:=downloads/}
diff --git a/net/libtorrent/distinfo b/net/libtorrent/distinfo
index 2021e6c341f..1b43db759d2 100644
--- a/net/libtorrent/distinfo
+++ b/net/libtorrent/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.25 2009/07/09 10:42:28 tron Exp $
+$NetBSD: distinfo,v 1.26 2009/10/29 11:42:30 tron Exp $
-SHA1 (libtorrent-0.12.4.tar.gz) = 6deab3f6af5e9566c987131d586751c7dc3b5dbb
-RMD160 (libtorrent-0.12.4.tar.gz) = 23fd8a242f493171f7e2afa714dc7b74359ff7bc
-Size (libtorrent-0.12.4.tar.gz) = 600778 bytes
+SHA1 (libtorrent-0.12.5.tar.gz) = 05a60581c6b1a94e2a07d1a07e47b8c60d2e237c
+RMD160 (libtorrent-0.12.5.tar.gz) = 645ae77a23c77c1d2134431b182cb206ab254259
+Size (libtorrent-0.12.5.tar.gz) = 587228 bytes
SHA1 (patch-aa) = d864808b9e9524b3a7f72bcc1b465d4e6b2d4f4a
-SHA1 (patch-ab) = db2dd21aa97b190d59e555ad6986a2432d755808
diff --git a/net/libtorrent/patches/patch-ab b/net/libtorrent/patches/patch-ab
deleted file mode 100644
index 282d2c6edf3..00000000000
--- a/net/libtorrent/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.11 2009/07/09 10:42:29 tron Exp $
-
---- src/torrent/poll_kqueue.cc.orig 2008-10-28 03:48:48.000000000 +0000
-+++ src/torrent/poll_kqueue.cc 2009-07-09 11:27:45.000000000 +0100
-@@ -54,6 +54,8 @@
- #include <sys/time.h>
- #endif
-
-+#include <cassert>
-+
- namespace torrent {
-
- #ifdef USE_KQUEUE