Hi, Update for Aria2 to 1.15.2:
* Fixed base64::decode() return "" if input ends with garbage and no padding. * Fixed segmentation fault when logger failed to open log file. * Fixed assertion error if --retry-wait is used. In CreateRequestCommand, if Request object returned from getRequest() is still sleeping, CreateRequestCommand pools it back but still holds its reference. This makes assertion error in UnknownLengthPieceStroage::hasMissingUnusedPiece() from AbstractCommand::execute(). * Added new file allocation method called 'trunc'. --file-allocation option can now take new value 'trunc'. 'trunc' uses ftruncate() system call or platform-specific counterpart to truncate a file to a specified length. * Use int64_t instead of off_t. Using off_t, at least, in DiskAdaptor layer is problematic because torrent can contain under 2GiB files but total sum of those files may exceed 2GiB limit, which makes off_t overflow in 32 bit system without large file support. So we use int64_t in API. We'll check the file length before download so that it does not exceed max off_t. * Added TLS SNI support. And others. Tested on amd64. Ok? Comments? Cheers. -- Sending from my VCR...
Index: Makefile =================================================================== RCS file: /cvs/ports/www/aria2/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile 2 Jul 2012 13:13:51 -0000 1.18 +++ Makefile 3 Sep 2012 16:30:32 -0000 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.18 2012/07/02 13:13:51 gonzalo Exp $ COMMENT = lightweight multi-protocol & multi-source download utility -DISTNAME = aria2-1.15.1 +DISTNAME = aria2-1.15.2 CATEGORIES = www HOMEPAGE = http://aria2.sourceforge.net/ @@ -21,8 +21,7 @@ LIB_DEPENDS = net/libcares REGRESS_DEPENDS += devel/cppunit -WANTLIB += crypto expat ssl cares \ - sqlite3 c m stdc++ z +WANTLIB += c cares crypto expat m sqlite3 ssl stdc++ z CONFIGURE_STYLE = gnu CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ Index: distinfo =================================================================== RCS file: /cvs/ports/www/aria2/distinfo,v retrieving revision 1.12 diff -u -p -r1.12 distinfo --- distinfo 2 Jul 2012 13:13:51 -0000 1.12 +++ distinfo 3 Sep 2012 16:30:32 -0000 @@ -1,5 +1,2 @@ -MD5 (aria2-1.15.1.tar.gz) = M5OvTPplmBov0KjyYfR6Ag== -RMD160 (aria2-1.15.1.tar.gz) = G4yCxSHGTzF1gNS1SadYNNCQKiI= -SHA1 (aria2-1.15.1.tar.gz) = xsrDX1NjyISym4q3LCQ4cVzwrWQ= -SHA256 (aria2-1.15.1.tar.gz) = KNJagGAO1MeBurAMCs9850/28q2zKMqcYjbib1blLXo= -SIZE (aria2-1.15.1.tar.gz) = 3169833 +SHA256 (aria2-1.15.2.tar.gz) = tTbM0HSMRPx04l8G3Ii1sHfwLVJeY8hlIRj3OcVkTKM= +SIZE (aria2-1.15.2.tar.gz) = 3090110