Wed Jan 1 16:21:02 2020 UTC ()
aria2: Update to 1.35.0

pkgsrc changes:
 - Address several pkglint suggestions (NFCI)

Changes:
1.35.0
======
Release Note
------------
This release fixes several bugs. See Changes for details.

Changes
-------
  * Update mingw build dependencies (GH-1469)
  * Update android build dependencies (GH-1467)
    Update android build dependencies. Use android NDK r20 and build
    aarch64 binary.
  * Drop SSLv3.0 and TLSv1.0 and add TLSv1.3 (GH-1385)
    TLSv1.3 support is added for GNUTLS and OpenSSL.
  * Platform: Fix compilation without deprecated OpenSSL APIs (GH-1315)
    Patch from Rosen Penev
  * Remove linux getrandom and use C++ stdlib instead (GH-1306)
  * Don't send Accept Metalink header if Metalink is disabled (GH-1300)
  * gnutls: Fix bug that commonName is always empty (GH-1214)
  * Fix openssl API version logic for libressl 2.7.x
    Patch from Ben Chaney (GH-1213)
  * Fix build failure when InternalDHKeyExchange is used

1.34.0
======
Release Note
------------
This release fixes several bugs. See Changes for details.

Changes
-------
  * mingw: Use SetFileTime to avoid DST adjustment (GH-1079)
  * UnknownLengthPieceStorage: return piece length (GH-1065)
    show something in console status when downloading items
    with unknown content length
    Patch from kwkam
  * WinConsoleFile: fix colour properly (GH-1058)
    Patch from kwkam
  * util: also detect xdg_* env variables on windows (GH-1057)
    so if people like to keep FHS they could define XDG_* for it
    Patch from kwkam
  * MacOS: Allocate once (apfs compat)
  * Fix bug that signal handler does not work with libaria2 (GH-1053)
    This commit fixes the bug that signal handler does not work with
    libaria2 when aria2::RUN_ONCE is passed to aria2::run().
  * Retry on HTTP 502 (GH-1038)
    Patch from nicolov

1.33.1
======
Release Note
------------
This release fixes a bug that causes high CPU usage in mingw build.

Changes
-------
  * mingw: Fix high CPU usage in BitTorrent downloads
    This commit fixes high CPU usage in BitTorrent downloads. Only
    mingw build is affected by this bug.
    Thank you kwkam for identifying the cause of the issue, and helping
    debugging this patch.

1.33.0
======
Release Note
------------
This release fixes several bugs, and add new features.

Changes
-------
  * Include arm in a filename of android zip
  * Upgrade base image of Dockerfile.mingw to ubuntu:16.04
  * wintls: Potential fix for undecrypted read (GH-1021)
  * libaria2: Return last error code from DownloadHandle::getErrorCode (GH-991)
  * Windows: pass writefds also as exceptfds to select()
    winsock notifies connect() failures on exceptfds instead of
    writefds.
    Fixes GH-969 and GH-975
  * libuv: use pkg-config
  * FeatureConfig: align text
  * Update Dockerfile.mingw (GH-970)
    avoid docker cache when using git
    Patch from qweaszxcdf
  * Add --peer-agent option (GH-947)
    Add --peer-agent for setting the version/user agent used in the
    extended handshake protocol for bittorrent.
    Patch from Kurt Kartaltepe
  * OSX: Allow to specify a build
  * OSX: update c-ares
  * [Docs, libaria2] Fix type of obj pushed into options vector (GH-941)
    aria::KeyVals is a vector of pair of std strings, therefore the type
    of object being pushed should be std::pair<std::string,
    std::string>, however in the docs, the type of the said object is
    KeyVals. If one follows the docs, their code will fail to compile.
    Patch from geetam
  * AppleTLS: Silence cipher suite selection
  * Unbreak build OSX build
  * Update macOS versions
  * Add --bt-load-saved-metadata option (GH-909)
    Before getting torrent metadata from DHT when downloading with
    magnet link, first try to read file saved by --bt-save-metadata
    option. If it is successful, then skip downloading metadata from
    DHT. By default, this feature is turned off.
  * Fix regression in bfc54d0 (GH-917)
    Don't save control file if --auto-save-interval is 0.
  * Fix infinite loop bug when file is not found


