The NetBSD Project

CVS log for pkgsrc/net/aria2/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / net / aria2

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Apr 14 15:50:38 2015 UTC (10 years, 1 month ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +42 -42 lines
Update to 1.18.10

* Fix "-sqlite ssl" build (pkg-config required).
* Fix -nls build (PLIST problem).

Changelog:
aria2 1.18.10
=============

Release Note
------------

This releases fixes several bugs reported since the last release.

Changes
-------

* Add encoding specifier to Russian man page

  Fixes GH-341

* Mingw: Use _wgetenv to get user's home directory

  Fixes GH-342

* Handle linux getrandom returning EINTR on interrupts/signals

  Also handle ENOTSUP failures where aria2 was build with linux
  headers newer than the actual running kernel.

  Fixes GH-336


aria2 1.18.9
============

Release Note
------------

This releases fixes memory leak with OpenSSL and crash on OSX when
proxy is used.  We added several new features.  Adler32 checksum is
now available in --checksum option and hash element in Metalink files.
We added --bt-detach-seed-only option, which excludes seed-only
downloads when counting concurrent active downloads (-j option).  We
disabled SSLv3 by default.  If you ever want to enable it or further
tune the TLS protocols to enable, use new --min-tls-version option.
--bt-force-encryption option was added to make requiring BitTorrent
full encryption easier.  From this release, we build Android binary
using API level 16.

Changes
-------

* Support HTTP date ending "+0000" as well as "GMT".

  Closes GH-330

* Revise getRandom facilities

  Use one of the following to provide random bytes:
  - Windows CryptGenRandom
  - Linux getrandom (syscall interface to urandom, without nasty
    corner cases such as file descriptor exhaustion or re-linked
    /dev/urandom)
  - std::device_random (C++ random device, which usually will be
    urandom)

  This also equalizes util::getRandom and SimpleRandomizer (the former
  will now use the latter) instead of having essentially two different
  PRNG interfaces with potentially different quality.

  Closes GH-320

* Added debug log of all Metalink URLs with final priorities

  Patch from Dan Fandrich

* Use gcc-4.9 and android-16 API level for android build

* Add --bt-force-encryption option

  This option requires BitTorrent message payload encryption with
  arc4. This is a shorthand of --bt-requre-crypto
  --bt-min-crypto-level=arc4.  If true is given, deny legacy
  BitTorrent handshake and only use Obfuscation handshake and always
  encrypt message payload. This option defaults to false.

* TLS: Fix memory leak with OpenSSL

  Based on the patch submitted by midnight2k

* Warn about insecure SSL connections.

  Fixed GH-313

* Add --min-tls-version option

  The --min-tls-version option specifies minimum SSL/TLS version to
  enable. Possible Values: SSLv3, TLSv1, TLSv1.1, TLSv1.2 Default:
  TLSv1

* LibsslTLSContext: Disable SSLv3 and enable ECDHE cipher suites

* Add Dockerfile.mingw

  Dockerfile.mingw builds aria2 Windows binary.  It is probably the
  easiest way to build the Windows binary.

* Fix crash when JSON batch response vector is empty

* Fix doc: Wrong rpc secret token prefix

* Add --bt-detach-seed-only option

  This option excludes seed only downloads when counting concurrent
  active downloads (-j option).  This means that if -j3 is given and
  this option is turned on and 3 downloads are active and one of those
  enters seed mode, then it is excluded from active download count
  (thus it becomes 2), and the next download waiting in queue gets
  started.  But be aware that seeding item is still recognized as
  active download in RPC method.

* mingw: Use MoveFileExW for better atomic move

* Work around libintl's vprintf macro messing with OutputFile::vprintf

  Patch from David Macek

* Fix crash on OSX when proxy is used

  See GH-275

* Support Adler32 checksum

  Adler32 checksum is available for --checksum option and hash element
  in Metalink files.  Currently, we use Adler32 implementation in
  Zlib.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Dec 31 01:38:11 2014 UTC (10 years, 4 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +44 -43 lines
Update to 1.18.8

Changelog:
aria2 1.18.8
============

Release Note
------------

This releases fixes the bug that aria2 cannot read piped stdin on
mingw32.  It also fixes busy loop on mingw32 when SSL/TLS is used.  We
also fixed 2 crashes which can occur on all platforms.

Changes
-------

* WinTLS: Fix abrupt connection closing and closing in general.

  Fixes GH-277

* LibsslTLSSession: Treat 0 from readData as EOF

* Enable dynamicbase and nxcompat in Windows binaries

* Fix crash in OpenedFileCounter::ensureMaxOpenFileLimit()

  The crash happens if PieceStorage and/or DiskAdaptor are not
  initialized in one of active RequestGroups.

* mingw32: Fix bug that aria2 does not read piped stdin

* Fix std::length_error when no_proxy is used

  This is regression introduced in 8cada497.

* Try to set sane limits for RLIMIT_NO_FILE

  E.g. on OSX the default is 256, which isn't exactly compatible with
  torrent downloads.

  Closes GH-257

* Delay auth failures instead of PBKDF2

  Closes GH-256



aria2 1.18.7
============

Release Note
------------

This release fixes regression which makes 100% CPU utilization in
multi-file torrent download with -V option.  It also fixes build error
on big endian platforms.

Changes
-------

* Fixed segfault unsupported encodings

  Patch from diadistis

* Fix regression 100% CPU utility when -V is used and download is
  multi-file bittorrent downloads.

  This is regression of a3426821c8a7f9cf8d80a81726157d4eb844f661

* Fix compile error on big endian platform



aria2 1.18.6
============

Release Note
------------

This release fixes several bugs reported in github issues and adds a
feature to make RPC authentication more resilient to certain attacks.
New option --pause-metadata is added.  The explanation is a bit log,
so check the changelog and manual.  The session is now only saved if
there are changes from the last saved state.

From this release, MinGW32 build uses Windows native TLS
implementation and no longer use OpenSSL library.

Changes
-------

* Disard cache when checking checksum

  This will slow down checksum checking but does not thrash cache.

* Compat with libuv 0.11 (Unstable)

  Fixes #241

* Drop WinMessageDigestImpl.

  The algorithms the `CryptProv` on Windows supports does not
  currently include SHA-224, so there is a "dark spot" in this
  implementation. Also on Win XP < SP3, most of the SHA-2 family is
  not actually supported.  All other implementation provide support
  for MD5, SHA-1 and all of the SHA-2 family, hence drop the
  incomplete WinMessageDigest implementation in favor of any other
  supported implementation (at least the internal implementation is
  always available at compile-time).

* Add --pause-metadata option

  This option pauses downloads created as a result of metadata
  download. There are 3 types of metadata downloads in aria2: (1)
  downloading .torrent file. (2) downloading torrent metadata using
  magnet link. (3) downloading metalink file.  These metadata
  downloads will generate downloads using their metadata. This option
  pauses these subsequent downloads.

* Improve compiler/platform/libs information in logs

  Add and use usedCompilerAndPlatform().  This adds compiler
  information to INFO logs and the --version output, and may be
  helpful when trying to diagnose/reproduce user-reported problems.

  Also make INFO logs include usedLibs() output.

  Closes #235

* Fix use-after-free on exit with multi-file torrent download + DHT

  DefaultPieceStorage may be referenced by one of DHT task (e.g.,
  DHTPeerLookupTask), after RequestGroup was deleted, and even after
  RequestGroupMan was deleted.  DefaultPieceStorage has a reference to
  MultiDiskAdaptor which calls RequestGroupMan object on destruction.
  So when DHT task is destroyed, DefaultPieceStorage is destroyed,
  which in turn destroys MultiDiskAdaptor.  DHT task is destroyed
  after RequestGroupMan was destroyed, MultiDiskAdaptor will use now
  freed RequestGroupMan object, this is use-after-free.

* Fix bug that zero length file is not opened when flushing cache

  This bug was only seen when MultiDiskAdaptor was used.

* Support PREF_DIR change for Metalink files

  Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b,
  and now support changing PREF_DIR for Metalink downloads.

* Fix assertion failure when dir option of paused HTTP/FTP download is
  changed

  When the directory is changed via aria2.changeOption RPC method, we
  directly change first FileEntry's path using FileEntry::setPath().
  If there is no PREF_OUT option is given, basically file name is
  unknown, so we just set empty string and let the next run determine
  the correct file name and new directory is applied there.  But
  previous code does not reset length property of FileEntry, so the
  unexpected code path is taken when unpaused and its path expects
  path is not empty string.  This commit fixes this issue by setting
  length to 0 using FileEntry::setLength().

* Save session only when there is change since the last serialization

  This is a slight optimization not to cause useless disk access.
  This only applies to saving session automatically (see
  --save-session-interval).  aria2.saveSession and serialization at
  the end of the session are always performed as before.

  When serialization, we first check that whether there is any change
  since the last serialization.  To do this, we first calculate hash
  value of serialized content without writing into file.  Then compare
  this value to the value of last serialization.  If they do not
  match, perform serialization.

* Fix (unknown length) downloads larger than 2GiB

  Closes #215

* Fix F_PREALLOC based allocation on some OSX versions

* Use index.html as filename for conditional-get when file is missing
  in URI

  Previously we disabled conditional-get if file part is missing in
  URI.  But we use constant string "index.html" in this case, so we
  can do the same to determine the modification time.  In this patch,
  if we have file part in URI, we are not going to set absolute file
  path in FileEntry, since it prevents content-disposition from
  working.

* Always add README.html to dist_doc_DATA

  rst2html is required to produce README.html from README.rst.  We
  include generated README.html to distribution.  And rst2html is not
  required when compiling sources in distribution and always
  README.html is available.

* Validate token using PBKDF2-HMAC-SHA1.

  This change should make token validation more resilient to:
  - timing attacks (constant time array compare)
  - brute-force/dictionary attacks (PBKDF2)

  Closes #220

* Add --disable-websocket configure option

* mingw32: Enable wintls and compile with GMP

  By enabling wintls, we can use Windows certificate store to validate
  server's certificate.  Previously, we built windows build using
  openssl and since we don't bundle CA certificates, aria2 fails to
  validate server's certificate unless user setups their CA
  certificates.  GMP provides fast big integer calculations, whic is
  used in BitTorrent encryption.

* AppleTLS: Enable BEAST mitigations in ST

  Only available in 10.9+, but since we might be building on a
  previous version but running on 10.9+, always try to set the option.

* WinTLS: Accept chains with no revocation information.

  This is kind what browser do anyway (IE, Firefox, Chrome tested),
  what AppleTLS does, what GnuTLS does and what OpenSSL
  does. Actually, most browsers will also be OK with the CRL/OCSP
  provider being offline.  WinTLS will still fail in that case.

  Should revocation information be available in the trust chain (CRL
  or OCSP) the certificate still will be checked!

  "Real" CAs, aka. those provided by the OS or system CA bundle,
  usually provide revocation information and are thus still checked.
  It should be mostly (only?) custom (organization) CAs that lack
  revocation information, but those users might want to use aria2 in
  their intranets and VPNs anyway ;)

  See #217

* Fix GnuTLS 2.x compatiblity

  Closes GH-216

* AppleTLS: Use newer, non-deprecated API in 10.8+



aria2 1.18.5
============

Release Note
------------

This release fixes BitTorrent download failure on Mingw build.

Changes
-------

* Ignore error when setting DSCP value

  Setting DSCP is additional feature and failure to enable it should
  not abort download entirely.  This change fixes the bug that windows
  build does not perform bittorrent downloads.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jul 14 15:03:14 2013 UTC (11 years, 10 months ago) by rodent
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +43 -43 lines
Make NLS optional and move it to options.mk, but enabled by default. Move
gettext-lib dependency to that option. Buildlink libiconv and pthread.
USE_TOOLS+=bison msgfmt msgmerge xgettext. USE_LIBTOOL=yes.
Bump PKGREVISION.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jun 9 02:11:34 2013 UTC (11 years, 11 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +0 -1 lines
Update to 1.17.1

Changelog:

aria2 1.17.1
============

Release Note
------------

This release adds large file support for Android build and libuv
support for event polling mechanism. AppleTLS now supports Snow
Leopard (10.6). The experimental libaria2 C++ library API was added.

Changes
-------

* Add code to detect rst2html.py or rst2html

* AppleTLS: Properly support Snow Leopard (10.6)

  Tested on 10.6.8 + XCode 4.2 (llvm-gcc-4.2, clang)

  Contributed by Nils Maier

* Enable multicast loopback in BitTorrent local peer discovery

* Enable TLS1.1 with gnutls build

* Support off64_t for Android build

  Android NDK R8e does not provide ftruncate64, but bionic has the
  assembler code to access kernel function. We borrowed those
  ftruncate64.S files from android source code repository.  It turns
  out that x86 asm.h in NDK R8e is also broken, so latest asm.h was
  also borrowed.

* Check zlib availability usin AC_CHECK_LIB

  This is workaround for zlib 1.2.3 which does not come with
  pkg-config file.

* Treat response is completed if EOF is received before streamFilter
  completes

  This fixes the error with web server which has buggy chunked
  encoding.

* uitos: Fix off-by-one error bug

* Add configure support for linking tcmalloc_minimal and/or jemalloc

  Both tcmalloc_minimal and jemalloc outperform the native malloc
  implemention on Windows (MSVCRT) in terms of committed memory
  consumption (~-30%) and performance (e.g. far less page faults,
  ~-60%), depending, of course, on the actual workload.  The longer
  the download queue, the bigger the impact ;)

  On *nix the picture is a little different... tcmalloc usually still
  outperforms the native malloc implementation, but not that
  significantly than on Windows. jemalloc however is only marginally
  better than recent native Linux implementations, while it is already
  used by some BSD as the native allocator.

  tcmalloc is part of gperftools and very mature and tested by now. It
  doesn't work on OSX in the default configuration, however.
  http://code.google.com/p/gperftools/

  jemalloc is the default allocator at least on FreeBSD and NetBSD and
  used in Firefox.  http://www.canonware.com/jemalloc/index.html

  Contributed by Nils Maier

* Close GZipFiles in the d'tor

  Contributed by Nils Maier

* Add libaria2, C++ library interface to aria2

  The libaria2 is a C++ library and offers the core functionality of
  aria2. The library takes care of all networking and downloading
  stuff, so its usage is very straight forward right now. See
  libaria2ex.cc in examples directory to see how to use API. By
  default, libaria2 is not built. See libaria2 section in README to
  how to enable it.

  The APIs in this release is considered experimental.

* Add missing check for sigaction

* Fix cached data is not flushed when downloaded data is less than
  16KiB

* LibUV: Implement LibuvEventPoll

  LibUV event will use the best available polling method on a system,
  kind of like aria2 does already with the different *EventPoll
  implementations.  However, libuv may support different/newer polling
  mechanisms; for example on Windows it will use IO Completion Ports
  which are superior to select() ;)

  Contributed by Nils Maier



