Re: pkgsrc use curl or wget

2013-07-11 Thread Mayuresh
On Wed, Jul 10, 2013 at 10:41:04PM -0400, matthew sporleder wrote:
 Try FETCH_USING= curl in mk.conf
 
 I know you can use it in individual packages so maybe it will just work.

I was looking for something similar. Would an accelerator like aget or
aria2 work? Perhaps the infrastructure would just pass URL to whatever
command you right. (Or does it specifically understand some of the
downloaders?)

Currently, for large packages, I break the download, download those
manually using aget and then make again.

Mayuresh.


Re: pkgsrc use curl or wget

2013-07-11 Thread Matt Sporleder
That is a fetch using custom I think. Check out adding stuff to mk/fetch/ 
tools. 

(sorry for lack of detail but I am on my phone)




On Jul 11, 2013, at 3:16 AM, Mayuresh mayur...@acm.org wrote:

 On Wed, Jul 10, 2013 at 10:41:04PM -0400, matthew sporleder wrote:
 Try FETCH_USING= curl in mk.conf
 
 I know you can use it in individual packages so maybe it will just work.
 
 I was looking for something similar. Would an accelerator like aget or
 aria2 work? Perhaps the infrastructure would just pass URL to whatever
 command you right. (Or does it specifically understand some of the
 downloaders?)
 
 Currently, for large packages, I break the download, download those
 manually using aget and then make again.
 
 Mayuresh.


Re: pkgsrc use curl or wget

2013-07-11 Thread Thor Lancelot Simon
On Thu, Jul 11, 2013 at 12:46:48PM +0530, Mayuresh wrote:
 On Wed, Jul 10, 2013 at 10:41:04PM -0400, matthew sporleder wrote:
  Try FETCH_USING= curl in mk.conf
  
  I know you can use it in individual packages so maybe it will just work.
 
 I was looking for something similar. Would an accelerator like aget or
 aria2 work? Perhaps the infrastructure would just pass URL to whatever

If these accellerators are the sort of program that opens tens of
connections at a time to the same server to avoid per-connection
bandwidth restrictions, you should be aware that pointing them at the
NetBSD FTP servers is an excellent way to get your IP address blacklisted.

If they're not, on the other hand, by all means, proceed...

Thor


Re: pkgsrc use curl or wget

2013-07-11 Thread Victor Aurélio Santos
Thank you matthew sporleder worked nice!

Mayuresh, have you tried FETCH_USING=aria2c -j16 or something like
this ? (based on matthew response)

2013/7/11 Mayuresh mayur...@acm.org:
 On Wed, Jul 10, 2013 at 10:41:04PM -0400, matthew sporleder wrote:
 Try FETCH_USING= curl in mk.conf

 I know you can use it in individual packages so maybe it will just work.

 I was looking for something similar. Would an accelerator like aget or
 aria2 work? Perhaps the infrastructure would just pass URL to whatever
 command you right. (Or does it specifically understand some of the
 downloaders?)

 Currently, for large packages, I break the download, download those
 manually using aget and then make again.

 Mayuresh.


Re: pkgsrc use curl or wget

2013-07-10 Thread matthew sporleder
On Wed, Jul 10, 2013 at 10:04 PM, Victor Aurélio Santos
victoraur.san...@gmail.com wrote:
 Hi,

 Is possible make use curl or wget in make ?

 fetch is terrible here, it have 2 bugs, first in files larger than 1mb
 it hangs on +/- 99% and ETA say stalled I've searched about this and
 apparently this occur when using a proxy, but the problem is that I'm
 behind a transparent proxy (ISP's transparent proxy).
 the second bug is the speed of downloads in fetch, it's speed is half
 of wget or curl.

 and finally, I personally prefer curl!


Try FETCH_USING= curl in mk.conf

I know you can use it in individual packages so maybe it will just work.