Re: [NEW] www/aria2

2010-10-27 Thread remi.pointel
Le mar 26/10/10 14:10, David Coppa dco...@gmail.com a écrit:
 On Tue, Oct 26, 2010 at 2:07 PM, Mike Erdely m...@erdelynet.com wrote:
 On Mon, Oct 25, 2010 at 08:02:50PM +0200, Remi
 Pointel wrote:
 Hi,
 
  this is the port of aria2, a lightweight
 multi-protocol  multi-source download utility.

  Tested on amd64.
 
  Critical positive or negative would be
 appreciated ;-).

  `make regress` fails:
  Making check in test
  make  aria2c
  c++ -DHAVE_CONFIG_H -I. -I..   -Wall  -I ../src
 -I../lib -I../intl -I../intl -I/usr/local/include  -I/usr/include
 -I/usr/include -I/usr/include  -I/usr/local/include
 -DLOCALEDIR=\/usr/local/share/locale\ -DHAVE_CONFIG_H
 -I/usr/local/include  -O2 -pipe -MT AllTest.o -MD -MP -MF
 .deps/AllTest.Tpo -c -o AllTest.o AllTest.cc
 AllTest.cc:5:39: error: cppunit/CompilerOutputter.h:
 No such file or directory
 AllTest.cc:6:52: error:
 cppunit/extensions/TestFactoryRegistry.h: No such file or
 directory
 AllTest.cc:7:40: error:
 cppunit/ui/text/TestRunner.h: No such file or directory
 AllTest.cc: In function 'int main(int,
 char**)':
 AllTest.cc:31: error: 'CppUnit' has not been
 declared
 AllTest.cc:31: error: 'suite' was not declared in
 this scope
 AllTest.cc:31: error: 'CppUnit' has not been
 declared
 AllTest.cc:32: error: 'CppUnit' has not been
 declared
 AllTest.cc:32: error: expected `;' before
 'runner'
 AllTest.cc:33: error: 'runner' was not declared in
 this scope
 AllTest.cc:35: error: expected type-specifier before
 'CppUnit'
 AllTest.cc:35: error: expected `)' before
 'CppUnit'
 *** Error code 1
 
 It's missing a:
 
 REGRESS_DEPENDS = ::devel/cppunit
 
 ciao,
 david

Hi,

thanks to testers and Landry for commit.

Remi.




Re: [NEW] www/aria2

2010-10-26 Thread Remi Pointel
On Tue, 26 Oct 2010 01:08:20 +0200
Landry Breuil lan...@rhaalovely.net wrote:
 On Mon, Oct 25, 2010 at 08:02:50PM +0200, Remi Pointel wrote:
  Hi,
  
  this is the port of aria2, a lightweight multi-protocol  multi-source 
  download utility.
 
 I have no idea how to use or test it, but portswise this is definitely
 ok. Any real reason for disabling gnutls and xml2 ?
 
 Landry
Hello Landry,

I have disabled gnutls because we have openssl in src, what is preferred in 
this case ?
Not real reason for xml2, it works without this so I disabled it. I could 
create flavors for xml2 if it is necessary.

Few tests :
- Download a file in /tmp/
aria2c -d /tmp/ http://ftp.fr.openbsd.org/pub/OpenBSD/4.7/i386/install47.iso
You can resume download : Ctrl-C during the download and re-enter the command.

- Download a file using 2 connections :
ariac2c -s2 http://ftp.fr.openbsd.org/pub/OpenBSD/4.7/i386/install47.iso 
http://ftp.kddlabs.co.jp/OpenBSD/4.7/i386/install47.iso

- Download a bittorent :
aria2c url_of_bittorent

- Download a list of files :
cat /tmp/to_dl.txt 
http://ftp.fr.openbsd.org/pub/OpenBSD/4.6/i386/base46.tgz
http://ftp.fr.openbsd.org/pub/OpenBSD/4.7/i386/base47.tgz
aria2c -i /tmp/to_dl.txt -d .

- Example of results :
Download Results:
gid|stat|avg speed  |path/URI
===++===+===
  1|  OK| 313.0KiB/s|./base46.tgz
  2|  OK| 311.7KiB/s|./base47.tgz

Thanks,

Remi



Re: [NEW] www/aria2

2010-10-26 Thread Gonzalo L. R.
works fine here. i386 -current.

cheers

On 10/26/10 03:08, Remi Pointel wrote:
 On Tue, 26 Oct 2010 01:08:20 +0200
 Landry Breuil lan...@rhaalovely.net wrote:
 On Mon, Oct 25, 2010 at 08:02:50PM +0200, Remi Pointel wrote:
 Hi,

 this is the port of aria2, a lightweight multi-protocol  multi-source 
 download utility.

 I have no idea how to use or test it, but portswise this is definitely
 ok. Any real reason for disabling gnutls and xml2 ?

 Landry
 Hello Landry,
 
 I have disabled gnutls because we have openssl in src, what is preferred in 
 this case ?
 Not real reason for xml2, it works without this so I disabled it. I could 
 create flavors for xml2 if it is necessary.
 
 Few tests :
 - Download a file in /tmp/
 aria2c -d /tmp/ http://ftp.fr.openbsd.org/pub/OpenBSD/4.7/i386/install47.iso
 You can resume download : Ctrl-C during the download and re-enter the command.
 
 - Download a file using 2 connections :
 ariac2c -s2 http://ftp.fr.openbsd.org/pub/OpenBSD/4.7/i386/install47.iso 
 http://ftp.kddlabs.co.jp/OpenBSD/4.7/i386/install47.iso
 
 - Download a bittorent :
 aria2c url_of_bittorent
 
 - Download a list of files :
 cat /tmp/to_dl.txt 
 http://ftp.fr.openbsd.org/pub/OpenBSD/4.6/i386/base46.tgz
 http://ftp.fr.openbsd.org/pub/OpenBSD/4.7/i386/base47.tgz
 aria2c -i /tmp/to_dl.txt -d .
 
 - Example of results :
 Download Results:
 gid|stat|avg speed  |path/URI
 ===++===+===
   1|  OK| 313.0KiB/s|./base46.tgz
   2|  OK| 311.7KiB/s|./base47.tgz
 
 Thanks,
 
 Remi
 

