summaryrefslogtreecommitdiff
path: root/net/aria2
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-07-14 06:00:07 +0000
committerryoon <ryoon@pkgsrc.org>2011-07-14 06:00:07 +0000
commit45377c9411fc284e27d564ed857f43f85ae04c0d (patch)
tree141893ca3213402f31303034025e2d7abeacf8f4 /net/aria2
parentfce3ce603183ebaf6e21df5a131ea2f4aa9d8cde (diff)
downloadpkgsrc-45377c9411fc284e27d564ed857f43f85ae04c0d.tar.gz
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.
Diffstat (limited to 'net/aria2')
-rw-r--r--net/aria2/Makefile5
-rw-r--r--net/aria2/PLIST5
-rw-r--r--net/aria2/distinfo8
3 files changed, 10 insertions, 8 deletions
diff --git a/net/aria2/Makefile b/net/aria2/Makefile
index 7f7e33da1a4..4db2b35a72c 100644
--- a/net/aria2/Makefile
+++ b/net/aria2/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2011/06/10 21:57:09 obache Exp $
+# $NetBSD: Makefile,v 1.27 2011/07/14 06:00:07 ryoon Exp $
#
-DISTNAME= aria2-1.11.1
-PKGREVISION= 1
+DISTNAME= aria2-1.12.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
EXTRACT_SUFX= .tar.bz2
diff --git a/net/aria2/PLIST b/net/aria2/PLIST
index 42e21d623ed..b9192de94c3 100644
--- a/net/aria2/PLIST
+++ b/net/aria2/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.12 2011/03/02 13:22:38 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.13 2011/07/14 06:00:07 ryoon Exp $
bin/aria2c
man/man1/aria2c.1
+man/ru/man1/aria2c.1
share/doc/aria2/README
share/doc/aria2/README.asciidoc
share/doc/aria2/README.html
@@ -8,6 +9,8 @@ share/doc/aria2/aria2c.1.asciidoc
share/doc/aria2/aria2c.1.html
share/doc/aria2/bash_completion/README.txt
share/doc/aria2/bash_completion/aria2c
+share/doc/aria2/ru/aria2c.1.asciidoc
+share/doc/aria2/ru/aria2c.1.html
share/doc/aria2/xmlrpc/README.txt
share/doc/aria2/xmlrpc/aria2mon
share/doc/aria2/xmlrpc/aria2rpc
diff --git a/net/aria2/distinfo b/net/aria2/distinfo
index 557b0c8e0ed..135ef22e9d2 100644
--- a/net/aria2/distinfo
+++ b/net/aria2/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2011/05/04 23:33:11 ryoon Exp $
+$NetBSD: distinfo,v 1.20 2011/07/14 06:00:07 ryoon Exp $
-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
+SHA1 (aria2-1.12.0.tar.bz2) = 5bc6f07f84f6ad1d0e222d2b5c78cd3118e1a569
+RMD160 (aria2-1.12.0.tar.bz2) = 74dadcc764b55d57ae5dd8eca43b8a76f455b9ce
+Size (aria2-1.12.0.tar.bz2) = 1577163 bytes