pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Update "libtorrent" and "rtorrent" package to vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d0c5df391db
branches:  trunk
changeset: 400867:2d0c5df391db
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Oct 29 11:42:30 2009 +0000

description:
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:

 net/libtorrent/Makefile         |   4 ++--
 net/libtorrent/distinfo         |   9 ++++-----
 net/libtorrent/patches/patch-ab |  13 -------------
 net/rtorrent/Makefile           |   4 ++--
 net/rtorrent/distinfo           |   8 ++++----
 5 files changed, 12 insertions(+), 26 deletions(-)

diffs (72 lines):

diff -r 274beb07c877 -r 2d0c5df391db net/libtorrent/Makefile
--- a/net/libtorrent/Makefile   Thu Oct 29 10:34:48 2009 +0000
+++ b/net/libtorrent/Makefile   Thu Oct 29 11:42:30 2009 +0000
@@ -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 -r 274beb07c877 -r 2d0c5df391db net/libtorrent/distinfo
--- a/net/libtorrent/distinfo   Thu Oct 29 10:34:48 2009 +0000
+++ b/net/libtorrent/distinfo   Thu Oct 29 11:42:30 2009 +0000
@@ -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 -r 274beb07c877 -r 2d0c5df391db net/libtorrent/patches/patch-ab
--- a/net/libtorrent/patches/patch-ab   Thu Oct 29 10:34:48 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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
diff -r 274beb07c877 -r 2d0c5df391db net/rtorrent/Makefile
--- a/net/rtorrent/Makefile     Thu Oct 29 10:34:48 2009 +0000
+++ b/net/rtorrent/Makefile     Thu Oct 29 11:42:30 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2009/07/09 10:42:29 tron Exp $
+# $NetBSD: Makefile,v 1.34 2009/10/29 11:42:31 tron Exp $
 
-DISTNAME=      rtorrent-0.8.4
+DISTNAME=      rtorrent-0.8.5
 CATEGORIES=    net
 MASTER_SITES=  ${HOMEPAGE:=downloads/}
 
diff -r 274beb07c877 -r 2d0c5df391db net/rtorrent/distinfo
--- a/net/rtorrent/distinfo     Thu Oct 29 10:34:48 2009 +0000
+++ b/net/rtorrent/distinfo     Thu Oct 29 11:42:30 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2009/07/09 10:42:29 tron Exp $
+$NetBSD: distinfo,v 1.24 2009/10/29 11:42:31 tron Exp $
 
-SHA1 (rtorrent-0.8.4.tar.gz) = 83a7c0dbeb46bb074ae075d9faf5d05f0df17571
-RMD160 (rtorrent-0.8.4.tar.gz) = a7a65a136161dc89e93479cee776cc084dce4ee0
-Size (rtorrent-0.8.4.tar.gz) = 518306 bytes
+SHA1 (rtorrent-0.8.5.tar.gz) = ebab4af5c3c5f31803e0880fadd303ecbc6adba8
+RMD160 (rtorrent-0.8.5.tar.gz) = ebf5bc3a39ec8b9905513a706a480452498ca991
+Size (rtorrent-0.8.5.tar.gz) = 512889 bytes
 SHA1 (patch-aa) = ef8edceb33f28e022e3d48706c30733ac3a730a3
 SHA1 (patch-ab) = 87873bb32166d00398ab0ef6421a6fe85a55c914
 SHA1 (patch-ac) = b62de9ce834aa0422ec173e694d07e88aa1e2f47



Home | Main Index | Thread Index | Old Index