From owner-freebsd-ports Mon Jun 3 6:28: 8 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 9454937B407 for ; Mon, 3 Jun 2002 06:27:59 -0700 (PDT) Received: (qmail 9191 invoked by uid 0); 3 Jun 2002 13:27:57 -0000 Received: from pd90032a9.dip.t-dialin.net (HELO gmx.net) (217.0.50.169) by mail.gmx.net (mp002-rz3) with SMTP; 3 Jun 2002 13:27:57 -0000 Message-ID: <3CFB6EED.6090306@gmx.net> Date: Mon, 03 Jun 2002 15:28:13 +0200 From: Michael Nottebrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 X-Accept-Language: de-de, de MIME-Version: 1.0 To: "Vladimir G. Drobyshevsky" Cc: owner-freebsd-ports@FreeBSD.ORG, Walid Nehme , ports@FreeBSD.ORG Subject: Re: install ports through proxy server References: <20020603125325.26989.qmail@web10005.mail.yahoo.com> <12132828354.20020603190323@telecom.ural.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Vladimir G. Drobyshevsky schrieb: > Have a nice day! > > Monday, June 3, 2002, 6:53:25 PM, you wrote: > > WN> Dear sirs. > WN> I'm interested in one question. > WN> i usually install ports from internet. > WN> but is there a way to tell my box to use a certain proxy > WN> server. > WN> i work in a localnet and have a proxy server for a download > WN> satellite, and want to use download satellite to download > WN> my ports, so that not to close the upload on my modem. > WN> Tnx a lot. > Just set environment variables named FTP_PROXY and HTTP_PROXY with > address of your proxy server, like > > csh# setenv HTTP_PROXY http://proxy.some.host.com:3128 > csh# setenv FTP_PROXY http://proxy.some.host.com:3128 Alternatively, you can put a line like FETCH_ENV= HTTP_PROXY=http://proxy.some.host.com: FTP_PROXY=http://proxy.some.host.com: (all on one line) in /etc/make.conf. That way, you don't need to modify your work-environment and the proxies will even be used when you upgrade ports via cronjobs. Also note that you don't need to set FTP_PROXY, if HTTP_PROXY and FTP_PROXY are the same. Regards, -- Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message