pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/aria2 Update to version 0.12.0. Also, fix nbcompa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf2d1af0f506
branches:  trunk
changeset: 536453:bf2d1af0f506
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Fri Dec 14 12:46:21 2007 +0000

description:
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:

 net/aria2/Makefile         |   4 ++--
 net/aria2/PLIST            |   7 ++++++-
 net/aria2/distinfo         |  20 ++++++++++----------
 net/aria2/patches/patch-aa |   7 ++++---
 net/aria2/patches/patch-ab |   5 +++--
 net/aria2/patches/patch-ac |   5 +++--
 net/aria2/patches/patch-ad |   5 +++--
 net/aria2/patches/patch-ae |  10 +++++-----
 net/aria2/patches/patch-af |   5 +++--
 9 files changed, 39 insertions(+), 29 deletions(-)

diffs (184 lines):

diff -r d1142f366999 -r bf2d1af0f506 net/aria2/Makefile
--- a/net/aria2/Makefile        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/Makefile        Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/PLIST
--- a/net/aria2/PLIST   Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/PLIST   Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/distinfo
--- a/net/aria2/distinfo        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/distinfo        Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/patches/patch-aa
--- a/net/aria2/patches/patch-aa        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/patches/patch-aa        Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/patches/patch-ab
--- a/net/aria2/patches/patch-ab        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/patches/patch-ab        Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/patches/patch-ac
--- a/net/aria2/patches/patch-ac        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/patches/patch-ac        Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/patches/patch-ad
--- a/net/aria2/patches/patch-ad        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/patches/patch-ad        Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/patches/patch-ae
--- a/net/aria2/patches/patch-ae        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/patches/patch-ae        Fri Dec 14 12:46:21 2007 +0000
@@ -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 -r d1142f366999 -r bf2d1af0f506 net/aria2/patches/patch-af
--- a/net/aria2/patches/patch-af        Fri Dec 14 11:40:00 2007 +0000
+++ b/net/aria2/patches/patch-af        Fri Dec 14 12:46:21 2007 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index