Sun Jan 1 08:42:45 2017 UTC ()
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


(ryoon)
diff -r1.66 -r1.67 pkgsrc/net/aria2/Makefile
diff -r1.38 -r1.39 pkgsrc/net/aria2/distinfo

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

--- pkgsrc/net/aria2/Makefile 2016/12/12 14:22:03 1.66
+++ pkgsrc/net/aria2/Makefile 2017/01/01 08:42:45 1.67
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1# $NetBSD: Makefile,v 1.66 2016/12/12 14:22:03 wiz Exp $ 1# $NetBSD: Makefile,v 1.67 2017/01/01 08:42:45 ryoon Exp $
2 2
3DISTNAME= aria2-1.19.2 3DISTNAME= aria2-1.30.0
4PKGREVISION= 4 
5CATEGORIES= net 4CATEGORIES= net
6MASTER_SITES= ${MASTER_SITE_GITHUB:=tatsuhiro-t/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=aria2/}
7EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://aria2.sourceforge.net/ 9HOMEPAGE= https://aria2.github.io/
11COMMENT= Multi-threaded, multi-protocol, flexible download accelerator 10COMMENT= Multi-threaded, multi-protocol, flexible download accelerator
12LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
13 12
 13GITHUB_PROJECT= aria2
14GITHUB_RELEASE= release-${PKGVERSION_NOREV} 14GITHUB_RELEASE= release-${PKGVERSION_NOREV}
15 15
16# Minimum requirement is 4.6.4 16# Minimum requirement is 4.6.4
17GCC_REQD+= 4.6 17GCC_REQD+= 4.6
18 18
19USE_LANGUAGES= c c++ 19USE_LANGUAGES= c c++
20USE_LIBTOOL= yes 20USE_LIBTOOL= yes
21USE_PKGLOCALEDIR= yes 21USE_PKGLOCALEDIR= yes
22USE_TOOLS+= bison msgfmt msgmerge xgettext 22USE_TOOLS+= bison msgfmt msgmerge xgettext
23GNU_CONFIGURE= yes 23GNU_CONFIGURE= yes
24CONFIGURE_ARGS+= --enable-bittorrent 24CONFIGURE_ARGS+= --enable-bittorrent
25CONFIGURE_ARGS+= --enable-metalink 25CONFIGURE_ARGS+= --enable-metalink
26CONFIGURE_ARGS+= --with-included-gettext=no 26CONFIGURE_ARGS+= --with-included-gettext=no

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

--- pkgsrc/net/aria2/distinfo 2015/10/17 09:14:43 1.38
+++ pkgsrc/net/aria2/distinfo 2017/01/01 08:42:45 1.39
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.38 2015/10/17 09:14:43 adam Exp $ 1$NetBSD: distinfo,v 1.39 2017/01/01 08:42:45 ryoon Exp $
2 2
3SHA1 (aria2-1.19.2.tar.xz) = 08595f0a43ebb67aa5114878649d09a9c34a437c 3SHA1 (aria2-1.30.0.tar.xz) = 4b91440e9d7bd4720ff392c017bbf4e3741fcc53
4RMD160 (aria2-1.19.2.tar.xz) = 5010c98926a705c94132fd62b66a472bf422f6b2 4RMD160 (aria2-1.30.0.tar.xz) = 9eaa6dbeae96c74a19647cb2ef4c82618a520b1b
5SHA512 (aria2-1.19.2.tar.xz) = ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468 5SHA512 (aria2-1.30.0.tar.xz) = 8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
6Size (aria2-1.19.2.tar.xz) = 1377356 bytes 6Size (aria2-1.30.0.tar.xz) = 1497124 bytes