Commit graph

20 commits

Author SHA1 Message Date
tron
5bc46dd7a7 Update libtorrent to version 0.13.4 and rtorrent to version 0.9.4.
A list of changes is not available unfortunately. But the update seems
to prevent crashes with a message like this one:

rtorrent: Read past initial payload after incoming encrypted handshake
2014-06-15 22:44:15 +00:00
joerg
862b1a2289 Restore Clang support with libc++. Additional changes to deal with the
inability of old GCC versions to cast to int implicitly. Bump revision.
2013-09-18 16:33:08 +00:00
tron
4ffbc0e83e Back out all of the C++11 related patches. They don't only break the
build under Mac OS X but also under NetBSD/amd64 6.1 with the default
G++ compiler.

This fixes PR pkg/47873 by myself.
2013-06-02 22:52:14 +00:00
joerg
25d44eca9d Use enums for constants to not depend on the optimizer to inline the
values. Fix C++11 vs TR1 mismatches.
2013-05-09 14:28:25 +00:00
marino
23c5c8f2f5 net/rtorrent: Fix DragonFly 2012-05-24 17:01:43 +00:00
tron
b85a1db87f Update "libtorrent" package to version 0.13.2 and "rtorrent" package
to version 0.9.2.

A list of changes is not available unfortunately. But it seems that most
of the Solaris related build fixes have been integrated.
2012-05-16 17:42:37 +00:00
wiz
f16d0fb0fc Restore previous window sizes fix (both height and width non-zero).
Bump PKGREVISION.
Fix a pkglint warning while here.
2011-08-01 13:12:38 +00:00
tron
afa27f5857 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.
2011-07-30 17:06:33 +00:00
tron
10230994e9 Use patch suggested on "arch-linux" mailing list to make rTorrent work
with ncurses 5.8.
2011-03-01 07:44:52 +00:00
joerg
92f4356620 Can use system curses on NetBSD/current. Explicitly include stdarg.h
as mandated by X/Open.
2009-07-07 21:22:08 +00:00
tron
8d87aa23a5 Add two patches taken from "xnet.fi" to fix the build under SunOS 5.11
(and eventually older versions). Problem reported by Tom Hensel in
private e-mail.
2009-04-10 09:06:20 +00:00
tron
2f0c9868d2 Re-generate these patches because GNU patch doesn't accept them. 2008-12-16 16:49:52 +00:00
tron
66b27a4d66 Add patch from <http://libtorrent.rakshasa.no/ticket/1184> to fix the build
under Solaris and DragonFly. Patch provided by Rumko in private e-mail.
2008-12-05 16:31:52 +00:00
tron
24eb420373 Update "libtorrent" package to version 0.11.9 and "rtorrent" package
to version 0.7.9. Changes since 0.11.8 respectively 0.7.8:
- Improved detection of unnecessary handshakes to decrease the load when
  using PEX.
- Limit the number of PEX connections to 8 per download.
- Fixed several bugs in PEX.
- Fixed several sigc++ 2.1 compile errors.
- Print to the log when close_on_diskspace gets triggered.

This is not a stable version. The update was however necessary after
the premature update of the "libsigc++" package which broke the build
of these packages.
2007-11-23 09:49:04 +00:00
tron
f0bcb129a6 Update "libtorrent" package to version 0.11.4 and "rtorrent" package
to version 0.7.4. Changes since versions 0.11.1 and 0.7.1 respectively:
- Added "max_open_http" option that limits the max number of simultaneous
  http connections. By default set to 32.
- Directory structured view of the file list. The '/' key collapses
  directories, while the right arrow or ^F enters the selected directory.
  Changing the priority for a directory changes all contained files.
- Added "create_link" and "delete_link" options which apply to a download.
  These must be used with the new "on_*" options, so as to allow you to
  create symbolic links when starting, stopping, finishing, etc, a torrent.
- The "tos" option was parsing the hex value with unit == 0, which caused
  it to always zero it.
- Forgot to check if there were any torrents hashing before starting new
  non-fast-resume checks, which would cause multiple torrents to be hashed
  at once.
- File progress is now updated when hash_check is called, and no longer
  cleared on close. This fixes a bug with >100% file progress being reported
  and optimizes file progress updating for completed torrents.
- Disabled IPv6 http requests so the trackers won't think we support it,
  and enabled curl's support for gzip encodings.
- Added 'seeding' view on key 8.
- Added "max_{up,down}loads_{div,global}" options. See the man page for
  more information.
- Added support for dvorak keyboard layout. Patch by matled at gmx.net.
- The STOPPED request was being canceled when a download was closed with
  f.ex ^K, moved it so it only happens when the download is removed.
- Allow properly quoted and escaped arguments to options. F.ex "schedule
  = wd,10,10,load_start=~/Foo\ Bar/*.torrent" and "schedule =
  wd,10,10,load_start="~/Foo Bar/*.torrent"" now works.
- Added unlimited setting for max unchoked in ChokeManager and made it
  the default. Set with 0 as a temporary hack.
- Don't resize empty files used for creating directories.
2007-04-20 13:37:57 +00:00
tron
0c0b14e647 Fix build under Solaris. Patched provided by Peter Schuller in PR pkg/35357. 2007-01-04 12:46:38 +00:00
tron
241e362cb8 Update "libtorrent" package to version 0.8.5 and "rtorrent" package
to version 0.4.5. Changes since 0.8.3 respectively 0.4.3:
- Bind udp and http tracker requests to the address given with the "bind"
  option.
- Change the priority of a torrent with the '+' and '-' keys.
- The schedule option allows clock time for the start and interval
  sections.
- Made it safe to remove torrents being viewed/selected, making
  "remove_untied" usable.
- Added the ^O key to change a closed torrent's destination directory. A
  bit of a hack, and only works if the torrents hasn't been activated.
- Allow new settings to be applied with the ^P key. This can be tested
  with "print = foobar", which prints the string to the log.
- Added the "working_directory" option that calls 'chdir' for the process.
- Fixed a bug that caused crashes with small screen sizes.
- Enabled a session lock file by default. Made it remove stale locks
  if the hostname matches and the process id is not running.
- Added proper abstraction for creating timers from seconds, this
  fixes some overflow bugs when scheduling tasks like tracker timeouts.
- For every time all the trackers in the list has been unsuccessfully
  tried, increase the timeout by 20 seconds.
- Expand ~ in paths in the client. This should cover all uses of file
  paths, but I might have missed some.
- Added "import" and "try_import" options that loads an option
  file. The latter silently fails on non-existent files.
- Added "-O" flag that takes a single option, allowing ',' to be used.
2006-02-25 17:24:21 +00:00
tron
4b7fa3a1b5 Update "libtorrent" package to version 0.8.3 and "rtorrent" package to
version 0.4.3. Changes since 0.7.6/0.3.6:
- New throttle implementation
- Improved config file parser
- Settings for using a http proxy and changing the process's umask.
- Many more bug fixes and improvements
2006-01-30 00:52:28 +00:00
adam
55683a9b82 Changes 0.3.5:
* Improvements
2005-10-24 08:41:59 +00:00
joerg
305d60696d Fix a bug in the tab-completion. When the prefix is not unique, rtorrent
would have hit an internal assertion later. The patch is a merge from
the unstable tree as suggested by the author.

Bump revision to 1.
2005-09-26 07:49:06 +00:00