Date: Wed, 3 Sep 2003 10:14:00 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: a@jenisch.at Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add -r through Proxy/Firewall? Message-ID: <20030903091400.GA21134@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030903074549.GA3382@athena.oekb.co.at> References: <20030903074549.GA3382@athena.oekb.co.at>
next in thread | previous in thread | raw e-mail | index | archive | help
--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Sep 03, 2003 at 09:45:49AM +0200, a@jenisch.at wrote:
> Sitting behind a firewall that doesn't allow direkt ftp (neither
> active nor passive) I'm looking for a way to fetch packages
> (i.e. "pkg_add -r") from the Internet. What's possible though is doing
> http or ftp through a proxy server.
>=20
> So, how do I instruct pkg_add to download packages either via ftp or
> http through a proxy?
Set FTP_PROXY in your environment to the URL giving the scheme,
hostname and port number of your proxy. eg:
% setenv FTP_PROXY ftp://ftp-proxy.example.com:3128/
Depending on your precise setup, you might need to use FTP_LOGIN,
FTP_PASSWORD and FTP_PASSIVE_MODE as well. See the fetch(3) man page
for details.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/VbDYdtESqEQa7a0RAiTjAJ9jdNvvGHX8K7W2jlVVUQG9UJZhlQCghv7a
tuN1fymu/KSU/LbPBB/x60M=
=GhHn
-----END PGP SIGNATURE-----
--uAKRQypu60I7Lcqm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030903091400.GA21134>