(leot)
diff -r1.79 -r1.80 pkgsrc/net/aria2/Makefile
diff -r1.41 -r1.42 pkgsrc/net/aria2/distinfo
diff -r1.17 -r1.18 pkgsrc/net/aria2/options.mk

cvs diff -r1.79 -r1.80 pkgsrc/net/aria2/Makefile (expand / switch to unified diff)

--- pkgsrc/net/aria2/Makefile 2019/07/20 22:46:36 1.79
+++ pkgsrc/net/aria2/Makefile 2020/01/01 16:21:02 1.80
@@ -1,29 +1,26 @@ @@ -1,29 +1,26 @@
1# $NetBSD: Makefile,v 1.79 2019/07/20 22:46:36 wiz Exp $ 1# $NetBSD: Makefile,v 1.80 2020/01/01 16:21:02 leot Exp $
2 2
3DISTNAME= aria2-1.32.0 3DISTNAME= aria2-1.35.0
4PKGREVISION= 9 
5CATEGORIES= net 4CATEGORIES= net
6MASTER_SITES= ${MASTER_SITE_GITHUB:=aria2/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=aria2/}
 6GITHUB_RELEASE= release-${PKGVERSION_NOREV}
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://aria2.github.io/ 10HOMEPAGE= https://aria2.github.io/
11COMMENT= Multi-threaded, multi-protocol, flexible download accelerator 11COMMENT= Multi-threaded, multi-protocol, flexible download accelerator
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14GITHUB_PROJECT= aria2 
15GITHUB_RELEASE= release-${PKGVERSION_NOREV} 
16 
17# Minimum requirement is 4.8.3 14# Minimum requirement is 4.8.3
18GCC_REQD+= 4.8 15GCC_REQD+= 4.8
19 16
20USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
21USE_LIBTOOL= yes 18USE_LIBTOOL= yes
22USE_PKGLOCALEDIR= yes 19USE_PKGLOCALEDIR= yes
23USE_TOOLS+= bison msgfmt msgmerge xgettext 20USE_TOOLS+= bison msgfmt msgmerge xgettext
24GNU_CONFIGURE= yes 21GNU_CONFIGURE= yes
25CONFIGURE_ARGS+= --enable-bittorrent 22CONFIGURE_ARGS+= --enable-bittorrent
26CONFIGURE_ARGS+= --enable-metalink 23CONFIGURE_ARGS+= --enable-metalink
27CONFIGURE_ARGS+= --with-included-gettext=no 24CONFIGURE_ARGS+= --with-included-gettext=no
28CONFIGURE_ARGS+= --with-libexpat 25CONFIGURE_ARGS+= --with-libexpat
29CONFIGURE_ARGS+= --without-libxml2 26CONFIGURE_ARGS+= --without-libxml2

cvs diff -r1.41 -r1.42 pkgsrc/net/aria2/distinfo (expand / switch to unified diff)

--- pkgsrc/net/aria2/distinfo 2017/07/10 21:33:15 1.41
+++ pkgsrc/net/aria2/distinfo 2020/01/01 16:21:02 1.42
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.41 2017/07/10 21:33:15 seb Exp $ 1$NetBSD: distinfo,v 1.42 2020/01/01 16:21:02 leot Exp $
2 2
3SHA1 (aria2-1.32.0.tar.xz) = 91afc96d5ac8b5fb96ff221fba1fe6109b6f8b17 3SHA1 (aria2-1.35.0.tar.xz) = 1e4f8dba13e6eb5860b90c567a9c03d2c4be8f18
4RMD160 (aria2-1.32.0.tar.xz) = e27a64665fccb580b48b4c3b50801c6fd9c71b82 4RMD160 (aria2-1.35.0.tar.xz) = 9264f00160eca215a709ad442fd14316457a2e66
5SHA512 (aria2-1.32.0.tar.xz) = 7c14c395fab3024191145b5c965c6c89211cd36ce405cafeef350aa6df9850bee9de65e756eab7d0bdeccb9409b829ea21552b9aac0166f50dcc17501b3dca8b 5SHA512 (aria2-1.35.0.tar.xz) = 82b49cecd61064ae33b4a422a2320d533f54afea8fab0f014072a46afdc05972d2e9c603e843960c097410adf87290df65849f4ee05e047403618ae50db151ef
6Size (aria2-1.32.0.tar.xz) = 1502192 bytes 6Size (aria2-1.35.0.tar.xz) = 1534460 bytes

