From owner-freebsd-questions Tue May 22 23:11:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 64B8437B422 for ; Tue, 22 May 2001 23:11:09 -0700 (PDT) (envelope-from ust@cert.siemens.de) X-Envelope-Sender-Is: ust@cert.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.11.0/8.11.0) with ESMTP id f4N6B7502478; Wed, 23 May 2001 08:11:07 +0200 (MET DST) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail1.siemens.de (8.11.0/8.11.0) with ESMTP id f4N6B7d21514; Wed, 23 May 2001 08:11:07 +0200 (MET DST) Received: from alaska.cert.siemens.de (reims.mchp.siemens.de [139.23.202.134]) by mars.cert.siemens.de (8.11.3/8.11.3/Siemens CERT [ $Revision: 1.13 ]) with ESMTP id f4N6B7o06379; Wed, 23 May 2001 08:11:07 +0200 (CEST) (envelope-from ust@alaska.cert.siemens.de) Received: (from ust@localhost) by alaska.cert.siemens.de (8.11.3/8.11.3/alaska [ $Revision: 1.6 ]) id f4N6B7154950; Wed, 23 May 2001 06:11:07 GMT Date: Wed, 23 May 2001 08:11:07 +0200 From: Udo Schweigert To: Wolfgang Zeikat 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> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from w.zeikat@webseek.de on Wed, May 23, 2001 at 03:53:31AM +0200 X-Operating-System: FreeBSD 4.3-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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