Subject: Re: pkg_add + wget?
To: Rui Paulo <rpaulo@NetBSD.org>
From: Mike M. Volokhov <mishka@apk.od.ua>
List: netbsd-help
Date: 07/21/2005 15:30:18
On Thu, 21 Jul 2005 12:24:13 +0100
Rui Paulo <rpaulo@NetBSD.org> wrote:
> On 2005.07.21 14:02:22 +0000, Mike M. Volokhov wrote:
> | AFAIK, no, you can't use wget for pkg_add, because all HTTP/FTP fetches
> | performed using internal routines (ftpio.c) and pkg_add didn't use any
> | external command (even nbftp) to retrive packages.
>
> Are you sure about this ?
[snip]
>
> Am I missing something ?
Err, sorry... Just checked via ftpio.c bit more carefuly, and it really
spawns ftp process. I've messed up parsing of ftp(1) output and FTP
protocol.
But command just hard coded as FTP_CMD and all ftp routines dependend
on NetBSD ftp(1) utility output. Thus in any case, it seems impossible
to use any other ftp client.
--
Mishka.