Subject: CVS commit: pkgsrc/net
From: Matthias Scheler
Date: 2011-07-30 19:06:33
Message id: 20110730170633.C2E62175DD@cvs.netbsd.org

Log Message:
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.

Files:
RevisionActionfile
1.39modifypkgsrc/net/libtorrent/Makefile
1.10modifypkgsrc/net/libtorrent/PLIST
1.28modifypkgsrc/net/libtorrent/distinfo
1.40modifypkgsrc/net/rtorrent/Makefile
1.3modifypkgsrc/net/rtorrent/PLIST
1.27modifypkgsrc/net/rtorrent/distinfo
1.3modifypkgsrc/net/rtorrent/patches/patch-af
1.1addpkgsrc/net/rtorrent/patches/patch-ag