On 2009-04-04, Chris <[email protected]> wrote: > My pkg_add gets blocked by the web based authentication system I use > at work. Every time I try pkg_add -iv honeyd, I get the following > error: > > Error from ftp://rt.fm/pub/OpenBSD/snapshots/packages/i386/ > Redirected to https://company.com:443//portal/login?__dest=rt.fm > Requesting https://company.com:443//portal/login?__dest=rt.fm > No packages available in the PKG_PATH > Can't resolve honeyd > > Is there any way to tell pkg_add my user name and password for the web > authentication system? I'm only using the base system.
I don't know what's going to be involved with this portal you get redirected to... Is there any chance that you just need to login via a web browser first and then it unblocks access from your IP address? If it can do the usual HTTP proxy authentication, your best option is probably to install curl via manual download (you will also need libiconv, gettext & libidn), set FETCH_CMD to use curl with the appropriate flags to login to your proxy, and use an _HTTP_ mirror.

