From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 14:52:19 2009 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 D39341065673 for ; Wed, 21 Jan 2009 14:52:19 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 322FC8FC27 for ; Wed, 21 Jan 2009 14:52:19 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vhoffman.lon.namesco.net (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id n0LErMAI016319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Jan 2009 14:53:23 GMT (envelope-from vince@unsane.co.uk) Message-ID: <497736A0.4060000@unsane.co.uk> Date: Wed, 21 Jan 2009 14:52:16 +0000 From: Vincent Hoffman User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Wojciech Puchar References: <910c4cb0901210043o78f76343mea5f1aa67b696510@mail.gmail.com> <20090121130952.B26065@wojtek.tensor.gdynia.pl> <49771CB1.3090106@unsane.co.uk> <20090121141701.C26218@wojtek.tensor.gdynia.pl> In-Reply-To: <20090121141701.C26218@wojtek.tensor.gdynia.pl> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Razor Subject: Re: Is there any tools can build a mirror of portsnap? 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: Wed, 21 Jan 2009 14:52:20 -0000 Wojciech Puchar wrote: > if portsnap could use proxies - it would be simple. but it cant > The manpage suggests you could, "If you wish to use portsnap to keep a large number of machines up to date, you may wish to set up a caching HTTP proxy. Since portsnap uses fetch(1) to download updates, setting the HTTP_PROXY environment variable will direct it to fetch updates from the given proxy. This is much more efficient than mirroring the files on the portsnap server, since the vast majority of files are not needed by any par- ticular client." I havent tried this though. Vince > On Wed, 21 Jan 2009, Vincent Hoffman wrote: > >> Wojciech Puchar wrote: >>> simply do portsnap in one place and use rsync to mirror >>> /var/db/portsnap >>> >>> On Wed, 21 Jan 2009, Razor wrote: >>> >>>> Hi, >>>> I want to build a mirror server of portsnap in my company. But I >>>> couldn't >>>> find any tools either in ports-mgmt or in google. So is there a tool >>>> can do >>>> this? >>>> >> There is a script in the freebsd cvs repository to mirror the portsnap >> servers, but from the README with it. >> >> "this is not an invitation to start running a portsnap mirror as well. >> There >> is nothing to stop you from mirroring from portsnap[12].freebsd.org, >> but since mirroring consumes ~5GB/month of bandwidth while updating a >> single machine consumes ~5MB/month of bandwidth, adding unnecessary >> mirrors is likely to increase rather than decrease the load on the >> official mirrors. If in doubt, talk to me (cperciva@FreeBSD.org) >> first." >> >> >> >> So if you think its worth it (you have 1000 or so clients to upgrade,) >> go look in the cvs repository under projects. >> >> >> Vince >> >>>> Thanks. >>>> _______________________________________________ >>>> 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" >>>> >>>> >>> _______________________________________________ >>> 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" >> >>