On 2007/01/11 12:19, [EMAIL PROTECTED] wrote:
> In spite of the fact that - according to your suggestion - I have read every
> piece of info  about ftp and proxies both under man and googling, I'm still
> unable to pkg_add any package to my openbsd 4.0 installation.

proxy authentication isn't supported in ftp. pkg_add can use
a different program to carry out the transfer, though:

  FETCH_CMD     Override use of ftp(1).  Must point to a command that
                understands ${FETCH_CMD} -o - url.

as you'll see from ftp(1), "-o -" dumps the file to stdout.

sounds like you're probably using an HTTP proxy server to fetch
things, is that right? if so you might have luck with a script
that does something like this,

 lynx -pauth=user:pass -dump "$3"

(not tested at all, but hopefully you get the idea - if it's no
good, use these clues to work something out for yourself :)

Reply via email to