Subject: Re: pkg_add + wget?
To: Rui Paulo <rpaulo@NetBSD.org>
From: Kamil Shakirov <kamils80@gmail.com>
List: netbsd-help
Date: 07/21/2005 15:26:28
Hello, Rui

Rui Paulo wrote:
>  | I tried to install some binary packages being behind proxy but I didn't 
>  |  succeed. I know about ftp_proxy and http_proxy and set them properly 
>  | but  couldn't make the ftp client work for me. But wget works fine. Is 
>  | there any way to make pkg_add work with wget? Thanks in advance!
> 
> Did you tried to fetch some other file with ftp(1) ? Does it work ?

Sure, I did ;) It didn't work either.

> Anyway, for using wget, set the following variables in /etc/mk.conf:
> FETCH_CMD=wget
> FETCH_RESUME_ARGS=-c
> FETCH_OUTPUT_ARGS=-O
> 
> Hope this helps.

Great! I will try this. Thanks for this trick! ;-)