Subject: Re: pkg_add adding a "/" to ftp url?
To: Florian Stoehr <firstname.lastname@example.org, tech-pkg@NetBSD.org>
From: Hubert Feyrer <email@example.com>
Date: 03/10/2006 15:49:45
In article <Pine.NEB.firstname.lastname@example.org> 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.