From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 14:28:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B355316A4CE for ; Thu, 11 Nov 2004 14:28:57 +0000 (GMT) Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C76943D41 for ; Thu, 11 Nov 2004 14:28:57 +0000 (GMT) (envelope-from thad.butterworth@hp.com) Received: from cacexg11.americas.cpqcorp.net (cacexg11.americas.cpqcorp.net [16.92.1.67]) by palrel10.hp.com (Postfix) with ESMTP id ECAFF588C9; Thu, 11 Nov 2004 06:28:56 -0800 (PST) Received: from idbexc01.americas.cpqcorp.net ([16.88.97.3]) by cacexg11.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 11 Nov 2004 06:28:56 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 11 Nov 2004 07:28:56 -0700 Message-ID: <2D8BB15C7B5C214F81C32D3A83B32736019A0EFF@idbexc01.americas.cpqcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Thru a 'nasty' proxy Thread-Index: AcTH9Pr/SyRU4pLxR4yXkyZoadU57AABV+iA From: "Butterworth, Thaddaeus (Manpower Contract)" To: "Nelis Lamprecht" , "Vittorio" X-OriginalArrivalTime: 11 Nov 2004 14:28:56.0818 (UTC) FILETIME=[C7085520:01C4C7FA] cc: FreeBSD Questions Subject: RE: Thru a 'nasty' proxy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 14:28:57 -0000 >-----Original Message----- >From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd->questions@freebsd.org] On Behalf Of Nelis Lamprecht >Sent: Thursday, November 11, 2004 6:47 AM >To: Vittorio >Cc: FreeBSD Questions >Subject: Re: Thru a 'nasty' proxy > >On Thu, 11 Nov 2004 13:55:43 +0000, Vittorio >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. >>=20 >> 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: >>=20 >> env HTTP_PROXY=3D"http://userid:passwd@myproxy.it:8080" >>=20 >> to no avail; freebsd complains endlessly that >> ............................... >> fetch: ftp://............: Host not found >> ............................. > >Try putting in the following in /etc/make.conf > >FETCH_ENV=3D FTP_PROXY=3Dhttp://userid:passwd@myproxy.it:8080 >FETCH_ENV=3D HTTP_PROXY=3Dhttp://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 >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions->unsubscribe@freebsd.org" > If you want to test it without editing your /etc/make.conf file then you can always type in setenv FTP_PROXY=3Dhttp://userid:passwd@myproxy.it:8080. That's what I use to make sure that I've got the right settings before I change any conf files. Thad