-- 
Sending from my Computer.



Re: [NEW] www/aria2

2010-10-26 Thread Mike Erdely
On Mon, Oct 25, 2010 at 08:02:50PM +0200, Remi Pointel wrote:
 Hi,
 
 this is the port of aria2, a lightweight multi-protocol  multi-source 
 download utility.
 
 Tested on amd64.
 
 Critical positive or negative would be appreciated ;-).

`make regress` fails:
Making check in test
make  aria2c
c++ -DHAVE_CONFIG_H -I. -I..   -Wall  -I ../src -I../lib -I../intl -I../intl 
-I/usr/local/include  -I/usr/include -I/usr/include -I/usr/include  
-I/usr/local/include -DLOCALEDIR=\/usr/local/share/locale\ -DHAVE_CONFIG_H 
-I/usr/local/include  -O2 -pipe -MT AllTest.o -MD -MP -MF .deps/AllTest.Tpo -c 
-o AllTest.o AllTest.cc
AllTest.cc:5:39: error: cppunit/CompilerOutputter.h: No such file or directory
AllTest.cc:6:52: error: cppunit/extensions/TestFactoryRegistry.h: No such file 
or directory
AllTest.cc:7:40: error: cppunit/ui/text/TestRunner.h: No such file or directory
AllTest.cc: In function 'int main(int, char**)':
AllTest.cc:31: error: 'CppUnit' has not been declared
AllTest.cc:31: error: 'suite' was not declared in this scope
AllTest.cc:31: error: 'CppUnit' has not been declared
AllTest.cc:32: error: 'CppUnit' has not been declared
AllTest.cc:32: error: expected `;' before 'runner'
AllTest.cc:33: error: 'runner' was not declared in this scope
AllTest.cc:35: error: expected type-specifier before 'CppUnit'
AllTest.cc:35: error: expected `)' before 'CppUnit'
*** Error code 1

I didn't look into it.

-ME



Re: [NEW] www/aria2

2010-10-26 Thread David Coppa
On Tue, Oct 26, 2010 at 2:07 PM, Mike Erdely m...@erdelynet.com wrote:
 On Mon, Oct 25, 2010 at 08:02:50PM +0200, Remi Pointel wrote:
 Hi,

 this is the port of aria2, a lightweight multi-protocol  multi-source 
 download utility.

 Tested on amd64.

 Critical positive or negative would be appreciated ;-).

 `make regress` fails:
 Making check in test
 make  aria2c
 c++ -DHAVE_CONFIG_H -I. -I..   -Wall  -I ../src -I../lib -I../intl -I../intl 
 -I/usr/local/include  -I/usr/include -I/usr/include -I/usr/include  
 -I/usr/local/include -DLOCALEDIR=\/usr/local/share/locale\ -DHAVE_CONFIG_H 
 -I/usr/local/include  -O2 -pipe -MT AllTest.o -MD -MP -MF .deps/AllTest.Tpo 
 -c -o AllTest.o AllTest.cc
 AllTest.cc:5:39: error: cppunit/CompilerOutputter.h: No such file or directory
 AllTest.cc:6:52: error: cppunit/extensions/TestFactoryRegistry.h: No such 
 file or directory
 AllTest.cc:7:40: error: cppunit/ui/text/TestRunner.h: No such file or 
 directory
 AllTest.cc: In function 'int main(int, char**)':
 AllTest.cc:31: error: 'CppUnit' has not been declared
 AllTest.cc:31: error: 'suite' was not declared in this scope
 AllTest.cc:31: error: 'CppUnit' has not been declared
 AllTest.cc:32: error: 'CppUnit' has not been declared
 AllTest.cc:32: error: expected `;' before 'runner'
 AllTest.cc:33: error: 'runner' was not declared in this scope
 AllTest.cc:35: error: expected type-specifier before 'CppUnit'
 AllTest.cc:35: error: expected `)' before 'CppUnit'
 *** Error code 1

It's missing a:

REGRESS_DEPENDS = ::devel/cppunit

ciao,
david



[NEW] www/aria2

2010-10-25 Thread Remi Pointel
Hi,

this is the port of aria2, a lightweight multi-protocol  multi-source download 
utility.

Tested on amd64.

Critical positive or negative would be appreciated ;-).

Few information :


$ pkg_info aria2   
Information for inst:aria2-1.10.5

Comment:
lightweight multi-protocol  multi-source download utility

Description:
aria2 is a multi-protocol  multi-source, cross platform download
utility. The supported protocols are HTTP(S), FTP, BitTorrent, Metalink.
It can download a file from multiple sources/protocols and tries to
utilize your maximum download bandwidth.

Maintainer: Remi Pointel remi.poin...@xiri.fr

WWW: http://aria2.sourceforge.net/


Thanks,

Remi.


aria2-1.10.5.tar.gz
Description: Binary data


Re: [NEW] www/aria2

2010-10-25 Thread Landry Breuil
On Mon, Oct 25, 2010 at 08:02:50PM +0200, Remi Pointel wrote:
 Hi,
 
 this is the port of aria2, a lightweight multi-protocol  multi-source 
 download utility.

I have no idea how to use or test it, but portswise this is definitely
ok. Any real reason for disabling gnutls and xml2 ?

Landry