Subject: Re: pkg_add + wget?
To: Kamil Shakirov <kamils80@gmail.com>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-help
Date: 07/21/2005 12:28:04
On 2005.07.21 15:26:28 +0000, Kamil Shakirov wrote:
| 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! ;-)
Hmm, I'm sorry I didn't tested this first. This will only work when building
packages from source, not with pkg_add(1).
-- Rui Paulo