aria2 1.17.0
============

Release Note
------------

This release adds Mac OS X native SSL/TLS library support.  The IPv6
asynchronous DNS is enabled by default and A/AAAA lookups are done in
parallel. The simple Happy Eyeballs algorithm was implemented to
mitigate long timeout when connecting to IPv6 host on dual-stack host.
--save-session option only saves the options specified by command-line
or RPC.

Changes
-------

* Updated Russian manual

  Contributed by ITriskTI

* Updated Portuguese manual

  Contributed by Gilberto dos Santos Alves

* Append --static to pkg-config arguments when ARIA2_STATIC=yes

* Save options directly specified for download in --save-session

  This change makes --save-session save only options specified for
  download, more specifically, options in command-line, -i file and
  via RPC. The other options from conf file and default values are not
  saved.  This will drastically decrease the size of session file.

* Save URI returned only from FileEntry::getRemainingUris()

  The currently used URIs are inserted back into remaining URI list in
  FileEntry::putBackRequest(), which overlaps to some of the URIs in
  spentUris_. If we save spent URIs, each time save is performed, the
  number of URIs are increased due to this overlap. This change fixes
  this bug.

* Print linked 3rd party libraries with version in `aria2c -v` output

* AppleTLS: Support credentials via KeyChain fingerprints

  Contributed by Nils Maier

