Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 15:46:37 +0200
From:      Nelis Lamprecht <nlamprecht@gmail.com>
To:        Vittorio <v.demartino2@virgilio.it>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: Thru a 'nasty' proxy
Message-ID:  <7cbadc8704111105466929f9fd@mail.gmail.com>
In-Reply-To: <200411111355.43139.v.demartino2@virgilio.it>
References:  <200411111355.43139.v.demartino2@virgilio.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Nov 2004 13:55:43 +0000, Vittorio <v.demartino2@virgilio.it> wrote:
> Old linux user now moving gradually to freebsd 5.2.1, at office we have
> a lan
> 1) with an http proxy for which authentication via userid & passwd is
> needed AND
> 2) ftp is blocked, not permitted.
> 
> I want to use the ports and compile my programs. I have already tried to
> set the http proxy (as under linux, by the way!)  issuing:
> 
> env HTTP_PROXY="http://userid:passwd@myproxy.it:8080"
> 
> to no avail; freebsd complains endlessly that
> ...............................
> fetch: ftp://............: Host not found
> .............................

Try putting in the following in /etc/make.conf

FETCH_ENV=      FTP_PROXY=http://userid:passwd@myproxy.it:8080
FETCH_ENV=      HTTP_PROXY=http://userid:passwd@myproxy.it:8080

To be honest, haven't tried it with authentication but the above would
be the correct way to make use of a proxy for ports.

Nelis



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