summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-07-30 17:06:33 +0000
committertron <tron@pkgsrc.org>2011-07-30 17:06:33 +0000
commitbd46ddc4bc473a586f61a624de90cadfb5e4ff65 (patch)
tree60c0125c63fba6960e0d1915ffbb2e4d61a88b13 /net/libtorrent
parentb52ab5c2338b553413c39707ff466cf2ba7cd710 (diff)
downloadpkgsrc-bd46ddc4bc473a586f61a624de90cadfb5e4ff65.tar.gz
Update "libtorrent" package to version 0.12.9 and "rtorrent" package
to version 0.8.9. Changes since version 0.12.6 respectively 0.8.6: - Added multithreading support for XMLRPC calls. Sponsored by Xirvik. - Discard dht cache if it is corrupt, instead of killing rtorrent. - Better handling of resume after crash/reboot alliviating the need to full hash checks. Sponsored by anonymous source. - Added support for Linux's fallocate and Darwin's fcntl(...,F_PREALLOCATE,...) to preallocate files by default. The 'system.file_allocate' setting will now only be used to indicate you want posix_fallocate called, which may block while it zeros out the file manually. - Added 'event.download.hash_failed' and 'event.download.hash_final_failed'. - Cleaning up command names. The deprecated commands will be redirected. - Renamed 'system.method.*' to 'method.*'. - Added 'system.files.{opened,closed,failed}_counter' commands. - Added xmlrpc calls for peer snubbed, banned and disconnect. - Added '-D' flag which turns of redirects for deprecated commands. Use this to ensure your scripts/webui's will be compatible with future releases. - Added separate '-I' and '-K' switches for command redirects, the former is for testing rtorrent code, the latter for webui's. - Added a static_map implementation based on Josef's patches. - Commited the DHT changes from dht-pex-static_map.diff with changes so it works with the modified static_map implementation. - Applied the magnet-uri patch. - Don't install the out-of-date man page. - Added 'execute.*.bg' commands for non-blocking calls. Always returns 0. - Added support for prioritizing first/last chunk of files matching specified patterns. Default: file.prioritize_toc.set=0 file.prioritize_toc.first.set = {*.avi,*.mp4,*.mkv,*.gz} file.prioritize_toc.last.set = {*.zip} - Added 'method.rlookup' and 'method.rlookup.clear' commands for looking up the event handlers holding a specified key, and set views to support rlookup. - Added 'd.timestamp.finished' that is set when a downloading torrent completes. For torrents that only seed it remains '0'. - Added 'elapsed.{less,greater}' for checking the time elapsed since a time is less/greater, and it also returns false in all cases where the time is '0'. - Moved the default value for 'system.files.max_size' to rtorrent, and set the default in libtorrent to ~0. - Increased the default values for min/max_peers and max_uploads. - Fixed a bug that would cause hash checking to block excessively in some cases. - Fixed a bug when setting the pex flags. - Fixed an issue where DHT's hashing function for TR1 unordered_map was casting unaligned size_t pointers. - Fixed default session name. - Added a missing inline that could cause linking errors.
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/Makefile5
-rw-r--r--net/libtorrent/PLIST17
-rw-r--r--net/libtorrent/distinfo8
3 files changed, 21 insertions, 9 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index b6fd6deea52..5021c90750c 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2010/06/16 13:07:03 jakllsch Exp $
+# $NetBSD: Makefile,v 1.39 2011/07/30 17:06:33 tron Exp $
-DISTNAME= libtorrent-0.12.6
-PKGREVISION= 2
+DISTNAME= libtorrent-0.12.9
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE:=downloads/}
diff --git a/net/libtorrent/PLIST b/net/libtorrent/PLIST
index 52a11faf8dd..b8dadb00d70 100644
--- a/net/libtorrent/PLIST
+++ b/net/libtorrent/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2009/06/14 18:09:33 joerg Exp $
+@comment $NetBSD: PLIST,v 1.10 2011/07/30 17:06:33 tron Exp $
include/torrent/bitfield.h
include/torrent/chunk_manager.h
include/torrent/common.h
@@ -6,6 +6,7 @@ include/torrent/connection_manager.h
include/torrent/data/block.h
include/torrent/data/block_list.h
include/torrent/data/block_transfer.h
+include/torrent/data/chunk_utils.h
include/torrent/data/file.h
include/torrent/data/file_list.h
include/torrent/data/file_list_iterator.h
@@ -15,14 +16,22 @@ include/torrent/data/piece.h
include/torrent/data/transfer_list.h
include/torrent/dht_manager.h
include/torrent/download.h
+include/torrent/download/choke_group.h
+include/torrent/download/choke_queue.h
+include/torrent/download/download_manager.h
+include/torrent/download/resource_manager.h
+include/torrent/download_info.h
include/torrent/error.h
include/torrent/event.h
include/torrent/exceptions.h
include/torrent/hash_string.h
include/torrent/http.h
include/torrent/object.h
+include/torrent/object_raw_bencode.h
+include/torrent/object_static_map.h
include/torrent/object_stream.h
include/torrent/path.h
+include/torrent/peer/choke_status.h
include/torrent/peer/client_info.h
include/torrent/peer/client_list.h
include/torrent/peer/connection_list.h
@@ -34,10 +43,14 @@ include/torrent/poll_epoll.h
include/torrent/poll_kqueue.h
include/torrent/poll_select.h
include/torrent/rate.h
-include/torrent/resume.h
+include/torrent/thread_base.h
include/torrent/throttle.h
include/torrent/torrent.h
include/torrent/tracker.h
include/torrent/tracker_list.h
+include/torrent/utils/extents.h
+include/torrent/utils/log_files.h
+include/torrent/utils/option_strings.h
+include/torrent/utils/resume.h
lib/libtorrent.la
lib/pkgconfig/libtorrent.pc
diff --git a/net/libtorrent/distinfo b/net/libtorrent/distinfo
index 11949adca52..5adba19766b 100644
--- a/net/libtorrent/distinfo
+++ b/net/libtorrent/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.27 2010/01/01 19:36:31 snj Exp $
+$NetBSD: distinfo,v 1.28 2011/07/30 17:06:33 tron Exp $
-SHA1 (libtorrent-0.12.6.tar.gz) = bf7082f98bd6281493cba94a456697fb88c2c21b
-RMD160 (libtorrent-0.12.6.tar.gz) = 62f0c9737d4ca9621c42d673ea997f9d36875530
-Size (libtorrent-0.12.6.tar.gz) = 594113 bytes
+SHA1 (libtorrent-0.12.9.tar.gz) = 176a836c6e685e4dad71ac08c0e09caaa5b7757c
+RMD160 (libtorrent-0.12.9.tar.gz) = a898e882da94977973d62f34a5dd82577fd83cf5
+Size (libtorrent-0.12.9.tar.gz) = 667864 bytes
SHA1 (patch-aa) = d864808b9e9524b3a7f72bcc1b465d4e6b2d4f4a