* AppleTLS: Implement AppleTLS and Apple Message Digest

  Contributed by Nils Maier

* Use info level log for system trusted ca imports failure

  This is because on some platforms (gnutls on cygwin for example),
  library always fails for this function and getting ERROR every time
  aria2c invoked is too hard.

* Don't add Windows native DLLs for Cygwin build

* Remove deprecated options: --enable-direct-io and --metalink-servers

* Deprecate --enable-async-dns6

  The IPv6 asynchronous name resolver is enabled if the host has at
  least one interface with IPv6 address configured (the loopback
  address will not be counted), which is roughly the same behaviour of
  the standard getaddrinfo(3). To disable IPv6 asynchronous name
  resolver, use --disable-ipv6.

* Fix uninitialized UDPTrackerClient::numWatchers_

* Implement simple Happy Eyeballs for HTTP/FTP downloads

* Parallel A and AAAA record lookups with c-ares

  But we don't wait for AAAA query response if A query response has
  been received.  If we got IPv4 lookup response, we don't wait for
  IPv6 lookup response. This is because DNS server may drop AAAA query
  and we have to wait for the long time before timeout. We don't do
  the inverse, because, based on todays deployment of DNS server,
  almost all of them can respond A query just fine.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Mar 19 15:48:29 2013 UTC (12 years, 1 month ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -0 lines
Update to 1.16.4

Changelog:

aria2 1.16.4
============

Release Note
------------

This release fixes the bug that active downloads are not saved with
--save-session-interval and the bug that aria2 hangs when size of
download result exceeds its maximum. BitTorrent UDP tracker support
was added. If the filename specified using --save-session ends with
".gz", aria2 stores the session file in gzipped form. The -i option
can handle this gzipped file as well as plain text file. 1.15.2 based
Portuguese translated manual was added.

Changes
-------

* Make configure argument meaning more consistent and obvious.

  Most other software uses --disable/--without for features it does
  build or at least check by default.

  Change aria2 configure options so that:

  * --enable-*: do not build by default, unless --enable specified
  * --disable-*: check and build by default, unless --disable specified
  * --with-*: do not use by default, unless --with specified
  * --without-*: check and use by default, unless without specified

  Contributed by Nils Maier

* Allow for out-of-tree Sphinx builds

  Contributed by Nils Maier

* Bring back datetime in console log

* Run checksum check if -V and -c are used and file is completed

  With -c option, aria2 can continue download after the existing file
  position. If it is not completed, then after completion aria2 runs
  checksum checking if available. But if existing file has already
  been completed, then CreateRequestCommand exits without issuing
  checksum checking. And aria2 treats it download error because it
  needs checksum verification but it has not been done. This change
  fixes this by properly checking download state and issue checksum
  checking before CreateRequestCommand.

* Support for gzipped -i and --save-session

  Saved sessions may very large, as in hundreds and even thousands of
  megabyte when dealing with large queues.  Add support to save and
  reload sessions to gzipped files, when libz is available.

  The session serializer will output gzipped contents when the file
  ends with .gz, while the input file reader (UriListParser) will
  accept whatever is thrown at it.

  Document -i/--save-session gzip behaviour

  Contributed by Nils Maier

* Do not use a virtual varargs function

  This stuff breaks in some compiler (configurations)

  Contributed by Nils Maier

* Check for sys/signal.h and/or signal.h

  mingw-w64 does not actually have sys/signal.h, while OSX currently
  has a broken signal.h Better check the presence of both and use
  sys/signal.h if present, else signal.h

  Contributed by Nils Maier

* Hygiene: Fix some clang warnings, mostly unused private members.

  Contributed by Nils Maier

* Fix bustage on OSX with ./configure CC=cc CXX=c++ (clang)

  Contributed by Nils Maier

* Do not reference RequestGroups longer than necessary

  There is an initial vector of SharedHandle<RequestGroup> to seed the
  DownloadEngine. This vector was however kept alive via main.cc ->
  MultiUrlRequestInfo up until the program exits, hence effetively
  leaking all initial RequestGroups and associated object instances.

  Hence, as a matter of dirty-workaround, drop the contents of that
  initial vector as soon as it is not required any longer.

  Contributed by Nils Maier

* Detect console with on Windows

  Contributed by Nils Maier

* Fix infinite loop when size of downloadResults_ exceeds maxDownloadResult_

* Support BitTorrent UDP tracker

  It shares UDP listening port with IPv4 DHT. At the moment, in order
  to enable UDP tracker support, enable IPv4 DHT.

* Show correct end byte in error message when HTTP response range is not ok

  Previously, unless HTTP pipelining is enabled, end byte in that
  message is always 0. With this change, it shows correct end byte
  sent to the HTTP server.

* Add Portuguese manual

  This translation is based on aria2 version 1.15.2 manual.
  Contributed by Gilberto dos Santos Alves

* Fix bug that active downloads are not saved with --save-session-interval

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 9 08:10:46 2012 UTC (12 years, 5 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -1 lines
Update to 1.16.0

changelog:
aria2 1.16.0
============

Release Note
------------

This release adds SSL/TLS encryption support in RPC transport. The new
RPC method aria2.appendUri is added, which is a wrapper to
aria2.changeUri. The Content-Disposition parser is now RFC 6266
conformant. The resource leak in XmlParser, JSON and Bencode parser
was fixed. The uploaded data size calculation bug was fixed. For
MinGW32 build, files are now opened with read/write shared mode.

Changes
-------

* mingw32: Open file using _wsopen and added --enable-mmap support

  I tried CreateFile but the subsequent ReadFile fails with Access
  Denied if sparse file is read on NTFS. I mostly reverted previous
  changes and use _wsopen with read/write share enabled instead of
  CreateFile.

  This change also includes --enable-mmap support for MinGW32
  build. Memory mapped file may be useful for 64-bits OS and lots of
  RAM. Currently, FlushViewOfFile is not called during the download,
  so it is slightly vulnerable against sudden power loss. I found lots
  of read when resuming download due to page fault. So for now it is
  useful for the initial download. I recommend not to use
  --file-allocation=prealloc with --enable-mmap for MinGW32, because
  it triggers page faults even in the initial download. Anyway, the
  option is experimental.

* Removed PO files and generated aria2.pot from repository

  Currently, message translation is done at launchpad.  All PO files
  can be exported from there. The merge process from launchpad is done
  when new release. First download export file from launchpad And use
  import-po script to import PO files into po directory.

* Set F_GLOBAL_NOCACHE for Mac OS X

* Enabled TCP_NODELAY

* Don't use AC_FUNC_MMAP

  Don't use AC_FUNC_MMAP becaue it fails on some platforms (e.g.,
  OpenWRT) which have mmap and it works in the way we use in aria2.
  Instead use mmap in AC_CHECK_FUNCS list.

* Added --force-save option.

  --force-save option saves download with --save-session option even
  if the download is completed or removed. This may be useful to save
  BitTorrent seeding which is recognized as completed state.  The
  default value is false.

* Get the correct uploaded data size

  Subtract msgHdrLen_ from writtenLength to get the uploaded data
  size.  Without this correction, the seeder assumes it has uploaded
  more data than it actually has.

* Made --http-no-cache false by default

* Fixed memory leak in AsyncNameResolver

* Fixed resource leak in XmlParser and GenericParser

* Reset iostream format state

* gnutls: Added more status checking when verifying peer

* Content-Disposition parser conforming to RFC 6266.

  RFC 2231 Continuation is not supported.

* Reworked download/upload statistics calculation

  The old implementation calculates download/upload statistics for a
  RequestGroup by summing up all PeerStat objects. For global
  statistics, those are summed together. This clearly incurs runtime
  penalty and we introduced some kind of caching which updates
  statistics every 250ms but it did not work right.

  This change removes all these aggregation code, and instead makes
  RequestGroup and RequestGroupMan objects hold NetStat object and
  download/upload bytes are directly calculated by thier own NetStat.
  This is far more simplar than the old way and less runtime penalty
  and brings more accuracy.

* Added --rpc-save-upload-metadata option

  If true is given, which is default, save the uploaded torrent or
  metalink metadata in the directory specified by --dir option. The
  filename consists of SHA1-hash hex string of metadata plus
  extension. For torrent, the extension is '.torrent'. For metalink,
  it is '.meta4'.  If false is given to this option, the downloads
  added by aria2.addTorrent or aria2.addMetalink will not be saved by
  --save-session option.

* Perform SSL/TLS handshake after checking whether connection is established

* Fixed bug that --enable-mmap won't work if MultiDiskAdaptor is used

* RPC over SSL/TLS transport

  To enable RPC over SSL/TLS, specify server certificate and private
  key using --rpc-certificate and --rpc-private-key options and enable
  --rpc-secure option.  After the encryption is enabled, use https and
  wss scheme to access RPC server.

* aria2rpc: Added appendUri command

  This command calls aria2.changeUri(GID, fileIndex, [], [URI,...])
  internally.

* Don't send Proxy-Connection header field

* Don't set SNI hostname if it does not include "." for GNUTLS

* Disable SSL/TLS compression with OpenSSL

* Pause download even if download is completed

  This allows to pause and unpause BitTorrent seed.

* Use execlp() instead of execl()

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jul 3 19:39:47 2012 UTC (12 years, 10 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -6 lines
Update to 0.15.1

Changelog:
aria2 1.15.1
============

Release Note
------------

This release fixes the bug that prevents --bt-lpd-interface from
working. If some options sent by RPC request are not acceptable for
the download type, they are now simply ignored instead of rejecting
RPC request entirely. The aria2 RPC server now returns 4XX error code
if the request is not valid in the HTTP level. To improve packaging,
--with-bashcompletiondir configure option was added. This option
overrides where the aria2c bash_completion file is going to be
installed. All manual pages are now generated by Sphinx.

Changes
-------

* Return appropriate HTTP status code on RPC failure.  In this change,
  we return 404 if the request path is neither /json-rpc nor /rpc. If
  XML feature is not enabled and /rpc is requested, return 404.  If
  XML parser failed, return 400. JSON parser failure has been handled
  well in the existing code.

* Ignore unacceptable options in RPC request instead of throwing
  error.  This change allows RPC client to send same options for the
  different type of downloads.

* Handle sockaddr_in.sin_len and sockaddr_in6.sin6_len.  Check
  sockaddr_in.sin_len and sockaddr_in6.sin6_len are available and
  assign values to them properly.  This change fixes unit test error
  and most error related to getnameinfo() on netbsd.

* Removed dependency on inet_aton.  Implemented inetPton as a
  replacement of inet_aton. inetPton is implemented using
  net::getBinAddr.  This change fixes bug#3525424.

* Added --with-bashcompletiondir configure option.  By default,
  bash_completion file named aria2c is installed to the directory
  $prefix/share/doc/aria2/bash_completion.  To change the install
  directory of the file, use --with-bashcompletiondir option.

* Converted README.asciidoc into README.rst

* Use Sphinx for aria2 manual page documentation.  The source files
  for manual pages are placed under doc/manual-src.  The manual pages
  are generated under doc/manual-src/$LANG/_build. The HTML version
  manual page was dropped from the distribution archive.

* Fixed the bug which prevents --bt-lpd-interface from working.
  Fixes bug#3520125

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jul 14 06:00:07 2011 UTC (13 years, 10 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -0 lines
Update to 1.12.0

Changelog:
1.12.0
Changes
-------

 * Use ServerStat to find faster server. This is useful when several
   downloads were started in parallel, but one download is slow and
   the other downloads have completed. Then aria2 knows which servers
   are fast by the results of completed downloads, and check the
   available URIs of slow downloads to see faster server is available
   there. If so, use it instead of current slow one to make download
   faster.

 * Added Russian translation of man page and HTML manual contributed
   by ITriskTI.

 * Added aria2.getGlobalStat RPC method.  It returns overall
   download/upload speed and the number of active/stopped/waiting
   downloads.

 * Added --pause option.  This option pauses download after
   added. This option is effective only when --enable-rpc=true is
   given.  When --save-session option is used and there are paused
   downloads, they are saved with --pause=true so that it will become
   paused state when the session is recovered.

 * Abort aria2 if it could not setup any RPC server.

 * Added --truncate-console-readout option.  This option truncates
   console readout to fit in a single line.  This is default. Give
   false value to this option to tell aria2 not to truncate console
   readout.

 * Cache and reuse RpcMethod objects.

 * Allowed missing params in system.multicall RPC method.

 * Added --stream-piece-selector option.  This option specifies piece
   selection algorithm used in HTTP/FTP download. Piece means fixed
   length segment which is downloaded in parallel in segmented
   download. If 'default' is given, aria2 selects piece so that it
   reduces the number of establishing connection. This is reasonable
   default behaviour because establishing connection is an expensive
   operation.  If 'inorder' is given, aria2 selects piece which has
   minimum index. Index=0 means first of the file. This will be useful
   to view movie while downloading it. --enable-http-pipelining option
   may be useful to reduce reconnection overhead.  Please note that
   aria2 honors --min-split-size option, so it will be necessary to
   specify a reasonable value to --min-split-size option.

 * Removed unnecessary template parameter from std::make_pair call.
   The patch was contributed from Dan Fandrich.

 * Implemented fast file allocation in MinGW32 build.  We use
   SetFilePointerEx and SetEndOfFile to allocate extents.  This only
   works with NTFS. To enable this feature, --file-allocation=falloc
   must be given.

 * Only percent-encode non-printable ASCII chars(0x00-0x1f), non-ASCII
   chars(>0x7f), ' ', '"', '<' and '>' for URIs supplied by user and
   remote server(usually Location header field).

 * Don't throw exception if Z_BUF_ERROR is encountered in GZipEncoder.
   This fixed the bug that compressed RPC request failed.

 * Don't save removed download in --save-session text file.  Now stat
   column of removed downloads in Download Results is 'RM' instead of
   INPR.


1.11.2
Changes
-------

 * Updated Japanese, Spanish and Simplified Chinese translation.
   Thanks to all translators.

 * Eliminated few seconds delay when downloads stop or pause.

 * Added --metalink-base-uri option.  --metalink-uri option specifies
   base URI to resolve relative URI in metalink file stored in local
   disk. If URI points to a directory, URI must end with '/'.

 * Run batch file with cmd.exe. Quoted user command.  It seems that we
   have to specify the full path to cmd.exe in the first argument of
   CreateProcess() to run batch file in proper manner.  We first
   determine the full path to cmd.exe. To do this, we get windir
   environment variable and concatenate it with "\system32\cmd.exe".

 * Fixed the bug that the message "Loaded cookies from ..." appears
   when loading cookies from that file failed.

 * Applied patch from Dan Fandrich. This patch fixes compatibility
   issue when compiling aria2 on older systems.

 * Support relative URI in Metalink file.  If relative URI is found in
   Metalink file, aria2 resolves its full URI contatenating the URI
   from which Metalink file is retrieved and relative URI in Metalink
   file. This feature is not available if Metalink file in local disk
   is specified in command line.

 * Erase user and password specified in command-line from argv.  The
   user and password is masked with '*'.

 * If no data type tag is used in XML-RPC, treat the data as string.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 2 13:22:38 2011 UTC (14 years, 2 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -0 lines
Update to 1.10.9.

Clear some warnings of pkglint.

Changelog is too long to include here.
See NEWS file.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jul 25 13:11:14 2010 UTC (14 years, 9 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -1 lines
Update aria2 to 1.10.0.

aria2 1.10.0
============
This release adds an option to limit the number of connections to the
same host in each download. aria2 now chooses server which is least
used in aria2c instance. This release also adds Chromium cookie
support and HTTP only conditional download support which is download
file only when the local file is older than remote file.  aria2 now
can handle %2F in FTP URI properly. HTTP/1.1 chunked decoder was
fixed. For Linux, aria2 uses fallocate by default if it is usable.

aria2 1.9.5
============
This release fixes the bug that causes corrupted file. It also fixes
assertion error in DefaultPeerStorage class. Now aria2 doesn't reset
referer to "" on redirect. log and log-level option can be used
in aria2.changeGlobalOption XML-RPC method. This means you can
dynamically start or stop logging and change log file and log level.

aria2 1.9.4
============
This release fixes the bug that connection reuse on FTP does not work
if FTP server changes root directory based on account. It also fixes
the bug that reading Metalink document from pipe (-M- option) does not
work when aria2 is built with expat or old libxml2(2.7.6 or
earlier). Now aria2 does not emit error if given Metalink document is
empty(no file element). The response of aria2.tellStopped XML-RPC
method now has more information: totalLength, completedLength,
uploadLength, bitfield and so on.

aria2 1.9.3
============
This release fixes the bug that aria2 cuts filename after ';' if
filename in Content-Disposition header includes ';'. It also fixes
the bug that name attribute of file element in Metalink file is not
properly sanitized.

aria2 1.9.2
============
This release adds kqueue, port_associate/port_getn and poll() support
for socket event notification to eliminate 1024 file descriptor
limitation of select() call. The bug that aria2.unpause and
aria2.unpauseAll XML-RPC method fail when -s1 is given in command-line
argument was fixed.

aria2 1.9.1
============
This release adds the ability to save unfinished downloads as text
file. aria2 can read the file with -i option on restart. This
release also adds the ability to download file from scratch when aria2
sees resume is not supported by remote server. This feature is
disabled by default. See --always-resume option for
details. --no-proxy option accepts IPv4 network address with CIDR
block. aria2 now doesn't send "Accept-Encoding: deflate, gzip" by
default. --http-accept-gzip option was added to toggle this behavior.
aria2 now treats lines starting "#" in -i list as comments. Several
XML-RPC methods were added: aria2.pause, aria2.unpause,
aria2.shutdown, and their families. The new exist status code '8' was
added. The bug that makes aria2 hang when system time changes while
aria2 is running was fixed on MinGW32, Mac OS X and the system which
has clock_gettime(). Several other bugs also have been fixed.

aria2 1.9.0
============
This release adds Metalink4 support and BitTorrent Local Peer
Discovery. aria2.changeUri XML-RPC method was added. It enables you
to add/remove URIs to existing downloads dynamically. The user and
password for proxy server now can be specified in command-line
separately. We refactored the code based on profiler results, so
aria2 now runs more efficiently than ever. Russian and Simplified
Chinese translation were updated.

aria2 1.8.3
============
This release fixes the bug that --file-allocation=falloc doesn't work
with single file download. It also fixes the bug that the return value
of aria2 is unreliable if error occurs before download begins. When
custom request headers specified by --header option now override
built-in headers if they have same name.

aria2 1.8.2
============
s release fixes the bug that causes segmentation fault with
--max-file-not-found option involved. Now aria2 can handle redirected
URI which is not properly percent encoded. In MinGW32 build, console
readout is now always cut by 80 characters. 'bittorrent' key is added
to the response of tellStatus XML-RPC method. The associated value of
the key is a struct and contains data retrieved from .torrent file,
such as name, announce-list, comment, etc.

aria2 1.8.1
============
This release fixes the bug that causes segmentation fault if unknown
options exist in aria2.conf file and user cannot include empty line in
aria2.conf.

Following new command line options are added: --http-no-cache,
--bt-metadata-only and --human-readable option. --dir option now
treats "" as ".". --all-proxy, --http-proxy, --https-proxy and
--ftp-proxy option accept empty string "". When "" is given, it
erases previously defined proxy.

aria2.getSessionInfo XML-RPC method was added. aria2.tellWaiting and
aria2.tellStopped XML-RPC method accept a negative integer as
offset. For example, in aria2.tellWaiting, 'offset' == -1 points last
download in the waiting queue and 'offset' == -2 points the download
before the last download, and so on. 'dir' and 'files' key were added
to the response struct of aria2.tellStatus XML-RPC method. The value
associated with 'files' key is the list of files. Its element is the
same struct used in aria2.getFiles XML-RPC method. 'uris' key was
added to the response struct of aria2.getFiles XML-RPC method. The
value associated with 'uris' key is the list of URIs. Its element is
the same struct used in aria2.getUris XML-RPC method. aria2 now
returns gzip compressed XML-RPC response if XML-RPC client accepts
gzip content encoding.

aria2 1.8.0
============
This release fixes the bug that configure script fails to detect
GnuTLS library if --without-sqlite3 is given. The new XML-RPC methods
are added: aria2.getOption, aria2.getGetGlobalOption,
aria2.changePosition, aria2.tellStopped and system.multicall.
--bt-save-metadata option is added. This option saves metadata as
.torrent file. This option has effect only when BitTorrent Magnet URI
is used.

aria2-1.7.2
============
This release fixes the bug that aria2 listens wrong port in
BitTorrent/FTP downloads when --interface option is used. If
--metalink-file='-' is given, aria2 now reads Metalink file from
stdin. Magnet URI is printed in the output of -S option. DHT is
now enabled by default. DHT doesn't start while aria2 only handles
HTTP/FTP downloads. On the first torrent download begins, aria2
initiates DHT functionality. After that, DHT runs until aria2 exits

aria2 1.7.1
============
This release fixes the bug that --bt-prioritize-piece=tail is not
working.

aria2 1.7.0
============
This release adds BitTorrent Magnet URI support. 3 options were
added: the ability to bind to particular interface, disabling IPv6 and
prioritizing piece in BitTorrent downloads. In configure script, if
--with-PACKAGE and --enable-FEATURE are given but PACKAGE is missing
in the system or FEATURE cannot be enabled in the current
configuration, the script now prints error message and exits.
--http-auth-scheme option was removed since it is useless. Updated
Russian, Ukrainian, German and French translations.

aria2 1.6.3
============
This release fixes reported bugs and updates Polish, Catalan, French,
Italian, Russian and Japanese translations.

aria2 1.6.2
============
This release fixes segmentation fault error if URI to download
contains printf format string and logging is enabled. The build
scripts are updated to automake 1.11 and autoconf 2.64. Updated
Ukrainian translation.

aria2 1.6.1
============
This release fixes memory leak in HTTP/FTP download. It also fixes the
bug that the option values changed by XML-RPC changeOption and
changeGlobalOption methods are cleared. Now User-agent and Peer ID
include version number. Updated Simplified Chinese translations.

aria2 1.6.0
============
This release changes the default behavior of XML-RPC server. Now it
listens only on local loopback interface by default for security
reasons. If you want to connect to aria2c from remote hosts, use
--xml-rpc-listen-all option. The XML-RPC client sample script written
in Ruby are now included in the archive under doc/xmlrpc directory.
These scripts are licensed under MIT License. The help category tags
are now start "#" to distinguish them from keyword search. Several
help category tags were added: #xml-rpc, #cookie, #hook and #file.
--retry-wait option was removed because it doesn't work properly under
the architecture. Updated Bulgarian, Russian, Slovak and Japanese
translations.

aria2 1.5.2
============
This release fixes the bug that when the first attempt to establishing
connection fails, aria2 don't try to connect another address and a
download immediately fails. -S output was enhanced: exact file size
is now printed. For -S with torrent file, meta data such as comment,
comment.utf-8, created by and creation date are now printed. Ukrainian
and Russian translations were updated.

aria2 1.5.1
============
This release fixes linker error in unit test code on 32bit
systems. The unit test failure on mingw32 was also fixed. The file I/O
error handlings were written.

aria2 1.5.0
============
This release adds WEB-Seeding support for multi-file torrent.
--bt-stop-timeout option was added. This function stops BitTorrent
download if the download speed is 0 in consecutive given seconds.
aria2 now tries all resolved addresses to connect to remote servers in
HTTP(S)/FTP until it gets connected. For XML-RPC, two new methods
were added: aria2.tellWaiting and aria2.getVersion. The error code is
available in the response of aria2.tellStatus methods for
stopped/completed downloads. --use-head is now disabled by default
since using HEAD request causes problems in some web sites. The
behavior of -D option has been changed: If -D is specified, the
current working directory is set to / and stdin, stdout and stderr are
redirected to /dev/null. This release fixes the bug that zombie
processes are created when commands specified in --on-download-*
options are executed and the bug that http-user, http-passwd, ftp-user
and ftp-passwd are ignored when they are given via XML-RPC. Updated
Russian, Italian, Danish, Bulgarian, Japanese and Ukrainian
translations.

aria2 1.4.1
============
This release fixes the compile error without the development package
of c-ares library installed. The compile error under MinGW was fixed.
aria2.tellStatus XML-RPC method now returns "uploadLength" and
"numSeeders". Ukrainian translation was updated.

aria2 1.4.0
============
This release adds XML-RPC interface and the ability to run command
when download started/stopped and the ability to save cookies. The
current XML-RPC API allows users to add http(s)/ftp/torrent/Metalink
download and change options dynamically. The APIs such as reporting
download progress, file paths, URIs and peer information are also
available. For complete API specification, see XML-RPC INTERFACE
section in man page and
http://apps.sourceforge.net/trac/aria2/wiki/XmlrpcInterface. The
console readout was slightly updated and now includes the number of
seeders the client has connected to. Slovak translation was
added. Ukrainian and Brazilian Portuguese translation were updated.

aria2 1.3.3
============
This release fixes the bug that --check-integrity option doesn't work
properly if a file including last piece is missing and increases
internal receive buffer for FTP in order to receive big banner.
Ukrainian, Russian and Simplified Chinese translations were updated.

aria2 1.3.2
============
This release fixes the bug that prevents certain BitTorrent downloads
from finishing and possible segmentation fault when gzip decoding is
involved and infinite loop bug if last "0" chunk-size marker is not
received in chunked encoding transfer. aria2 now supports
WEB-Seeding(HTTP-Seeding) for single file torrent. Ukrainian
translation was updated.

aria2 1.3.1
============
This release fixes the bug that aria2 wrongly determines that
specified share ratio is reached because of miscalculation of upload
bytes and the bug that upload limit exceeds the value specified in
--seed-ratio option depending on the timing of the execution of
SeedCheckCommand.

aria2 1.3.0
============
This release adds the ability to specify the output filenames in
BitTorrent downloads and the option to limit overall download speed
and dry run mode which just checks the availability of the remote
file. -i list option can now take new options: select-file and
index-out. The default behavior of sending HTTP Authorization header
is reverted back to version 1.1.2 style. The bug in
AdaptiveURISelector was fixed. You can now seed read-only files in
BitTorrent. --file-allocation option can take new parameter
'falloc'. If it is given and you are using newer file systems such as
ext4, btrfs or xfs, large(few GiB) files are allocated almost
instantly. The performance optimization has been done and aria2 runs
more efficiently.

Indonesian, Russian, Italian, Ukrainian, Simplified Chinese, Japanese,
Spanish and Norwegian Nynorsk translations were updated.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jun 14 18:09:21 2009 UTC (15 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -2 lines
Remove @dirrm entries from PLISTs

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Mar 8 23:41:33 2009 UTC (16 years, 2 months ago) by bjs
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +32 -32 lines
Update to aria2-1.2.0.  Many, many changes (too verbose to list here);
please see ChangeLog.  NOTE: libares is no longer supported; libcares
is used by default.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Oct 29 01:04:06 2008 UTC (16 years, 6 months ago) by bjs
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -1 lines
Update to aria2-0.16.2.  Notable changes:

- Added Serbian, Vietnamese, and Traditional Chinese translations.
  Updated French, Simplified Chinese, and Japanese Translations.

- Added length equality test to operator== to drop a piece message
  whose length does not match to the requested one.

- Fixed the bug that aria2 aborts when a request larger than 16KiB is
  recieved.  In this fix, if a request larger than 16KiB length is
  received, aria2 disconnects the peer.

- Updated man page. Changed doctype of aria2c.1.html to manpage in order
  not to replace '--' with em dash character.

- Added --auto-save-interval=SEC option. A control file(*.aria2) is saved
  every SEC seconds.

- Added --dht-file-path option to change the path to dht.dat, which is a
  serialized DHT routing table.

- Fixed the bug that last character in URI is not encoded.

- Fixed the bug that referer header field contains fragment.  Now Request
  class removes fragment part of URI and encodes it in Request::setUri()
  and setReferer().

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 8 03:07:48 2008 UTC (16 years, 8 months ago) by bjs
Branches: MAIN
CVS tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
Update to aria2-0.15.3.  Changes:

  Added Turkish translation. Updated German and Russian translations.

  If an error occurred with a URI, remove identical URI from remaining
  URI list because it is likely that same error occurred in the end and it
  is waste of time.

  Added -lrt to LIBCARES_LIBS if -lrt is needed to link program with
  -lcares.

  Moved implementation to SimpleRandomizer.cc from SimpleRandomizer.h.
  Added return value of getpid() to argument of srand() to achieve more
  randomized value.

  Contact tracker frequently when the number of connections are 0 and
  download is not finished yet.

  Moved threshold values to UTPexExtensionMessage.

  Added _incoming member to Peer class and made it true if the peer
  initiated connection. Don't add those peer to UTPex message.
  If extended handshake is received, assign _incoming to false.

  Fixed infinite loop bug in FTP when SIZE command failed.

  Made files whose name ends with ".gz", ".tgz" not inflated by Content
  Encoding Decoder. Removed size threshold for turning off on the fly
  inflation because resulting file may or may not be inflated depending
  on the file size and I think it is not expected by users.
  This change fixes segmentation fault when Metalink file contains gzipped
  file and its filesize is provided.

  Fixed chunk checksum validation cannot detect trailing garbage data.
  BUG#2074141

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 19 14:41:58 2008 UTC (16 years, 8 months ago) by bjs
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -0 lines
Update to version 0.15.2.  This release features extensive bug fixes and
significant feature enhancements; it also now builds on OpenSolaris
(tested with NexentaOS by development community).

I urge all users to upgrade.

A _partial_ list of changes:

- Added and/or updated Danish, Greek, Spanish, Catalan,
  Norwegian Nynorsk, Bulgarian, French, Catalan, and Japanese
  translations.
- Man page fixes.
- Fixed: numCommand is less than the value specified in -C option.
- Myriad bug fixes.
- Now uses name attribute in Metalink as local filename in
  BitTorrent downloads. BUG#2033999
- Fixed memory leaks in test code.
- Fixed wrong argument passing to BitfieldMan::isBitSet()
- Initialized _directIOAllowed
- Fixed memory leak in gzip decoder and metalink parser state
  machine.
- Plug many other memory leaks and fix unmatch malloc/free calls.
- Removed max chunk size check. This change fixes BUG#2040169
- Fixed the bug that causes segmentaion fault when resuming
  download using metalink without size tag. Reproducible only
  using HTTP URI.
- Removed writable check when socket's send buffer is full in
  BitTorrent downloads to lower CPU usage.
- Fixed broken gzip inflation.
  Turn off segmented downloading if gzip content is smaller than
  or equal to 1MiB and inflate the data on the fly, because HTTP
  response header doesn't contain the length of inflated
  file we can't determin where the chunk of data should be written.
  On the other hand, if gzip content is larger than 1MB, then
  turn off on the fly inflation, because some servers returns
  "content-type: gzip" for *.tgz, *.gz files.
 - Added gzip decompressor via libz.
 - Cache last calculated average download/upload speed.
 - Supported absolute/relative path in Location header field.
 - Use File::exists() instead of File::isFile() to allow non-
   regular file such as block special files.
 - Added a message "aria2 doesn't verify signature" to log message
   when signature file is saved.
 - Added the ability to save signature when download is completed
   if signature is available. The filename of signature file is
   the path to download file followed by ".sig". If it already
   exists, then signature will not be saved.
 - Improve accuracy of documentation and rename some options to be
    more descriptive of their functions/purposes.
 - Added the ability to retrieve signature from Metalink file.
    A retrieved signature is stored in Signature class and it is
    held by DownloadContext class. Note that aria2 doesn't
    verify signature.
 - Added --bt-seed option. If --bt-seed=true is given at the
    command-line, aria2 seeds previously downloaded files
    without validating piece hashes.
 - Fixed the compile error on Nexenta OS(GNU/Solaris OS).
    (Don't define `struct addrinfo' when __sun is defined)
 - Fixed the bug that UTF-8 encoded URL is not URL-encoded
 - Properly differentiate between ftp errors and actual zero-byte
   files (now supports ftp servers which do not recognize SIZE
   raw command).

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Apr 16 00:09:39 2008 UTC (17 years, 1 month ago) by bjs
Branches: MAIN
CVS tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -0 lines


Update to version 0.13.1+2.  This update includes myriad bug fixes
and feature enhancements--way too many for this commit message.
While here, deprecate aria2-metalink option. Aria2 now supports
building with libexpat, so we do that by default now.

Some of the more significant changes:
-------------------------------------

* Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
  installed.  Fixed compilation on: x84-64 platform, Mac OSX, g++-4.3,
  and without c-ares/ares.

* Added Simplified Chinese translation. Also updated the following
  translations: Polish, Dutch, German, Thai, Indonesian,
  Norwegian Nynorsk, Hungarian, Finnish, Hebrew.

* Changed inactive connection timeout to 120.
  To accept more mulually interested peers, disconnect peer when there
  is no interest between us after certain time passed.
  Lengthened DNS timeout to 30. I think old value '10' will be a
  little bit short when some DNS servers are offline and several
  DNS servers are tried. It should be configured by
  command-line option.

* Fixed the bug that prevents aria2 from stopping other than by pressing
  Ctrl-C in BitTorrent download. It is reproducible using --seed-time
  option. aria2 doesn't stop even after --seed-time is satisfied and
  continues to output blank lines in the console.

* Added Message Stream Encryption(MSE) support.
  Currently, aria2 accepts incoming connections with Obfuscation Header
  and legacy BitTorrent Header and establishes connections with
  Obfuscation Header first and if failed then retry with legacy
  BitTorrent header. If plain text and ARC4 is provided, aria2 always
  choose ARC4. The new option to change the default behavior is planned.
  For tracker extension, "supportcrypto=1" is added statically.

* Added the ability to load nodes from torrent file. These nodes are
  added to the routing table when downloading that torrent.

* Added the ability to stop aria2 itself when given time has passed
  from start. Use --stop option to specify time in minutes.
  When 0 is given, this feature is disabled.
  before calling RequestGroupMan::fillRequestGroupFromReserver().
  Without this modification, the result list shows "ERR" when aria2 is
  stopped by --stop option. It should be "INPR".
  Bootstrap through node added by port message.
  Currently bootstrap is executed if the number of buckets in routing
  table is 1.

* Added DHT functionality, compatible with mainline.
  DHT is disabled by default. To enable it, give --enable-dht to aria2c.
  You may need to specify entry point to DHT network using
  --dht-entry-point. DHT uses UDP port to listen incoming message.
  Use --dht-listen-port to specify port number. Make sure that your
  firewall configuration can pass through UDP traffic to the port.
  The routing table is saved in $HOME/.aria2/dht.dat.  Request peers though
  DHT only when download hasn't finished.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 00:00:18 2008 UTC (17 years, 3 months ago) by bjs
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0 lines

Update to version 0.12.1+1.  Removed patches, as I believe autoconf
should automagically handle the features stuff (or at least other packages
that I look at don't seem to need this if they use autoconf, haven't looked
extensively, though).  This release brings lots of bug fixes.  Among
them are:


2008-01-10  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Fixed the bug that EX_TOO_LONG_PAYLOAD exception is thrown if just
	payload length(4bytes) are received. This happens because
	lenbufLength
	is not updated in this particular case and successive call of
	receiveMessage() overwrites payload length with bytes recieved which
	are payload body.

2007-12-22  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Fixed the bug that causes aria2 not to finish download. BUG#1855875.
	I could reproduce this bug in following procedure:
	1. Stop the download at the very beginning(1% or 100KB downloaded).
	2. Restart aria2.
	3. You see the download stopped around 99%.
	If timeout is reached, then _nextCommand is unused and it may
	contains
	segments and they won't be canceled. Actually, timeout is not needed
	here because if the server dropped connection, then retry is made.

2007-12-22  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Fixed the bug that returns incomplete data when it contains null
	character. A convenient constructor was also added.

2007-12-15  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Fixed the bug that prevents aria2 from loading cookie file when
	expire
	value is greater than 2^31-1. BUG#1851066

2007-12-14  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Fixed possible memory leak when an exception is thrown.

2007-12-10  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Fixed the bug: only first announce URL is tried in AnnounceTier,
	in stopped and completed event.

2007-12-09  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Removed unnecessary string copy. Updated doc and corrected
	indentation.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Dec 14 12:46:21 2007 UTC (17 years, 5 months ago) by bjs
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -0 lines


Update to version 0.12.0.  Also, fix nbcompat includes (they were missing
<nbconfig/config.h>.  Partial list of changes:


2007-12-09  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Removed unnecessary string copy. Updated doc and corrected indentation.
	* src/Base64.cc

	Fixed compilation warnings
	* test/DataTest.cc
	* test/HttpRequestTest.cc
	* test/MetaFileUtilTest.cc
	* test/RequestTest.cc

	* Release 0.12.0

	Added Brazilian Portuguese, Catalan, Italian, Spanish, Swedish
	translations. Many thanks to translators.
	* po/{ca,es,it,pt_BR,sv}.po
	* po/LINGUAS

	Fixed the bug#1845750; CTRL+C does not stop torrent.
	aria2 repeatedly sends stopped request when tracker returns error code.

	Added a message when ctrl-c is hit.
	Now second ctrl-c is also handled in signal handler.


	Changed Direct/IO enable/disable procesure in file allocation routine.
	Disable directIO if offset is not multiple of 512.
	(~SingleFileAllocationIterator): Removed a call to disableDirectIO.
	* src/MultiFileAllocationIterator.cc (allocateChunk):
	Enable created SingleFileAllocationIterator's directIO.
	* src/FileAllocationEntry.cc
	(FileAllocationEntry): Enable directIO here.
	(~FileAllocationEntry): Disable directIO here.

	Fixed the bug: aria2 doesn't utilize fast set index offered by peer.

	Rewritten direct I/O support routine

	Fixed compile error without message digest support.

	Enable direct I/O support in checksum checking.


	Added --allow-piece-length-change option.

	Fixed: duplicated result entry appears when exception is thrown in
	RequestGroup::createInitiateConnectionCommand().
	* src/RequestGroupMan.cc (fillRequestGroupFromReserver):
	Add RequestGroup to _requestGroup after RequetGroup::
	createInitiateConnectionCommand() succeeds.

	Externalized  message


	Forced download abort when received negative response from http/ftp
	server.

	Added XML2SAXMetalinkProcessor class, which is a lot faster than
	the predecessor, Xml2MetalinkParser class.
	I tested them against 94KB metalink file with 1234 chunk checksums.
	The new one parsed it in 22msec, while it took 6000msec with old one.

	Rewritten Base64 class for better performance.

	Fixed the bug#1841757: aria2 will connect to server to only get
	file size.

	Suppressed wrong message when finding PreDownloadHandler


	Eliminated g++-4.2 warning
	Fixed bug: --check-integrity doesn't work for multi file torrent.


	Added direct I/O support. The current implementation uses O_DIRECT,
	which is not posix standard and is tested on linux 2.6.21.
	Currently only file allocation uses direct I/O.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Nov 2 18:28:00 2007 UTC (17 years, 6 months ago) by bjs
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -0 lines

Update to version 0.11.4.  This is almost entirely a bug-fix release.
Please see ChangeLog for changes (it's too verbose to list them here).

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Oct 17 09:42:39 2007 UTC (17 years, 7 months ago) by bjs
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines

Import aria2 0.11.3 (patched to stable-0.11 branch).

	aria2 is a download utility with resuming and segmented downloading.
	Supported protocols are HTTP/HTTPS/FTP/BitTorrent; it also supports
	MetaLink 3.0.

	Some of its features:

	* Command-line interface
	* Download files through HTTP/HTTPS/FTP/BitTorrent
	* HTTP Proxy support
	* FTP through HTTP Proxy
	* HTTP BASIC authentication support
	* HTTP Proxy authentication support
	* Segmented downloading
	* Download speed throttling
	* Upload speed throttling in BitTorrent
	* Cookie support
	* Load Cookies from file whose format is one used by Netscape and
	  Mozilla.
	* Run as a daemon process.
	* Selective download in multi-file torrent/metalink
	* BitTorrent Fast extension support
	* Multi-tracker support
	* Metalink version 3.0 support(HTTP/FTP/BitTorrent)
	* Chunk checksum validation in Metalink
	* Can disable segmented downloading in Metalink
	* netrc support
	* Configuration file support
	* Download URIs found in a text file or stdin
	* Parameterized URI support

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Oct 17 09:42:39 2007 UTC (17 years, 7 months ago) by bjs
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>