From owner-freebsd-stable Thu Feb 7 7:55:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 3CFAE37B417 for ; Thu, 7 Feb 2002 07:55:19 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16YqtF-00014g-00 for stable@freebsd.org; Thu, 07 Feb 2002 15:55:13 +0000 Date: Thu, 7 Feb 2002 15:55:13 +0000 From: Rasputin To: stable@freebsd.org Subject: rasputin@submonkey.net: Re: HTTP_PROXY from /etc/make.conf? Message-ID: <20020207155513.A4117@shikima.mine.nu> Reply-To: Rasputin Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Date: Thu, 7 Feb 2002 15:54:33 +0000 From: Rasputin To: Alan Clegg Subject: Re: HTTP_PROXY from /etc/make.conf? Reply-To: Rasputin * Alan Clegg [020207 14:15]: > Unless the network is lying to me again, Nora Etukudo said: > > > I've a Squid-Proxy here and it works not, if I set 'ftp_proxy' too. With > > 'http_proxy' only, the 'fetch' works for both 'ftp://'- and 'http://'- urls. > > As a followup to this, does anyone think that it might be feasable for > the ports and/or system make files to set HTTP_PROXY from /etc/make.conf? > > I have a number of systems on which this would allow me to 'fire-and-forget' > when doing updates... ;-) If you set it in /etc/profile, fetch will use it. Either that or my cablemodem can do 2Mb/sec all of a sudden. Incidentally, squid is a http_proxy, not an ftp_proxy - fetch knows how to tunnel ftp over http (which squid supports by default), if its given a http_proxy URL. Mozilla/Netscape groks this too (which is why you set ftp proxy separately in its preferences). That's why it breaks if you try setting ftp_proxy. -- Know thyself. If you need help, call the C.I.A. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message