Subject: CVS commit: pkgsrc/net/aria2
From: Blair Sadewitz
Date: 2007-12-14 13:46:23
Message id: 20071214124623.B437921507@cvs.netbsd.org

Log Message:
Update to version 0.12.0.  Also, fix nbcompat includes (they were missing
<nbconfig/config.h>.  Partial list of changes:

2007-12-09  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	Removed unnecessary string copy. Updated doc and corrected indentation.
	* src/Base64.cc

	Fixed compilation warnings
	* test/DataTest.cc
	* test/HttpRequestTest.cc
	* test/MetaFileUtilTest.cc
	* test/RequestTest.cc

	* Release 0.12.0

	Added Brazilian Portuguese, Catalan, Italian, Spanish, Swedish
	translations. Many thanks to translators.
	* po/{ca,es,it,pt_BR,sv}.po
	* po/LINGUAS

	Fixed the bug#1845750; CTRL+C does not stop torrent.
	aria2 repeatedly sends stopped request when tracker returns error code.

	Added a message when ctrl-c is hit.
	Now second ctrl-c is also handled in signal handler.

	Changed Direct/IO enable/disable procesure in file allocation routine.
	Disable directIO if offset is not multiple of 512.
	(~SingleFileAllocationIterator): Removed a call to disableDirectIO.
	* src/MultiFileAllocationIterator.cc (allocateChunk):
	Enable created SingleFileAllocationIterator's directIO.
	* src/FileAllocationEntry.cc
	(FileAllocationEntry): Enable directIO here.
	(~FileAllocationEntry): Disable directIO here.

	Fixed the bug: aria2 doesn't utilize fast set index offered by peer.

	Rewritten direct I/O support routine

	Fixed compile error without message digest support.

	Enable direct I/O support in checksum checking.

	Added --allow-piece-length-change option.

	Fixed: duplicated result entry appears when exception is thrown in
	RequestGroup::createInitiateConnectionCommand().
	* src/RequestGroupMan.cc (fillRequestGroupFromReserver):
	Add RequestGroup to _requestGroup after RequetGroup::
	createInitiateConnectionCommand() succeeds.

	Externalized  message

	Forced download abort when received negative response from http/ftp
	server.

	Added XML2SAXMetalinkProcessor class, which is a lot faster than
	the predecessor, Xml2MetalinkParser class.
	I tested them against 94KB metalink file with 1234 chunk checksums.
	The new one parsed it in 22msec, while it took 6000msec with old one.

	Rewritten Base64 class for better performance.

	Fixed the bug#1841757: aria2 will connect to server to only get
	file size.

	Suppressed wrong message when finding PreDownloadHandler

	Eliminated g++-4.2 warning
	Fixed bug: --check-integrity doesn't work for multi file torrent.

	Added direct I/O support. The current implementation uses O_DIRECT,
	which is not posix standard and is tested on linux 2.6.21.
	Currently only file allocation uses direct I/O.

Files:
RevisionActionfile
1.7modifypkgsrc/net/aria2/Makefile
1.3modifypkgsrc/net/aria2/PLIST
1.6modifypkgsrc/net/aria2/distinfo
1.4modifypkgsrc/net/aria2/patches/patch-aa
1.4modifypkgsrc/net/aria2/patches/patch-ab
1.4modifypkgsrc/net/aria2/patches/patch-ac
1.4modifypkgsrc/net/aria2/patches/patch-ad
1.4modifypkgsrc/net/aria2/patches/patch-ae
1.4modifypkgsrc/net/aria2/patches/patch-af