pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/aria2 aria2: Update to 1.35.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09cfbde688a2
branches:  trunk
changeset: 346559:09cfbde688a2
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Jan 01 16:21:02 2020 +0000

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

diffstat:

 net/aria2/Makefile   |   9 +++------
 net/aria2/distinfo   |  10 +++++-----
 net/aria2/options.mk |   5 +++--
 3 files changed, 11 insertions(+), 13 deletions(-)

diffs (65 lines):

diff -r e03548b37656 -r 09cfbde688a2 net/aria2/Makefile
--- a/net/aria2/Makefile        Wed Jan 01 15:50:40 2020 +0000
+++ b/net/aria2/Makefile        Wed Jan 01 16:21:02 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.79 2019/07/20 22:46:36 wiz Exp $
+# $NetBSD: Makefile,v 1.80 2020/01/01 16:21:02 leot Exp $
 
-DISTNAME=      aria2-1.32.0
-PKGREVISION=   9
+DISTNAME=      aria2-1.35.0
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=aria2/}
+GITHUB_RELEASE=        release-${PKGVERSION_NOREV}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -11,9 +11,6 @@
 COMMENT=       Multi-threaded, multi-protocol, flexible download accelerator
 LICENSE=       gnu-gpl-v2
 
-GITHUB_PROJECT=        aria2
-GITHUB_RELEASE=        release-${PKGVERSION_NOREV}
-
 # Minimum requirement is 4.8.3
 GCC_REQD+=     4.8
 
diff -r e03548b37656 -r 09cfbde688a2 net/aria2/distinfo
--- a/net/aria2/distinfo        Wed Jan 01 15:50:40 2020 +0000
+++ b/net/aria2/distinfo        Wed Jan 01 16:21:02 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.41 2017/07/10 21:33:15 seb Exp $
+$NetBSD: distinfo,v 1.42 2020/01/01 16:21:02 leot Exp $
 
-SHA1 (aria2-1.32.0.tar.xz) = 91afc96d5ac8b5fb96ff221fba1fe6109b6f8b17
-RMD160 (aria2-1.32.0.tar.xz) = e27a64665fccb580b48b4c3b50801c6fd9c71b82
-SHA512 (aria2-1.32.0.tar.xz) = 7c14c395fab3024191145b5c965c6c89211cd36ce405cafeef350aa6df9850bee9de65e756eab7d0bdeccb9409b829ea21552b9aac0166f50dcc17501b3dca8b
-Size (aria2-1.32.0.tar.xz) = 1502192 bytes
+SHA1 (aria2-1.35.0.tar.xz) = 1e4f8dba13e6eb5860b90c567a9c03d2c4be8f18
+RMD160 (aria2-1.35.0.tar.xz) = 9264f00160eca215a709ad442fd14316457a2e66
+SHA512 (aria2-1.35.0.tar.xz) = 82b49cecd61064ae33b4a422a2320d533f54afea8fab0f014072a46afdc05972d2e9c603e843960c097410adf87290df65849f4ee05e047403618ae50db151ef
+Size (aria2-1.35.0.tar.xz) = 1534460 bytes
diff -r e03548b37656 -r 09cfbde688a2 net/aria2/options.mk
--- a/net/aria2/options.mk      Wed Jan 01 15:50:40 2020 +0000
+++ b/net/aria2/options.mk      Wed Jan 01 16:21:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.17 2017/07/10 21:33:15 seb Exp $
+# $NetBSD: options.mk,v 1.18 2020/01/01 16:21:02 leot Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.aria2
 
@@ -26,12 +26,13 @@
 CONFIGURE_ARGS+=       --with-gnutls=no
 .  include "../../security/openssl/buildlink3.mk"
 USE_TOOLS+=            pkg-config
-.else
+.elif !empty(PKG_OPTIONS:Mgnutls)
 CONFIGURE_ARGS+=       --with-gnutls
 CONFIGURE_ARGS+=       --with-openssl=no
 .  include "../../security/gnutls/buildlink3.mk"
 USE_TOOLS+=            pkg-config
 .endif
+
 ###
 ###    firefox3 cookie support via sqlite3
 ###



Home | Main Index | Thread Index | Old Index