cvs diff -r1.17 -r1.18 pkgsrc/net/aria2/options.mk (expand / switch to unified diff)

--- pkgsrc/net/aria2/options.mk 2017/07/10 21:33:15 1.17
+++ pkgsrc/net/aria2/options.mk 2020/01/01 16:21:02 1.18
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: options.mk,v 1.17 2017/07/10 21:33:15 seb Exp $ 1# $NetBSD: options.mk,v 1.18 2020/01/01 16:21:02 leot Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.aria2 3PKG_OPTIONS_VAR= PKG_OPTIONS.aria2
4 4
5PKG_OPTIONS_GROUP.ssl= gnutls ssl 5PKG_OPTIONS_GROUP.ssl= gnutls ssl
6PKG_OPTIONS_REQUIRED_GROUPS= ssl 6PKG_OPTIONS_REQUIRED_GROUPS= ssl
7 7
8PKG_SUPPORTED_OPTIONS= nls sqlite 8PKG_SUPPORTED_OPTIONS= nls sqlite
9PKG_SUGGESTED_OPTIONS= nls sqlite ssl 9PKG_SUGGESTED_OPTIONS= nls sqlite ssl
10PLIST_VARS+= nls 10PLIST_VARS+= nls
11 11
12.include "../../mk/bsd.options.mk" 12.include "../../mk/bsd.options.mk"
13 13
14.if !empty(PKG_OPTIONS:Mnls) 14.if !empty(PKG_OPTIONS:Mnls)
@@ -16,30 +16,31 @@ PLIST_VARS+= nls @@ -16,30 +16,31 @@ PLIST_VARS+= nls
16PLIST.nls= yes 16PLIST.nls= yes
17.else 17.else
18CONFIGURE_ARGS+= --disable-nls 18CONFIGURE_ARGS+= --disable-nls
19.endif 19.endif
20 20
21### 21###
22### SSL/TLS implementation 22### SSL/TLS implementation
23### 23###
24.if !empty(PKG_OPTIONS:Mssl) 24.if !empty(PKG_OPTIONS:Mssl)
25CONFIGURE_ARGS+= --with-openssl 25CONFIGURE_ARGS+= --with-openssl
26CONFIGURE_ARGS+= --with-gnutls=no 26CONFIGURE_ARGS+= --with-gnutls=no
27. include "../../security/openssl/buildlink3.mk" 27. include "../../security/openssl/buildlink3.mk"
28USE_TOOLS+= pkg-config 28USE_TOOLS+= pkg-config
29.else 29.elif !empty(PKG_OPTIONS:Mgnutls)
30CONFIGURE_ARGS+= --with-gnutls 30CONFIGURE_ARGS+= --with-gnutls
31CONFIGURE_ARGS+= --with-openssl=no 31CONFIGURE_ARGS+= --with-openssl=no
32. include "../../security/gnutls/buildlink3.mk" 32. include "../../security/gnutls/buildlink3.mk"
33USE_TOOLS+= pkg-config 33USE_TOOLS+= pkg-config
34.endif 34.endif
 35
35### 36###
36### firefox3 cookie support via sqlite3 37### firefox3 cookie support via sqlite3
37### 38###
38.if !empty(PKG_OPTIONS:Msqlite) 39.if !empty(PKG_OPTIONS:Msqlite)
39CONFIGURE_ARGS+= --with-sqlite3 40CONFIGURE_ARGS+= --with-sqlite3
40CONFIGURE_ARGS+= --with-sqlite3-prefix=${BUILDLINK_PREFIX.sqlite3} 41CONFIGURE_ARGS+= --with-sqlite3-prefix=${BUILDLINK_PREFIX.sqlite3}
41. include "../../databases/sqlite3/buildlink3.mk" 42. include "../../databases/sqlite3/buildlink3.mk"
42USE_TOOLS+= pkg-config 43USE_TOOLS+= pkg-config
43.else 44.else
44CONFIGURE_ARGS+= --with-sqlite3=no 45CONFIGURE_ARGS+= --with-sqlite3=no
45.endif 46.endif