Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 08:11:07 +0200
From:      Udo Schweigert <ust@cert.siemens.de>
To:        Wolfgang Zeikat <w.zeikat@webseek.de>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Is it possible to have fetch use an ftp proxy for make in /usr/ports?
Message-ID:  <20010523081107.A54692@alaska.cert.siemens.de>
In-Reply-To: <W.20010523035331.F64.2.1DAD@smtprelay.t-online.de>; from w.zeikat@webseek.de on Wed, May 23, 2001 at 03:53:31AM %2B0200
References:  <W.20010523035331.F64.2.1DAD@smtprelay.t-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 23, 2001 at 03:53:31 +0200, Wolfgang Zeikat wrote:
> i installed FreeBSD 4.3 (i386) at work today.
> when trying to make in /usr/ports/* it cannot connect to the ftp servers,
> only to http ones.
> our firewall doesnt allow fetch to do ftp. i tried to set it up to use our
> ftp proxy but somehow didnt succeed. how exactly would be the setup for
> fetch to use that proxy? or can it (like /stand/sysinstall) use a http
> proxy instead?
> 

Both.

You can use FTP_PROXY or HTTP_PROXY environment variables for this, e.g.
(in bourne sh):

HTTP_PROXY=http://proxy.your.domain:81
export HTTP_PROXY

See also the details in fetch(3).

Best regards

--
Udo Schweigert, Siemens AG   | Voice      : +49 89 636 42170
CT IC 3, Siemens CERT        | Fax        : +49 89 636 41166
D-81730 Muenchen / Germany   | email      : ust@cert.siemens.de

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010523081107.A54692>