diff options
author | ryoon <ryoon@pkgsrc.org> | 2011-05-04 23:33:10 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2011-05-04 23:33:10 +0000 |
commit | 5bd55b38bc2ac03b4e8deedf19d1103e6eca9c20 (patch) | |
tree | 2892283855acd1f116d597b417db6e7680e7ad4c /net | |
parent | ce6bf08274445adda5800eb1c8dd9d36d6d84c8e (diff) | |
download | pkgsrc-5bd55b38bc2ac03b4e8deedf19d1103e6eca9c20.tar.gz |
Update to 1.11.1
* aria2-metalink option is removed. This is enabled by default already.
Changelog:
aria2 1.11.1
============
Release Note
------------
This release fixes the bug that aria2 does not work on platforms which
have kqueue() system call due to invalid timeout parameter. The
--show-console-readout option was added. This option toggles the
appearance of console readout.
Changes
-------
* Added --show-console-readout option. This option toggles
appearance of console readout.
* Fixed the bug that microsecond part of timeval overwlows in
waitData(). This bug affects platforms which have kqueue() system
call. Those systems are FreeBSD, OpenBSD, NetBSD and Darwin (Mac OS
X).
aria2 1.11.0
============
Release Note
------------
This release adds JSON-RPC interface. The JSON-RPC and XML-RPC shares
same APIs. The JSON-RPC also supports JSONP. 2 new options were added:
--retry-wait and --async-dns-server. The downloads added by
aria2.addTorrent and aria2.addMetalink RPC method are now saved to the
file specified in --save-session option. The proxy options and related
environment variables now accept https:// and ftp:// scheme. This
release fixes the bug that causes segmentation fault when unpausing
downloads in some situations. MinGW32 build now looks for USERPROFILE
and the combination of HOMEDRIVE and HOMEPATH to get user's home
directory and doesn't check permission of .netrc file.
Changes
-------
* Updated gettext to 0.18
* Added JSON-RPC support. --enable-xml-rpc was deprecated and
--enable-rpc should be used instead. Similarly, --xml-rpc-*
options were replaced with --rpc-* options. We are implementing
JSON-RPC based on JSON-RPC 2.0 draft spec.
* Fixed rounding error in DownloadEngine::run(). This fixes the bug
that executeCommand() with Command::STATUS_ALL is not called in
every interval correctly because of rounding error in timer.
* Refresh buckets at DHT initialization without checking serialized
time. Checking serialized time does not work if you stop aria2 as
soon as it started DHT. The serialized time in dht.dat will be
updated, but buckets are not updated and still old. When you
restart aria2 again soon, it does not refresh buckets because
serialized time is recent.
* Save downloads added by aria2.addTorrent or aria2.addMetalink in
--save-session file. Uploaded data are saved as file named hex
string of sha1 hash of uploaded data plus extension(".torrent" for
torrent and ".meta4" for metalink). For example,
0a3893293e27ac0490424c06de4d09242215f0a6.torrent. The directory
where these files are saved is specified by --dir option. These
file paths are written in --save-session file.
* Fixed the bug that causes segmentation fault when unpause
RequestGroup which has resolved BtDependency.
* Look for USERPROFILE and the combination of HOMEDRIVE and HOMEPATH
to get user's home directory in MinGW32 build. Usually HOME
environment variable is defined in *nix like OSes, but not in
Windows. So in MinGW32 build, if HOME is not defined, we also look
for USERPROFILE and the combination of HOMEDRIVE and HOMEPATH.
* Fixed the bug that DownloadContext::basePath_ is not escaped.
* Added Date, Expires and Cache-Control response header field to RPC
response.
* Added --async-dns-server option. This option accepts comma
separated list of DNS server addresses used in asynchronous DNS
resolver. Usually asynchronous DNS resolver reads DNS server
addresses from /etc/resolv.conf. When this option is used, it uses
DNS servers specified in this option instead of ones in
/etc/resolv.conf. You can specify both IPv4 and IPv6 address. This
option is useful when the system does not have /etc/resolv.conf and
user does not have the permission to create it.
* Accept https:// and ftp:// in proxy options and environment variables.
* Fixed overflow in the calculation of progress percentage for file
allocation and hash check when off_t is 32bit.
* Accept HTTP 304 reply as success when If-None-Match request-header
field is specified using --header option. When --conditional-get
is used, --allow-overwrite is now required to overwrite existing
file.
* Added aria2.removeDownloadResult RPC method. The method signature
is aria2.removeDownloadResult(gid). This method removes
completed/error/removed download denoted by gid from memory. This
method returns "OK" for success.
* Use IP address of control connection to connect to the remote server in
FTP passive mode.
* Don't check permission of .netrc file in MinGW32 build.
* Added --retry-wait option. This option was once existed in aria2
but erased on 2009-09-20. Now it is resurrected once again. We
choose 0 as default value for backward compatibility. Now we retry
HTTP download when remote server returns "503 Service Unavailable"
if --retry-wait > 0. We also added error code 29:
HTTP_SERVICE_UNAVAILABLE.
* Don't show metadata download and paused download in "Download Results".
Diffstat (limited to 'net')
-rw-r--r-- | net/aria2/Makefile | 5 | ||||
-rw-r--r-- | net/aria2/distinfo | 8 | ||||
-rw-r--r-- | net/aria2/options.mk | 11 |
3 files changed, 7 insertions, 17 deletions
diff --git a/net/aria2/Makefile b/net/aria2/Makefile index f555a4e7b8a..f31efb5d466 100644 --- a/net/aria2/Makefile +++ b/net/aria2/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.24 2011/04/22 13:44:20 obache Exp $ +# $NetBSD: Makefile,v 1.25 2011/05/04 23:33:10 ryoon Exp $ # -DISTNAME= aria2-1.10.9 -PKGREVISION= 1 +DISTNAME= aria2-1.11.1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/} EXTRACT_SUFX= .tar.bz2 diff --git a/net/aria2/distinfo b/net/aria2/distinfo index 633d8aefbde..557b0c8e0ed 100644 --- a/net/aria2/distinfo +++ b/net/aria2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.18 2011/03/02 13:22:38 ryoon Exp $ +$NetBSD: distinfo,v 1.19 2011/05/04 23:33:11 ryoon Exp $ -SHA1 (aria2-1.10.9.tar.bz2) = 49f647fb31622619d7c0b7786615986fb0fafb5b -RMD160 (aria2-1.10.9.tar.bz2) = c8e3e1e35e095fb1a22c30ab7c10ac830facadef -Size (aria2-1.10.9.tar.bz2) = 1434965 bytes +SHA1 (aria2-1.11.1.tar.bz2) = b3b37cc7363305d55e86dcd74a73dc493ecfa530 +RMD160 (aria2-1.11.1.tar.bz2) = 5d64470c92d413125552e8d94f4562d4753d248d +Size (aria2-1.11.1.tar.bz2) = 1476116 bytes diff --git a/net/aria2/options.mk b/net/aria2/options.mk index d67aac0e4a5..6ac0f1c65fd 100644 --- a/net/aria2/options.mk +++ b/net/aria2/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.11 2011/03/02 13:22:38 ryoon Exp $ +# $NetBSD: options.mk,v 1.12 2011/05/04 23:33:11 ryoon Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.aria2 @@ -7,15 +7,6 @@ PKG_OPTIONS_REQUIRED_GROUPS= ssl PKG_SUPPORTED_OPTIONS= sqlite PKG_SUGGESTED_OPTIONS= ssl sqlite -### -### XXX Remove this in the future [2008-04-15 bjs] -### -.if !empty(PKG_OPTIONS.aria2:U:Maria2-metalink) || \ - !empty(PKG_DEFAULT_OPTIONS:U:Maria2-metalink) -PKG_OPTIONS_DEPRECATED_WARNINGS+=\ - "NOTE: The aria2-metalink option is deprecated; this package"\ -" now supports the metalink protocol by default." -.endif .include "../../mk/bsd.options.mk" ### |