Update to 0.15.1

Changelog:
aria2 1.15.1
============

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

This release fixes the bug that prevents --bt-lpd-interface from
working. If some options sent by RPC request are not acceptable for
the download type, they are now simply ignored instead of rejecting
RPC request entirely. The aria2 RPC server now returns 4XX error code
if the request is not valid in the HTTP level. To improve packaging,
--with-bashcompletiondir configure option was added. This option
overrides where the aria2c bash_completion file is going to be
installed. All manual pages are now generated by Sphinx.

Changes
-------

* Return appropriate HTTP status code on RPC failure.  In this change,
  we return 404 if the request path is neither /json-rpc nor /rpc. If
  XML feature is not enabled and /rpc is requested, return 404.  If
  XML parser failed, return 400. JSON parser failure has been handled
  well in the existing code.

* Ignore unacceptable options in RPC request instead of throwing
  error.  This change allows RPC client to send same options for the
  different type of downloads.

* Handle sockaddr_in.sin_len and sockaddr_in6.sin6_len.  Check
  sockaddr_in.sin_len and sockaddr_in6.sin6_len are available and
  assign values to them properly.  This change fixes unit test error
  and most error related to getnameinfo() on netbsd.

* Removed dependency on inet_aton.  Implemented inetPton as a
  replacement of inet_aton. inetPton is implemented using
  net::getBinAddr.  This change fixes bug#3525424.

* Added --with-bashcompletiondir configure option.  By default,
  bash_completion file named aria2c is installed to the directory
  $prefix/share/doc/aria2/bash_completion.  To change the install
  directory of the file, use --with-bashcompletiondir option.

* Converted README.asciidoc into README.rst

* Use Sphinx for aria2 manual page documentation.  The source files
  for manual pages are placed under doc/manual-src.  The manual pages
  are generated under doc/manual-src/$LANG/_build. The HTML version
  manual page was dropped from the distribution archive.

* Fixed the bug which prevents --bt-lpd-interface from working.
  Fixes bug#3520125
This commit is contained in:
ryoon 2012-07-03 19:39:47 +00:00
parent ce70f4282e
commit 2095ef95de
3 changed files with 8 additions and 13 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.33 2012/04/27 12:31:57 obache Exp $
# $NetBSD: Makefile,v 1.34 2012/07/03 19:39:47 ryoon Exp $
#
DISTNAME= aria2-1.15.0
PKGREVISION= 1
DISTNAME= aria2-1.15.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
EXTRACT_SUFX= .tar.bz2

View file

@ -1,16 +1,12 @@
@comment $NetBSD: PLIST,v 1.13 2011/07/14 06:00:07 ryoon Exp $
@comment $NetBSD: PLIST,v 1.14 2012/07/03 19:39:47 ryoon Exp $
bin/aria2c
man/man1/aria2c.1
man/ru/man1/aria2c.1
share/doc/aria2/README
share/doc/aria2/README.asciidoc
share/doc/aria2/README.html
share/doc/aria2/aria2c.1.asciidoc
share/doc/aria2/aria2c.1.html
share/doc/aria2/README.rst
share/doc/aria2/bash_completion/README.txt
share/doc/aria2/bash_completion/aria2c
share/doc/aria2/ru/aria2c.1.asciidoc
share/doc/aria2/ru/aria2c.1.html
share/doc/aria2/xmlrpc/README.txt
share/doc/aria2/xmlrpc/aria2mon
share/doc/aria2/xmlrpc/aria2rpc

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.25 2012/04/25 15:59:59 drochner Exp $
$NetBSD: distinfo,v 1.26 2012/07/03 19:39:47 ryoon Exp $
SHA1 (aria2-1.15.0.tar.bz2) = b29e498a31fdcf890ba93749a221f6022784e003
RMD160 (aria2-1.15.0.tar.bz2) = 14ef1bf3d0e199e7789cab6e4759576fba06058b
Size (aria2-1.15.0.tar.bz2) = 2080386 bytes
SHA1 (aria2-1.15.1.tar.bz2) = 67b70d3492b0edb3af314a253540b921e1bc0c4e
RMD160 (aria2-1.15.1.tar.bz2) = 26bdce0d62ffb9f1307284d7ae6ebafbdbff4675
Size (aria2-1.15.1.tar.bz2) = 2047788 bytes