summaryrefslogtreecommitdiff
path: root/net/aria2
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-06-09 02:11:34 +0000
committerryoon <ryoon@pkgsrc.org>2013-06-09 02:11:34 +0000
commitdce43d83454726ae7a42d8ebccb7116de89688d1 (patch)
treeb51b8acf3208ecaf1db679a3ebe2e09a83b7998a /net/aria2
parent7cae478ab142f489d195ac07aef3acdbf6131b3b (diff)
downloadpkgsrc-dce43d83454726ae7a42d8ebccb7116de89688d1.tar.gz
Update to 1.17.1
Changelog: aria2 1.17.1 ============ Release Note ------------ This release adds large file support for Android build and libuv support for event polling mechanism. AppleTLS now supports Snow Leopard (10.6). The experimental libaria2 C++ library API was added. Changes ------- * Add code to detect rst2html.py or rst2html * AppleTLS: Properly support Snow Leopard (10.6) Tested on 10.6.8 + XCode 4.2 (llvm-gcc-4.2, clang) Contributed by Nils Maier * Enable multicast loopback in BitTorrent local peer discovery * Enable TLS1.1 with gnutls build * Support off64_t for Android build Android NDK R8e does not provide ftruncate64, but bionic has the assembler code to access kernel function. We borrowed those ftruncate64.S files from android source code repository. It turns out that x86 asm.h in NDK R8e is also broken, so latest asm.h was also borrowed. * Check zlib availability usin AC_CHECK_LIB This is workaround for zlib 1.2.3 which does not come with pkg-config file. * Treat response is completed if EOF is received before streamFilter completes This fixes the error with web server which has buggy chunked encoding. * uitos: Fix off-by-one error bug * Add configure support for linking tcmalloc_minimal and/or jemalloc Both tcmalloc_minimal and jemalloc outperform the native malloc implemention on Windows (MSVCRT) in terms of committed memory consumption (~-30%) and performance (e.g. far less page faults, ~-60%), depending, of course, on the actual workload. The longer the download queue, the bigger the impact ;) On *nix the picture is a little different... tcmalloc usually still outperforms the native malloc implementation, but not that significantly than on Windows. jemalloc however is only marginally better than recent native Linux implementations, while it is already used by some BSD as the native allocator. tcmalloc is part of gperftools and very mature and tested by now. It doesn't work on OSX in the default configuration, however. http://code.google.com/p/gperftools/ jemalloc is the default allocator at least on FreeBSD and NetBSD and used in Firefox. http://www.canonware.com/jemalloc/index.html Contributed by Nils Maier * Close GZipFiles in the d'tor Contributed by Nils Maier * Add libaria2, C++ library interface to aria2 The libaria2 is a C++ library and offers the core functionality of aria2. The library takes care of all networking and downloading stuff, so its usage is very straight forward right now. See libaria2ex.cc in examples directory to see how to use API. By default, libaria2 is not built. See libaria2 section in README to how to enable it. The APIs in this release is considered experimental. * Add missing check for sigaction * Fix cached data is not flushed when downloaded data is less than 16KiB * LibUV: Implement LibuvEventPoll LibUV event will use the best available polling method on a system, kind of like aria2 does already with the different *EventPoll implementations. However, libuv may support different/newer polling mechanisms; for example on Windows it will use IO Completion Ports which are superior to select() ;) Contributed by Nils Maier aria2 1.17.0 ============ Release Note ------------ This release adds Mac OS X native SSL/TLS library support. The IPv6 asynchronous DNS is enabled by default and A/AAAA lookups are done in parallel. The simple Happy Eyeballs algorithm was implemented to mitigate long timeout when connecting to IPv6 host on dual-stack host. --save-session option only saves the options specified by command-line or RPC. Changes ------- * Updated Russian manual Contributed by ITriskTI * Updated Portuguese manual Contributed by Gilberto dos Santos Alves * Append --static to pkg-config arguments when ARIA2_STATIC=yes * Save options directly specified for download in --save-session This change makes --save-session save only options specified for download, more specifically, options in command-line, -i file and via RPC. The other options from conf file and default values are not saved. This will drastically decrease the size of session file. * Save URI returned only from FileEntry::getRemainingUris() The currently used URIs are inserted back into remaining URI list in FileEntry::putBackRequest(), which overlaps to some of the URIs in spentUris_. If we save spent URIs, each time save is performed, the number of URIs are increased due to this overlap. This change fixes this bug. * Print linked 3rd party libraries with version in `aria2c -v` output * AppleTLS: Support credentials via KeyChain fingerprints Contributed by Nils Maier * AppleTLS: Implement AppleTLS and Apple Message Digest Contributed by Nils Maier * Use info level log for system trusted ca imports failure This is because on some platforms (gnutls on cygwin for example), library always fails for this function and getting ERROR every time aria2c invoked is too hard. * Don't add Windows native DLLs for Cygwin build * Remove deprecated options: --enable-direct-io and --metalink-servers * Deprecate --enable-async-dns6 The IPv6 asynchronous name resolver is enabled if the host has at least one interface with IPv6 address configured (the loopback address will not be counted), which is roughly the same behaviour of the standard getaddrinfo(3). To disable IPv6 asynchronous name resolver, use --disable-ipv6. * Fix uninitialized UDPTrackerClient::numWatchers_ * Implement simple Happy Eyeballs for HTTP/FTP downloads * Parallel A and AAAA record lookups with c-ares But we don't wait for AAAA query response if A query response has been received. If we got IPv4 lookup response, we don't wait for IPv6 lookup response. This is because DNS server may drop AAAA query and we have to wait for the long time before timeout. We don't do the inverse, because, based on todays deployment of DNS server, almost all of them can respond A query just fine.
Diffstat (limited to 'net/aria2')
-rw-r--r--net/aria2/Makefile5
-rw-r--r--net/aria2/PLIST3
-rw-r--r--net/aria2/distinfo12
-rw-r--r--net/aria2/patches/patch-configure13
-rw-r--r--net/aria2/patches/patch-configure.ac13
-rw-r--r--net/aria2/patches/patch-src_IndexedList.h6
6 files changed, 39 insertions, 13 deletions
diff --git a/net/aria2/Makefile b/net/aria2/Makefile
index 07d8bf5ea9d..4858ecf6e48 100644
--- a/net/aria2/Makefile
+++ b/net/aria2/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2013/05/09 07:40:21 adam Exp $
+# $NetBSD: Makefile,v 1.44 2013/06/09 02:11:34 ryoon Exp $
#
-DISTNAME= aria2-1.16.4
-PKGREVISION= 1
+DISTNAME= aria2-1.17.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
EXTRACT_SUFX= .tar.bz2
diff --git a/net/aria2/PLIST b/net/aria2/PLIST
index 2d5d6fac485..77ec3714dbb 100644
--- a/net/aria2/PLIST
+++ b/net/aria2/PLIST
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.16 2013/03/19 15:48:29 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.17 2013/06/09 02:11:34 ryoon Exp $
bin/aria2c
man/man1/aria2c.1
man/pt/man1/aria2c.1
man/ru/man1/aria2c.1
share/doc/aria2/README
-share/doc/aria2/README.html
share/doc/aria2/README.rst
share/doc/aria2/bash_completion/README.txt
share/doc/aria2/bash_completion/aria2c
diff --git a/net/aria2/distinfo b/net/aria2/distinfo
index 298bf5d29ad..612a20cf7c9 100644
--- a/net/aria2/distinfo
+++ b/net/aria2/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.32 2013/05/04 12:50:38 joerg Exp $
+$NetBSD: distinfo,v 1.33 2013/06/09 02:11:34 ryoon Exp $
-SHA1 (aria2-1.16.4.tar.bz2) = 302885fae5809e5bd62abd4cdb9592bb5b47c4a1
-RMD160 (aria2-1.16.4.tar.bz2) = 14a745b3703867d5f65329581f189a681349ccc4
-Size (aria2-1.16.4.tar.bz2) = 2156764 bytes
-SHA1 (patch-src_IndexedList.h) = 9de3c3ee715d6a59454fd594464f19e33a4df9a0
+SHA1 (aria2-1.17.1.tar.bz2) = a40730013501554cdb0ce2b56a919f3ee971c06e
+RMD160 (aria2-1.17.1.tar.bz2) = bab446a216fb450c8048587ab3bad24a1c383e73
+Size (aria2-1.17.1.tar.bz2) = 2228357 bytes
+SHA1 (patch-configure) = 9e962d552653eb221d7377a0789ac4675a5d5893
+SHA1 (patch-configure.ac) = 64e3dfe642dde9b7cd78314dd18b421b41676f08
+SHA1 (patch-src_IndexedList.h) = 098aa2110ff666255826110b3272a714128eb0e7
diff --git a/net/aria2/patches/patch-configure b/net/aria2/patches/patch-configure
new file mode 100644
index 00000000000..6d92f3c9fcd
--- /dev/null
+++ b/net/aria2/patches/patch-configure
@@ -0,0 +1,13 @@
+$NetBSD: patch-configure,v 1.1 2013/06/09 02:11:34 ryoon Exp $
+
+--- configure.orig 2013-05-26 07:24:31.000000000 +0000
++++ configure
+@@ -19195,7 +19195,7 @@ See \`config.log' for more details" "$LI
+ fi
+
+ use_md=""
+-if test "x$have_osx" == "xyes"; then
++if test "x$have_osx" = "xyes"; then
+ use_md="apple"
+
+ $as_echo "#define USE_APPLE_MD 1" >>confdefs.h
diff --git a/net/aria2/patches/patch-configure.ac b/net/aria2/patches/patch-configure.ac
new file mode 100644
index 00000000000..24278c38991
--- /dev/null
+++ b/net/aria2/patches/patch-configure.ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-configure.ac,v 1.1 2013/06/09 02:11:34 ryoon Exp $
+
+--- configure.ac.orig 2013-05-26 07:23:55.000000000 +0000
++++ configure.ac
+@@ -350,7 +350,7 @@ if test "x$with_libcares" = "xyes"; then
+ fi
+
+ use_md=""
+-if test "x$have_osx" == "xyes"; then
++if test "x$have_osx" = "xyes"; then
+ use_md="apple"
+ AC_DEFINE([USE_APPLE_MD], [1], [What message digest implementation to use])
+ else
diff --git a/net/aria2/patches/patch-src_IndexedList.h b/net/aria2/patches/patch-src_IndexedList.h
index d2371718547..9713aaace02 100644
--- a/net/aria2/patches/patch-src_IndexedList.h
+++ b/net/aria2/patches/patch-src_IndexedList.h
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_IndexedList.h,v 1.1 2013/05/04 12:50:38 joerg Exp $
+$NetBSD: patch-src_IndexedList.h,v 1.2 2013/06/09 02:11:34 ryoon Exp $
---- src/IndexedList.h.orig 2013-05-03 11:55:44.000000000 +0000
+--- src/IndexedList.h.orig 2013-05-26 07:23:55.000000000 +0000
+++ src/IndexedList.h
-@@ -68,7 +68,7 @@ struct IndexedListIterator {
+@@ -64,7 +64,7 @@ struct IndexedListIterator {
typedef ValueType value_type;
typedef PointerType pointer;
typedef ReferenceType reference;