On Wed, 3 Feb 2010 12:20:53 +0000
Angelin Lalev <lalev.ange...@gmail.com> wrote:


> I have proxy server that requires username and password and I have set
> the HTTP_PROXY and FTP_PROXY environment variables accordingly.
> (HTTP_PROXY = FTP_PROXY =
> USERNAME:passw...@proxy.uni-svishtov.bg:8080)
> 
> portsnap --debug shows, among other rows the following error message:
> 
> phttpget: host = USERNAME, port = passw...@proxy.uni-svishtov.bg:8080:
> servname not
>  supported for ai_socktype
> 
> Seems to me like a bug somewhere in portsnap. Any help?

It looks to be a bug in phttpget, which is a download utility
used by portsnap and freebsd-update. It supports pipelining, so
it's very fast at fetching a large number of small files, but in all
other respects it simpler and less mature than fetch.

As temporary workaround I would suggest you backup portsnap and change
the line:

PHTTPGET=/usr/libexec/phttpget

to 

PHTTPGET=/usr/bin/fetch

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to