Subject: Re: pkg_add adding a "/" to ftp url?
To: Florian Stoehr <netbsd@wolfnode.de, tech-pkg@NetBSD.org>
From: Hubert Feyrer <hubertf@gmx.de>
List: tech-pkg
Date: 03/10/2006 15:49:45
In article <Pine.NEB.4.64.0602271835000.17572@flo.actimon.de> you wrote:
> I have PKG_PATH ending in .../i386/All
> 
> (so without a trailing /).
> 
> I have ftp_proxy set to "ftp_proxy=http://proxy.ourcompany.de:3128/"
> 
> Now the effect is that a "pkg_add mypackage" will call
> 
> ftp -detv ftp://ftp.de.netbsd.org/<blablabla>/i386/All/
> 
> which does not work (connection times out).
> 
> FTP_PASSIVE_MODE is set to "yes".
> 
> If I manually try the URL and remove the trailing "/" that pkg_add 
> appends, ftp at least fetches the (html) directory listing.
> 
> Now that? Our proxy is current squid on FreeBSD, what's the problem here, 
> can I force pkg_add not to append the "/"?

No, as NetBSD's ftp(1) would not DTRT with a "real" FTP server.


 - Hubert