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 version 0.11.4. This is almost en...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe7384b77c4c
branches: trunk
changeset: 534855:fe7384b77c4c
user: bjs <bjs%pkgsrc.org@localhost>
date: Fri Nov 02 18:27:59 2007 +0000
description:
Update to version 0.11.4. This is almost entirely a bug-fix release.
Please see ChangeLog for changes (it's too verbose to list them here).
diffstat:
net/aria2/Makefile | 5 +--
net/aria2/PLIST | 3 +-
net/aria2/distinfo | 22 +++---------------
net/aria2/patches/patch-aa | 13 -----------
net/aria2/patches/patch-ab | 38 ---------------------------------
net/aria2/patches/patch-ac | 13 -----------
net/aria2/patches/patch-ad | 13 -----------
net/aria2/patches/patch-ae | 9 -------
net/aria2/patches/patch-af | 52 ----------------------------------------------
net/aria2/patches/patch-ag | 13 -----------
net/aria2/patches/patch-ah | 29 -------------------------
net/aria2/patches/patch-ai | 13 -----------
net/aria2/patches/patch-aj | 35 ------------------------------
net/aria2/patches/patch-ak | 14 ------------
net/aria2/patches/patch-al | 13 -----------
net/aria2/patches/patch-am | 12 ----------
net/aria2/patches/patch-an | 35 ------------------------------
17 files changed, 8 insertions(+), 324 deletions(-)
diffs (truncated from 419 to 300 lines):
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/Makefile
--- a/net/aria2/Makefile Fri Nov 02 16:03:37 2007 +0000
+++ b/net/aria2/Makefile Fri Nov 02 18:27:59 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2007/10/17 09:44:44 bjs Exp $
+# $NetBSD: Makefile,v 1.3 2007/11/02 18:27:59 bjs Exp $
#
-DISTNAME= aria2-0.11.3
+DISTNAME= aria2-0.11.4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
EXTRACT_SUFX= .tar.bz2
@@ -13,7 +13,6 @@
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/PLIST
--- a/net/aria2/PLIST Fri Nov 02 16:03:37 2007 +0000
+++ b/net/aria2/PLIST Fri Nov 02 18:27:59 2007 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/11/02 18:28:00 bjs Exp $
bin/aria2c
man/man1/aria2c.1
share/locale/de/LC_MESSAGES/aria2c.mo
share/locale/fr/LC_MESSAGES/aria2c.mo
share/locale/ja/LC_MESSAGES/aria2c.mo
+share/locale/nl/LC_MESSAGES/aria2c.mo
share/locale/ru/LC_MESSAGES/aria2c.mo
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/distinfo
--- a/net/aria2/distinfo Fri Nov 02 16:03:37 2007 +0000
+++ b/net/aria2/distinfo Fri Nov 02 18:27:59 2007 +0000
@@ -1,19 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
+$NetBSD: distinfo,v 1.2 2007/11/02 18:28:00 bjs Exp $
-SHA1 (aria2-0.11.3.tar.bz2) = bce3c6e8ca732f41736c2f81d3e69784a74817d5
-RMD160 (aria2-0.11.3.tar.bz2) = 29742d22763abefe46854a3ff99ec1634e6fb92a
-Size (aria2-0.11.3.tar.bz2) = 530059 bytes
-SHA1 (patch-aa) = ef192d6a098e59a2edf34bd693ae3f3b27567db8
-SHA1 (patch-ab) = 0f50a78ce703fef9bcd63eebeeee8f176d5886e3
-SHA1 (patch-ac) = f353c48182cc32c467078eb5339c0c8a2930f0b7
-SHA1 (patch-ad) = b7aab1c576f01f8fbe5b87e8ee5dee04b0fadd43
-SHA1 (patch-ae) = d247426fb4279ac91e6d21cfd421c0be9bd6b34a
-SHA1 (patch-af) = 946f329f17b41ca922bf8e95610f1d80cbbd32d3
-SHA1 (patch-ag) = b85662d4626ab1c7ff9ed00c1636800d8aa76b09
-SHA1 (patch-ah) = 9ad3b1ea037abc3758215238827bdfc673ed7301
-SHA1 (patch-ai) = 09b10ce2907d31ae1a88540d898feda14389d58b
-SHA1 (patch-aj) = d04c063c8cc857a3e912a7636873efe66116703a
-SHA1 (patch-ak) = 25689a271064f43867e25c518460ac7d025eaa24
-SHA1 (patch-al) = 468d16be3d9072a38fe3aec4af09bc257f03ebde
-SHA1 (patch-am) = 32e84f8269956c6b93cd4602885485d6177d4576
-SHA1 (patch-an) = 14db2deb67f38fbe7a8c3835968063796722d344
+SHA1 (aria2-0.11.4.tar.bz2) = 76144a9525c005ea39ceda82da8f61883ab4ac6f
+RMD160 (aria2-0.11.4.tar.bz2) = 1a9807ed2b24448062e78818a59e51eccdb822cc
+Size (aria2-0.11.4.tar.bz2) = 540252 bytes
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-aa
--- a/net/aria2/patches/patch-aa Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- src/DefaultBtProgressInfoFile.cc.orig 2007-09-01 12:10:30.000000000 -0400
-+++ src/DefaultBtProgressInfoFile.cc
-@@ -92,7 +92,7 @@ void DefaultBtProgressInfoFile::save() {
- filename.c_str(), strerror(errno));
- }
-
-- if(rename(filenameTemp.c_str(), filename.c_str()) == -1) {
-+ if(!File(filenameTemp).renameTo(filename)) {
- throw new DlAbortEx(EX_SEGMENT_FILE_WRITE,
- filename.c_str(), strerror(errno));
- }
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-ab
--- a/net/aria2/patches/patch-ab Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- src/File.cc.orig 2007-08-28 12:36:33.000000000 -0400
-+++ src/File.cc
-@@ -37,6 +37,11 @@
- #include "a2io.h"
- #include <libgen.h>
-
-+#ifdef __MINGW32__
-+# define WIN32_LEAN_AND_MEAN
-+# include <windows.h>
-+#endif // __MINGW32__
-+
- File::File(const string& name):name(name) {}
-
- File::~File() {}
-@@ -140,3 +145,21 @@ bool File::isDir(const string& filename)
- {
- return File(filename).isDir();
- }
-+
-+bool File::renameTo(const string& dest)
-+{
-+#ifdef __MINGW32__
-+ /* MinGW's rename() doesn't delete an existing destination */
-+ if (_access(dest.c_str(), 0) == 0) {
-+ if (_unlink(dest.c_str()) != 0) {
-+ return false;
-+ }
-+ }
-+#endif // __MINGW32__
-+ if(rename(name.c_str(), dest.c_str()) == 0) {
-+ name = dest;
-+ return true;
-+ } else {
-+ return false;
-+ }
-+}
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-ac
--- a/net/aria2/patches/patch-ac Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- src/File.h.orig 2007-08-28 12:36:33.000000000 -0400
-+++ src/File.h
-@@ -96,6 +96,8 @@ public:
- string getDirname() const;
-
- static bool isDir(const string& filename);
-+
-+ bool renameTo(const string& dest);
- };
-
- #endif // _D_FILE_H_
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-ad
--- a/net/aria2/patches/patch-ad Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- src/SegmentMan.cc.orig 2007-09-01 12:10:30.000000000 -0400
-+++ src/SegmentMan.cc
-@@ -143,7 +143,7 @@ void SegmentMan::save() const {
- segFilename.c_str(), strerror(errno));
- }
-
-- if(rename(segFilenameTemp.c_str(), segFilename.c_str()) == -1) {
-+ if(!File(segFilenameTemp).renameTo(segFilename)) {
- throw new DlAbortEx(EX_SEGMENT_FILE_WRITE,
- segFilename.c_str(), strerror(errno));
- }
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-ae
--- a/net/aria2/patches/patch-ae Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- test/DefaultBtProgressInfoFileTest.cc.orig 2007-09-01 12:10:30.000000000 -0400
-+++ test/DefaultBtProgressInfoFileTest.cc
-@@ -1,3 +1,4 @@
-+#include <fstream>
- #include "DefaultBtProgressInfoFile.h"
- #include "DefaultBtContext.h"
- #include "Option.h"
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-af
--- a/net/aria2/patches/patch-af Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- test/FileTest.cc.orig 2007-08-28 12:36:33.000000000 -0400
-+++ test/FileTest.cc
-@@ -3,6 +3,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <string>
-+#include <fstream>
- #include <cppunit/extensions/HelperMacros.h>
-
- using namespace std;
-@@ -18,6 +19,7 @@ class FileTest:public CppUnit::TestFixtu
- CPPUNIT_TEST(testMkdir);
- CPPUNIT_TEST(testGetDirname);
- CPPUNIT_TEST(testGetBasename);
-+ CPPUNIT_TEST(testRenameTo);
- CPPUNIT_TEST_SUITE_END();
- private:
-
-@@ -33,6 +35,7 @@ public:
- void testMkdir();
- void testGetDirname();
- void testGetBasename();
-+ void testRenameTo();
- };
-
-
-@@ -132,3 +135,23 @@ void FileTest::testGetBasename()
- File f("/tmp/dist/aria2.tar.bz2");
- CPPUNIT_ASSERT_EQUAL(string("aria2.tar.bz2"), f.getBasename());
- }
-+
-+void FileTest::testRenameTo()
-+{
-+ string fname = "FileTest_testRenameTo.txt";
-+ ofstream of(fname.c_str());
-+ of.close();
-+
-+ File f(fname);
-+ string fnameTo = "FileTest_testRenameTo_dest.txt";
-+ CPPUNIT_ASSERT(f.renameTo(fnameTo));
-+ CPPUNIT_ASSERT(f.exists());
-+ CPPUNIT_ASSERT(!File(fname).exists());
-+ CPPUNIT_ASSERT_EQUAL(fnameTo, f.getBasename());
-+
-+ // to see renameTo() work even when the destination file exists
-+ of.open(fname.c_str());
-+ of.close();
-+
-+ CPPUNIT_ASSERT(f.renameTo(fname));
-+}
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-ag
--- a/net/aria2/patches/patch-ag Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- test/HttpHeaderProcessorTest.cc.orig 2007-08-28 12:36:33.000000000 -0400
-+++ test/HttpHeaderProcessorTest.cc
-@@ -105,7 +105,7 @@ void HttpHeaderProcessorTest::testGetHtt
- CPPUNIT_ASSERT_EQUAL(string("200"), status);
- CPPUNIT_ASSERT_EQUAL(string("Mon, 25 Jun 2007 16:04:59 GMT"), header->getFirst("Date"));
- CPPUNIT_ASSERT_EQUAL(string("Apache/2.2.3 (Debian)"), header->getFirst("Server"));
-- CPPUNIT_ASSERT_EQUAL(9187LL, header->getFirstAsLLInt("Content-Length"));
-+ CPPUNIT_ASSERT_EQUAL((int64_t)9187LL, header->getFirstAsLLInt("Content-Length"));
- CPPUNIT_ASSERT_EQUAL(string("text/html; charset=UTF-8"), header->getFirst("Content-Type"));
- }
-
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-ah
--- a/net/aria2/patches/patch-ah Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-ah,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- src/FtpConnection.cc.orig 2007-08-28 12:36:33.000000000 -0400
-+++ src/FtpConnection.cc
-@@ -73,13 +73,13 @@ void FtpConnection::sendType() const {
- }
-
- void FtpConnection::sendCwd() const {
-- string request = "CWD "+req->getDir()+"\r\n";
-+ string request = "CWD "+Util::urldecode(req->getDir())+"\r\n";
- logger->info(MSG_SENDING_REQUEST, cuid, request.c_str());
- socket->writeData(request);
- }
-
- void FtpConnection::sendSize() const {
-- string request = "SIZE "+req->getFile()+"\r\n";
-+ string request = "SIZE "+Util::urldecode(req->getFile())+"\r\n";
- logger->info(MSG_SENDING_REQUEST, cuid, request.c_str());
- socket->writeData(request);
- }
-@@ -116,7 +116,7 @@ void FtpConnection::sendRest(const Segme
- }
-
- void FtpConnection::sendRetr() const {
-- string request = "RETR "+req->getFile()+"\r\n";
-+ string request = "RETR "+Util::urldecode(req->getFile())+"\r\n";
- logger->info(MSG_SENDING_REQUEST, cuid, request.c_str());
- socket->writeData(request);
- }
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-ai
--- a/net/aria2/patches/patch-ai Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- src/HttpRequest.cc.orig 2007-08-28 12:36:33.000000000 -0400
-+++ src/HttpRequest.cc
-@@ -83,7 +83,7 @@ string HttpRequest::createRequest() cons
- }
- requestLine +=
- string(" HTTP/1.1\r\n")+
-- "User-Agent: "+Util::urlencode(userAgent)+"\r\n"+
-+ "User-Agent: "+userAgent+"\r\n"+
- "Accept: */*\r\n"+ /* */
- "Host: "+getHostText(getHost(), getPort())+"\r\n"+
- "Pragma: no-cache\r\n"+
diff -r 867474e9ab12 -r fe7384b77c4c net/aria2/patches/patch-aj
--- a/net/aria2/patches/patch-aj Fri Nov 02 16:03:37 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-$NetBSD: patch-aj,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
-
---- src/IteratableChunkChecksumValidator.cc.orig 2007-08-28 12:36:33.000000000 -0400
-+++ src/IteratableChunkChecksumValidator.cc
-@@ -36,13 +36,28 @@
- #include "Util.h"
Home |
Main Index |
Thread Index |
Old Index