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 1.30.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea07d40f52f2
branches:  trunk
changeset: 356462:ea07d40f52f2
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Jan 01 08:42:45 2017 +0000

description:
Update to 1.30.0

* Update HOMEPAGE

Chagnelog:
aria2 1.30.0
============

Release Note
------------

This release fixes several bugs.  See Changes below for detailed bug
fixes.  This release adds an ability to expand `${HOME}` to user's
home directory in several options.  It would be useful when used in
configuration file.  -S option against torrent file now prints out DHT
nodes.

Changes
-------

* mingw: Use sqlite 3.15.2

* Fix bug that --disable-websocket causes build error

* Fix bug that lower bound of optimize-concurrent-downloads becomes 1

  GH-798

* Print DHT nodes with -S option

  GH-795

* Take into account address family when resolving DHT node address

  GH-794

* Allow block device file to -i option

  GH-785

* Expand `${HOME}` to user's home directory in several options

  The following options implement this substitution:

  * --ca-certificate
  * --certificate
  * --dht-file-path
  * --dht-file-path6
  * --dir
  * --input-file
  * --load-cookies
  * --log
  * --metalink-file
  * --netrc-path
  * --on-bt-download-complete
  * --on-download-complete
  * --on-download-error
  * --on-download-start
  * --on-download-stop
  * --on-download_pause
  * --out
  * --private-key
  * --rpc-certificate
  * --rpc-private-key
  * --save-cookies
  * --save-session
  * --server-stat-if
  * --server-stat-of
  * --torrent-file

  GH-780

* Document that libaria2 is not thread safe

  GH-775

* configure: Use pkg-config to find libs whenever possible

  Use pkg-config to find cppunit, libxml2 and expat. All those
  libraries provide pkg-config files, and in all of those cases the
  pkg-config macro is superior to the custom macros used currently.

  The advantages of pkg-config files include:

  - Explicit static linking support via --static. Currently, e.g.
    'xml2-config --libs' prints all libraries needed for static
    linking when doing dynamic linking unnecessary, resulting in
    unnecessary direct deps.

  - Better cross-build support. You don't have to build the additional
    *-config tools for target.

  - Better multilib support. Per-ABI pkgconfig directories are
    commonly supported while packages usually fail to look for
    per-CHOST *-config variants.

  - Better override support. The current macros allow little to no
    result overrides, the pkg-config macros let you pass FOO_CFLAGS
    and FOO_LIBS manually.

  - Cleaner version checks. The code used in libxml.m4 is really
    creepy.

  Patch from Micha? G?rny

  GH-773

* WinTLS: Rewrite writeData

  We re-wrote WinTLSSession::writeData.  The major points are:

  * Buffer is now preallocated once handshake is finished.
    Previously, they are allocated each time when we send one TLS
    record.

  * Schannel uses header, body and trailer for each secBuffer.  Now we
    send them off at once using WSASend which is windows counterpart
    of sendv.  Previously, we do memmove if some of them are
    truncated.

  * We don't try to send application data in
    WinTLSSession::closeConnection, since semantically we need same
    application data used to create TLS record before.  Using 0 length
    data to finish sending buffered data looks like a hack.

  GH-772

diffstat:

 net/aria2/Makefile |  10 +++++-----
 net/aria2/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (40 lines):

diff -r f533e76eb6b7 -r ea07d40f52f2 net/aria2/Makefile
--- a/net/aria2/Makefile        Sun Jan 01 08:28:04 2017 +0000
+++ b/net/aria2/Makefile        Sun Jan 01 08:42:45 2017 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.66 2016/12/12 14:22:03 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2017/01/01 08:42:45 ryoon Exp $
 
-DISTNAME=      aria2-1.19.2
-PKGREVISION=   4
+DISTNAME=      aria2-1.30.0
 CATEGORIES=    net
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=tatsuhiro-t/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=aria2/}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://aria2.sourceforge.net/
+HOMEPAGE=      https://aria2.github.io/
 COMMENT=       Multi-threaded, multi-protocol, flexible download accelerator
 LICENSE=       gnu-gpl-v2
 
+GITHUB_PROJECT=        aria2
 GITHUB_RELEASE=        release-${PKGVERSION_NOREV}
 
 # Minimum requirement is 4.6.4
diff -r f533e76eb6b7 -r ea07d40f52f2 net/aria2/distinfo
--- a/net/aria2/distinfo        Sun Jan 01 08:28:04 2017 +0000
+++ b/net/aria2/distinfo        Sun Jan 01 08:42:45 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.38 2015/10/17 09:14:43 adam Exp $
+$NetBSD: distinfo,v 1.39 2017/01/01 08:42:45 ryoon Exp $
 
-SHA1 (aria2-1.19.2.tar.xz) = 08595f0a43ebb67aa5114878649d09a9c34a437c
-RMD160 (aria2-1.19.2.tar.xz) = 5010c98926a705c94132fd62b66a472bf422f6b2
-SHA512 (aria2-1.19.2.tar.xz) = ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468
-Size (aria2-1.19.2.tar.xz) = 1377356 bytes
+SHA1 (aria2-1.30.0.tar.xz) = 4b91440e9d7bd4720ff392c017bbf4e3741fcc53
+RMD160 (aria2-1.30.0.tar.xz) = 9eaa6dbeae96c74a19647cb2ef4c82618a520b1b
+SHA512 (aria2-1.30.0.tar.xz) = 8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
+Size (aria2-1.30.0.tar.xz) = 1497124 bytes



Home | Main Index | Thread Index | Old Index