Subject: Re: pkg_add adding a "/" to ftp url?
To: Florian Stoehr <,>
From: Hubert Feyrer <>
List: tech-pkg
Date: 03/10/2006 15:49:45
In article <> you wrote:
> I have PKG_PATH ending in .../i386/All
> (so without a trailing /).
> I have ftp_proxy set to "ftp_proxy="
> Now the effect is that a "pkg_add mypackage" will call
> ftp -detv<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