diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-10-01 15:30:33 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-10-01 15:30:33 +0000 |
commit | 2b38d77a5e5999315e091a7da2bd55a80d0aca26 (patch) | |
tree | ad96541e091d04c2b7b3ff3a78686ada0b7c4e03 /net | |
parent | 6f42aa38e5faf02b48c45c34ffc1772985db8478 (diff) | |
download | pkgsrc-2b38d77a5e5999315e091a7da2bd55a80d0aca26.tar.gz |
Update to 1.15.2
Changelog:
aria2 1.15.2
============
Release Note
------------
This release fixes several critical bugs. It also adds new features
such as TLS SNI and CORS support. The --file--allocation option now
take another value trunc. The new option --enalbe-mmap was added.
aria2 now uses system-wide SSL/TLS certificates by default, which
eliminates the requirement to specify --ca-certificate option.
Changes
-------
* Catch exception from Socket::getPeerInfo() when pooling connection.
Socket::getPeerInfo() may fail if its TCP connection has already
disconnected. In this case, we log this error. The success or
failure of pooling connection should not affect the later execution
of the program. This bug may cause segmentation fault if
Socket::getPeerInfo() throws exception during pooling connection
after successful tracker request.
* Fixed assertion error if --retry-wait is used. In
CreateRequestCommand, if Request object returned from getRequest()
is still sleeping, CreateRequestCommand pools it back but still
holds its reference. This makes assertion error in
UnknownLengthPieceStroage::hasMissingUnusedPiece() from
AbstractCommand::execute().
* Added new file allocation method called 'trunc'. --file-allocation
option can now take new value 'trunc'. 'trunc' uses ftruncate()
system call or platform-specific counterpart to truncate a file to a
specified length.
* Use int64_t instead of off_t. Using off_t, at least, in DiskAdaptor
layer is problematic because torrent can contain under 2GiB files
but total sum of those files may exceed 2GiB limit, which makes
off_t overflow in 32 bit system without large file support. So we
use int64_t in API. We'll check the file length before download so
that it does not exceed max off_t.
* Added TLS SNI support.
* Rewritten timegm replacement function. The algorithm is based on
Python 2.7 calendar.timegm.
* Use system-wide certificates for SSL. Use system-wide certificates
for SSL. For GnuTLS it requires the latest version, 3.0.20. OpenSSL
had it for longer. This means that if SSL library is properly
configured to locate system-wide certificates store, the user don't
have to use --ca-certificate option. Also packagers don't have to
use --with-ca-bundle configure option. Patch from Cristian Morales
Vega
* Fixed base64::decode() return "" if input ends with garbage and no
padding.
* Changed default Peer ID prefix. The new Peer ID prefix is
"A2-$MAJOR-$MINOR-$MICRO-", where $MAJOR, $MINOR and $MICRO are the
major version, the minor version and the micro version
respectively. For instance, 1.15.2 release of aria2 will use
"A2-1-15-2-".
* Don't percent-decode filename value in Content-Disposition. We only
percent-decode filename* value in Content-Disposition because the
encoding is fully specified. But since filename value is not, so we
just accept it as is.
* Don't sum in-flight piece which does not intersect filtered ranges.
When calculating completed length, don't sum the completed length of
piece which does not intersect filtered ranges.
* Fixed segmentation fault when logger failed to open log file.
* Added ARIA2_STATIC precious variable to configure option. To build
statically linked aria2 binary, give ARIA2_STATIC=yes to configure,
like this:
$ ./configure ARIA2_STATIC=yes
* Use PRId64 for int64_t format specifier
* Handle the case when MINGW32 vsnprintf returns -1. MINGW32 vsnprintf
returns -1 if output is truncated. Increased buffer for vsnprintf
in WinConsoleFile and fmt.
* Added --enable-mmap option. If this option is used, map files into
memory using mmap(2). This option is experimental.
* Added CORS preflight request support in RPC interface. This change
is based on the patch from binux.
Diffstat (limited to 'net')
-rw-r--r-- | net/aria2/Makefile | 4 | ||||
-rw-r--r-- | net/aria2/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net/aria2/Makefile b/net/aria2/Makefile index 95719b95a48..6b68c6bf3da 100644 --- a/net/aria2/Makefile +++ b/net/aria2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.34 2012/07/03 19:39:47 ryoon Exp $ +# $NetBSD: Makefile,v 1.35 2012/10/01 15:30:33 ryoon Exp $ # -DISTNAME= aria2-1.15.1 +DISTNAME= aria2-1.15.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/} EXTRACT_SUFX= .tar.bz2 diff --git a/net/aria2/distinfo b/net/aria2/distinfo index 91ae7b9ab87..2eb43353807 100644 --- a/net/aria2/distinfo +++ b/net/aria2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.26 2012/07/03 19:39:47 ryoon Exp $ +$NetBSD: distinfo,v 1.27 2012/10/01 15:30:33 ryoon Exp $ -SHA1 (aria2-1.15.1.tar.bz2) = 67b70d3492b0edb3af314a253540b921e1bc0c4e -RMD160 (aria2-1.15.1.tar.bz2) = 26bdce0d62ffb9f1307284d7ae6ebafbdbff4675 -Size (aria2-1.15.1.tar.bz2) = 2047788 bytes +SHA1 (aria2-1.15.2.tar.bz2) = d33afc9bb4f854f3fc41adf46dd281f0c48b74ec +RMD160 (aria2-1.15.2.tar.bz2) = 1d4e90f2a9dd58b1207068990612f2554531f19d +Size (aria2-1.15.2.tar.bz2) = 2043212 bytes |