From owner-freebsd-questions@FreeBSD.ORG Mon Jun 27 14:06:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85522106566C for ; Mon, 27 Jun 2011 14:06:27 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 23FE38FC0A for ; Mon, 27 Jun 2011 14:06:26 +0000 (UTC) Received: by wwe6 with SMTP id 6so4475508wwe.31 for ; Mon, 27 Jun 2011 07:06:26 -0700 (PDT) Received: by 10.227.138.16 with SMTP id y16mr1250876wbt.67.1309183586081; Mon, 27 Jun 2011 07:06:26 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id o19sm4119112wbh.4.2011.06.27.07.06.23 (version=SSLv3 cipher=OTHER); Mon, 27 Jun 2011 07:06:23 -0700 (PDT) Message-ID: <4E088E5E.6000106@my.gd> Date: Mon, 27 Jun 2011 16:06:22 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Using a "special" proxy for ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 14:06:27 -0000 On 6/27/11 4:52 AM, Dennis Glatting wrote: > > I have a requirement where I need to archive ports used across twenty > hosts for a year or more. I've decided to do this using Squid and to > take advantage of Squid's cache when updating common ports across those > hosts. > > (BTW, at another site I used rsync to sync /usr/ports/distfiles across > the hosts to a local master site then specified _MASTER_SITES_DEFAULT in > make.conf to a FTP server on the local site. That method works when the > port is previously cached however if the file isn't in the cache and I > simultaneously install the port across ten hosts, the port is fetched > ten times. Sigh.) > > I have a Squid proxy installed that isn't meant for every-day/every-user > use and requires authentication. (Users either go through another Squid > proxy or direct.) The special Squid proxy works. No surprise there. > Authentication works. No surprise there. > > What I need is a method to embed into make.conf a proxy specification > for fetch. Setting the environment variable HTTP_PROXY from the login > shell /is not/ preferred because the account is used by different > administrators, I don't what the special proxy accidentally polluted > with non-port stuff, and it would only create confusion. > > Setting http_proxy in make.conf does not work. .netrc doesn't appear to > be a viable method (if it did, I could specify FETCH_ARGS in make.conf). > > _______________________________________________ > 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" What about using a NFS share for /usr/ports/distfiles ?