Subject: Re: pkg_add through proxy doenst work
To: Michael van Elst <mlelstv@serpens.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 02/04/2007 23:43:02
On Thu, Feb 01, 2007 at 06:58:22AM +0000, Michael van Elst wrote:
> t.stritzky@teles.de (Tilo Stritzky) writes:
> 
> >Hi list,
> 
> >I sit behind a http-proxy (MS). So I set the ftp_proxy and http_proxy
> >environment variables. Now simple ftp works fine but I cannot install any
> >packages directly, see the the following script(1):
> 
> ftp_proxy is only honored for command-line fetches, but not for
> interactive use.
> 
> pkg_add however needs to run ftp interactively as a co-process
> to support wildcard URLs which aren't usuable through a proxy
> anyway.
> 
> I guess one can teach pkg_add to handle non-wildcard URLs in
> a special manner, but this also has implications on portability
> since the proxy functionality is an extension of the NetBSD
> ftp client.

Ideally, pkg_add should be able to retrieve a list of files from
the pkg repository and work on that, instead of interractive ftp
commands. This would give http and proxy support ...

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--