From b4bb1daf4a2895c1e25d8a58c0e1913e3024b924 Mon Sep 17 00:00:00 2001 From: ryoon Date: Tue, 14 Apr 2015 15:50:38 +0000 Subject: Update to 1.18.10 * Fix "-sqlite ssl" build (pkg-config required). * Fix -nls build (PLIST problem). Changelog: aria2 1.18.10 ============= Release Note ------------ This releases fixes several bugs reported since the last release. Changes ------- * Add encoding specifier to Russian man page Fixes GH-341 * Mingw: Use _wgetenv to get user's home directory Fixes GH-342 * Handle linux getrandom returning EINTR on interrupts/signals Also handle ENOTSUP failures where aria2 was build with linux headers newer than the actual running kernel. Fixes GH-336 aria2 1.18.9 ============ Release Note ------------ This releases fixes memory leak with OpenSSL and crash on OSX when proxy is used. We added several new features. Adler32 checksum is now available in --checksum option and hash element in Metalink files. We added --bt-detach-seed-only option, which excludes seed-only downloads when counting concurrent active downloads (-j option). We disabled SSLv3 by default. If you ever want to enable it or further tune the TLS protocols to enable, use new --min-tls-version option. --bt-force-encryption option was added to make requiring BitTorrent full encryption easier. From this release, we build Android binary using API level 16. Changes ------- * Support HTTP date ending "+0000" as well as "GMT". Closes GH-330 * Revise getRandom facilities Use one of the following to provide random bytes: - Windows CryptGenRandom - Linux getrandom (syscall interface to urandom, without nasty corner cases such as file descriptor exhaustion or re-linked /dev/urandom) - std::device_random (C++ random device, which usually will be urandom) This also equalizes util::getRandom and SimpleRandomizer (the former will now use the latter) instead of having essentially two different PRNG interfaces with potentially different quality. Closes GH-320 * Added debug log of all Metalink URLs with final priorities Patch from Dan Fandrich * Use gcc-4.9 and android-16 API level for android build * Add --bt-force-encryption option This option requires BitTorrent message payload encryption with arc4. This is a shorthand of --bt-requre-crypto --bt-min-crypto-level=arc4. If true is given, deny legacy BitTorrent handshake and only use Obfuscation handshake and always encrypt message payload. This option defaults to false. * TLS: Fix memory leak with OpenSSL Based on the patch submitted by midnight2k * Warn about insecure SSL connections. Fixed GH-313 * Add --min-tls-version option The --min-tls-version option specifies minimum SSL/TLS version to enable. Possible Values: SSLv3, TLSv1, TLSv1.1, TLSv1.2 Default: TLSv1 * LibsslTLSContext: Disable SSLv3 and enable ECDHE cipher suites * Add Dockerfile.mingw Dockerfile.mingw builds aria2 Windows binary. It is probably the easiest way to build the Windows binary. * Fix crash when JSON batch response vector is empty * Fix doc: Wrong rpc secret token prefix * Add --bt-detach-seed-only option This option excludes seed only downloads when counting concurrent active downloads (-j option). This means that if -j3 is given and this option is turned on and 3 downloads are active and one of those enters seed mode, then it is excluded from active download count (thus it becomes 2), and the next download waiting in queue gets started. But be aware that seeding item is still recognized as active download in RPC method. * mingw: Use MoveFileExW for better atomic move * Work around libintl's vprintf macro messing with OutputFile::vprintf Patch from David Macek * Fix crash on OSX when proxy is used See GH-275 * Support Adler32 checksum Adler32 checksum is available for --checksum option and hash element in Metalink files. Currently, we use Adler32 implementation in Zlib. --- net/aria2/Makefile | 5 ++- net/aria2/PLIST | 86 ++++++++++++++++++++++++++-------------------------- net/aria2/distinfo | 8 ++--- net/aria2/options.mk | 3 +- 4 files changed, 51 insertions(+), 51 deletions(-) (limited to 'net') diff --git a/net/aria2/Makefile b/net/aria2/Makefile index fce08a1dd00..44f73c2506a 100644 --- a/net/aria2/Makefile +++ b/net/aria2/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.55 2015/04/06 08:17:34 adam Exp $ +# $NetBSD: Makefile,v 1.56 2015/04/14 15:50:38 ryoon Exp $ # -DISTNAME= aria2-1.18.8 -PKGREVISION= 1 +DISTNAME= aria2-1.18.10 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/} EXTRACT_SUFX= .tar.bz2 diff --git a/net/aria2/PLIST b/net/aria2/PLIST index 75b5adc60f3..bf9ffa55972 100644 --- a/net/aria2/PLIST +++ b/net/aria2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.19 2014/12/31 01:38:11 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.20 2015/04/14 15:50:38 ryoon Exp $ bin/aria2c man/man1/aria2c.1 man/pt/man1/aria2c.1 @@ -11,45 +11,45 @@ share/doc/aria2/bash_completion/aria2c share/doc/aria2/xmlrpc/README.txt share/doc/aria2/xmlrpc/aria2mon share/doc/aria2/xmlrpc/aria2rpc -share/locale/ar/LC_MESSAGES/aria2.mo -share/locale/bg/LC_MESSAGES/aria2.mo -share/locale/bn/LC_MESSAGES/aria2.mo -share/locale/ca/LC_MESSAGES/aria2.mo -share/locale/da/LC_MESSAGES/aria2.mo -share/locale/de/LC_MESSAGES/aria2.mo -share/locale/el/LC_MESSAGES/aria2.mo -share/locale/en@boldquot/LC_MESSAGES/aria2.mo -share/locale/en@quot/LC_MESSAGES/aria2.mo -share/locale/es/LC_MESSAGES/aria2.mo -share/locale/fa/LC_MESSAGES/aria2.mo -share/locale/fi/LC_MESSAGES/aria2.mo -share/locale/fil/LC_MESSAGES/aria2.mo -share/locale/fr/LC_MESSAGES/aria2.mo -share/locale/he/LC_MESSAGES/aria2.mo -share/locale/hr/LC_MESSAGES/aria2.mo -share/locale/hu/LC_MESSAGES/aria2.mo -share/locale/id/LC_MESSAGES/aria2.mo -share/locale/it/LC_MESSAGES/aria2.mo -share/locale/ja/LC_MESSAGES/aria2.mo -share/locale/kk/LC_MESSAGES/aria2.mo -share/locale/ko/LC_MESSAGES/aria2.mo -share/locale/ms/LC_MESSAGES/aria2.mo -share/locale/nb/LC_MESSAGES/aria2.mo -share/locale/nl/LC_MESSAGES/aria2.mo -share/locale/nn/LC_MESSAGES/aria2.mo -share/locale/oc/LC_MESSAGES/aria2.mo -share/locale/pl/LC_MESSAGES/aria2.mo -share/locale/pt/LC_MESSAGES/aria2.mo -share/locale/pt_BR/LC_MESSAGES/aria2.mo -share/locale/ro/LC_MESSAGES/aria2.mo -share/locale/ru/LC_MESSAGES/aria2.mo -share/locale/sk/LC_MESSAGES/aria2.mo -share/locale/sr/LC_MESSAGES/aria2.mo -share/locale/sv/LC_MESSAGES/aria2.mo -share/locale/th/LC_MESSAGES/aria2.mo -share/locale/tr/LC_MESSAGES/aria2.mo -share/locale/uk/LC_MESSAGES/aria2.mo -share/locale/vi/LC_MESSAGES/aria2.mo -share/locale/zh_CN/LC_MESSAGES/aria2.mo -share/locale/zh_HK/LC_MESSAGES/aria2.mo -share/locale/zh_TW/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/ar/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/bg/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/bn/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/ca/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/da/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/de/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/el/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/en@boldquot/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/en@quot/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/es/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/fa/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/fi/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/fil/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/fr/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/he/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/hr/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/hu/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/id/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/it/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/ja/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/kk/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/ko/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/ms/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/nb/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/nl/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/nn/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/oc/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/pl/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/pt/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/ro/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/ru/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/sk/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/sr/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/sv/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/th/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/tr/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/uk/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/vi/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/zh_HK/LC_MESSAGES/aria2.mo +${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/aria2.mo diff --git a/net/aria2/distinfo b/net/aria2/distinfo index 46abacd081a..93f5f359595 100644 --- a/net/aria2/distinfo +++ b/net/aria2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.36 2014/12/31 01:38:11 ryoon Exp $ +$NetBSD: distinfo,v 1.37 2015/04/14 15:50:38 ryoon Exp $ -SHA1 (aria2-1.18.8.tar.bz2) = b6ad7064b1ea769e78f6a7dc9787a12cfc1e153f -RMD160 (aria2-1.18.8.tar.bz2) = 076a72fc4a35c91e5c85c2daee328976cadf9bda -Size (aria2-1.18.8.tar.bz2) = 2150587 bytes +SHA1 (aria2-1.18.10.tar.bz2) = 7f1e3dc40699e9d09f31778147628e312d22f6c9 +RMD160 (aria2-1.18.10.tar.bz2) = fbe824a1a1f806057fd7114f42638e26cded4d7f +Size (aria2-1.18.10.tar.bz2) = 2147093 bytes diff --git a/net/aria2/options.mk b/net/aria2/options.mk index 52a3fd89540..3bfcc2edaaf 100644 --- a/net/aria2/options.mk +++ b/net/aria2/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.15 2014/03/29 04:15:09 ryoon Exp $ +# $NetBSD: options.mk,v 1.16 2015/04/14 15:50:38 ryoon Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.aria2 @@ -25,6 +25,7 @@ CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --with-openssl CONFIGURE_ARGS+= --with-gnutls=no . include "../../security/openssl/buildlink3.mk" +USE_TOOLS+= pkg-config .else CONFIGURE_ARGS+= --with-gnutls CONFIGURE_ARGS+= --with-openssl=no -- cgit v1.2.3