diff options
author | bjs <bjs> | 2007-12-14 12:46:21 +0000 |
---|---|---|
committer | bjs <bjs> | 2007-12-14 12:46:21 +0000 |
commit | 4aeb5ec9ab9b0064cd758d2916afc96ba049be30 (patch) | |
tree | b9bdaa9d76929639a7aee520d1d573bced046d6c /net/aria2 | |
parent | a54a6f207c8cfa82c58ece62c70d198d41256673 (diff) | |
download | pkgsrc-4aeb5ec9ab9b0064cd758d2916afc96ba049be30.tar.gz |
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.
Diffstat (limited to 'net/aria2')
-rw-r--r-- | net/aria2/Makefile | 4 | ||||
-rw-r--r-- | net/aria2/PLIST | 7 | ||||
-rw-r--r-- | net/aria2/distinfo | 20 | ||||
-rw-r--r-- | net/aria2/patches/patch-aa | 7 | ||||
-rw-r--r-- | net/aria2/patches/patch-ab | 5 | ||||
-rw-r--r-- | net/aria2/patches/patch-ac | 5 | ||||
-rw-r--r-- | net/aria2/patches/patch-ad | 5 | ||||
-rw-r--r-- | net/aria2/patches/patch-ae | 10 | ||||
-rw-r--r-- | net/aria2/patches/patch-af | 5 |
9 files changed, 39 insertions, 29 deletions
diff --git a/net/aria2/Makefile b/net/aria2/Makefile index 60e0e14a71d..ab4093471df 100644 --- a/net/aria2/Makefile +++ b/net/aria2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2007/11/23 07:46:34 bjs Exp $ +# $NetBSD: Makefile,v 1.7 2007/12/14 12:46:21 bjs Exp $ # -DISTNAME= aria2-0.11.5 +DISTNAME= aria2-0.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 66f2b71a218..64da5ad82c5 100644 --- a/net/aria2/PLIST +++ b/net/aria2/PLIST @@ -1,8 +1,13 @@ -@comment $NetBSD: PLIST,v 1.2 2007/11/02 18:28:00 bjs Exp $ +@comment $NetBSD: PLIST,v 1.3 2007/12/14 12:46:21 bjs Exp $ bin/aria2c man/man1/aria2c.1 +share/locale/ca/LC_MESSAGES/aria2c.mo share/locale/de/LC_MESSAGES/aria2c.mo +share/locale/es/LC_MESSAGES/aria2c.mo share/locale/fr/LC_MESSAGES/aria2c.mo +share/locale/it/LC_MESSAGES/aria2c.mo share/locale/ja/LC_MESSAGES/aria2c.mo share/locale/nl/LC_MESSAGES/aria2c.mo +share/locale/pt_BR/LC_MESSAGES/aria2c.mo share/locale/ru/LC_MESSAGES/aria2c.mo +share/locale/sv/LC_MESSAGES/aria2c.mo diff --git a/net/aria2/distinfo b/net/aria2/distinfo index 3c815d9cde9..5df012614e5 100644 --- a/net/aria2/distinfo +++ b/net/aria2/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.5 2007/11/23 07:46:35 bjs Exp $ +$NetBSD: distinfo,v 1.6 2007/12/14 12:46:22 bjs Exp $ -SHA1 (aria2-0.11.5.tar.bz2) = 93272ca14daf72cccd65140c09a54616a67d6850 -RMD160 (aria2-0.11.5.tar.bz2) = 7aac56e01b297fe40fe6d2d0fd26781ede46239b -Size (aria2-0.11.5.tar.bz2) = 540503 bytes -SHA1 (patch-aa) = 166fd5b7737424762d0cf36dea68951894ead244 -SHA1 (patch-ab) = 47f90f558e4ac0ba0fba6f3cbaad5d2d10de8041 -SHA1 (patch-ac) = 64b43e0b75d82c0602d1c53764ab8e2896a35c69 -SHA1 (patch-ad) = 037d1cc28a45fc636487dcddc5e014ca43df66c4 -SHA1 (patch-ae) = 80a2c165130282b893c39ed6428689c14f7b08bc -SHA1 (patch-af) = 5a045331fc27ced85571ff59e03ed562ad3901fe +SHA1 (aria2-0.12.0.tar.bz2) = 138380000be0e5df2e3ee4cbb39c0f872cdb195b +RMD160 (aria2-0.12.0.tar.bz2) = 4dc96ca15836a6da640940fbb3ad4f8e1c067fa3 +Size (aria2-0.12.0.tar.bz2) = 627019 bytes +SHA1 (patch-aa) = 6d99c0a8a089bb827cdbb72e3df159d826b29db5 +SHA1 (patch-ab) = 306c87e3ad274ed020689796c30dc0925631f371 +SHA1 (patch-ac) = 83360f9d2d17ac2898a4aa2a07213afea13a5f4c +SHA1 (patch-ad) = e0d91e27a16674d5ab8c1d37e3f1cdb6564c6584 +SHA1 (patch-ae) = 1395f44ed49c48e7314345469d19a49bc7aaf1ec +SHA1 (patch-af) = b1c120b3d8a284a2fa5b9483a89a6b4a830eb051 diff --git a/net/aria2/patches/patch-aa b/net/aria2/patches/patch-aa index b1bbef67d27..444bdb2be1a 100644 --- a/net/aria2/patches/patch-aa +++ b/net/aria2/patches/patch-aa @@ -1,13 +1,14 @@ -$NetBSD: patch-aa,v 1.3 2007/11/07 08:08:19 bjs Exp $ +$NetBSD: patch-aa,v 1.4 2007/12/14 12:46:22 bjs Exp $ ---- src/Exception.h.orig 2007-08-28 12:36:33.000000000 -0400 +--- src/Exception.h.orig 2007-11-21 11:14:40.000000000 -0500 +++ src/Exception.h -@@ -37,7 +37,12 @@ +@@ -37,7 +37,13 @@ #include "common.h" #include <string> +#if defined(HAVE_NBCOMPAT_H) +#include <nbcompat/cdefs.h> ++#include <nbcompat/config.h> +#include <nbcompat/stdio.h> +#else #include <stdio.h> diff --git a/net/aria2/patches/patch-ab b/net/aria2/patches/patch-ab index 07d59abdb02..d79fb3a09ca 100644 --- a/net/aria2/patches/patch-ab +++ b/net/aria2/patches/patch-ab @@ -1,13 +1,14 @@ -$NetBSD: patch-ab,v 1.3 2007/11/07 08:08:19 bjs Exp $ +$NetBSD: patch-ab,v 1.4 2007/12/14 12:46:22 bjs Exp $ --- src/common.h.orig 2007-08-28 12:36:33.000000000 -0400 +++ src/common.h -@@ -49,7 +49,12 @@ +@@ -49,7 +49,13 @@ #endif #endif // __MINGW32__ +#if defined(HAVE_NBCOMPAT_H) +#include <nbcompat/cdefs.h> ++#include <nbcompat/config.h> +#include <nbcompat/stdio.h> +#else #include <stdio.h> diff --git a/net/aria2/patches/patch-ac b/net/aria2/patches/patch-ac index c0727b11649..3caf7b5c560 100644 --- a/net/aria2/patches/patch-ac +++ b/net/aria2/patches/patch-ac @@ -1,13 +1,14 @@ -$NetBSD: patch-ac,v 1.3 2007/11/07 08:08:19 bjs Exp $ +$NetBSD: patch-ac,v 1.4 2007/12/14 12:46:22 bjs Exp $ --- src/getaddrinfo.c.orig 2007-08-28 12:36:33.000000000 -0400 +++ src/getaddrinfo.c -@@ -99,7 +99,12 @@ +@@ -99,7 +99,13 @@ #endif #include <sys/types.h> +#if defined(HAVE_NBCOMPAT_H) +#include <nbcompat/cdefs.h> ++#include <nbcompat/config.h> +#include <nbcompat/stdio.h> +#else #include <stdio.h> diff --git a/net/aria2/patches/patch-ad b/net/aria2/patches/patch-ad index f88e8b23884..ddd16ad72b1 100644 --- a/net/aria2/patches/patch-ad +++ b/net/aria2/patches/patch-ad @@ -1,13 +1,14 @@ -$NetBSD: patch-ad,v 1.3 2007/11/07 08:08:19 bjs Exp $ +$NetBSD: patch-ad,v 1.4 2007/12/14 12:46:22 bjs Exp $ --- src/libgen.c.orig 2007-08-28 12:36:33.000000000 -0400 +++ src/libgen.c -@@ -33,7 +33,13 @@ +@@ -33,7 +33,14 @@ */ /* copyright --> */ +#if defined(HAVE_NBCOMPAT_H) +#include <nbcompat/cdefs.h> ++#include <nbcompat/config.h> +#include <nbcompat/stdio.h> +#else #include <stdio.h> diff --git a/net/aria2/patches/patch-ae b/net/aria2/patches/patch-ae index 83a652a8f26..9ababb5754c 100644 --- a/net/aria2/patches/patch-ae +++ b/net/aria2/patches/patch-ae @@ -1,18 +1,18 @@ -$NetBSD: patch-ae,v 1.3 2007/11/07 08:08:19 bjs Exp $ +$NetBSD: patch-ae,v 1.4 2007/12/14 12:46:23 bjs Exp $ ---- src/main.cc.orig 2007-10-27 01:20:58.000000000 -0400 +--- src/main.cc.orig 2007-12-04 06:12:56.000000000 -0500 +++ src/main.cc @@ -69,7 +69,13 @@ - #include <sstream> + #include <fstream> extern char* optarg; extern int optind, opterr, optopt; -+ +#if defined(HAVE_NBCOMPAT_H) +#include <nbcompat/cdefs.h> ++#include <nbcompat/config.h> +#include <nbcompat/getopt.h> +#else #include <getopt.h> +#endif #ifdef ENABLE_METALINK - #include "MetalinkRequestInfo.h" + # include "Metalink2RequestGroup.h" diff --git a/net/aria2/patches/patch-af b/net/aria2/patches/patch-af index 3aab85774bc..c4acd8ad40d 100644 --- a/net/aria2/patches/patch-af +++ b/net/aria2/patches/patch-af @@ -1,13 +1,14 @@ -$NetBSD: patch-af,v 1.3 2007/11/07 08:08:20 bjs Exp $ +$NetBSD: patch-af,v 1.4 2007/12/14 12:46:23 bjs Exp $ --- src/strptime.c.orig 2007-08-28 12:36:33.000000000 -0400 +++ src/strptime.c -@@ -43,7 +43,12 @@ +@@ -43,7 +43,13 @@ #endif // HAVE_TIMEGM #include <stddef.h> +#if defined(HAVE_NBCOMPAT_H) +#include <nbcompat/cdefs.h> ++#include <nbcompat/config.h> +#include <nbcompat/stdio.h> +#else #include <stdio.h> |