From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 21:22:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8CA22611 for ; Fri, 25 Oct 2013 21:22:26 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 650AF2259 for ; Fri, 25 Oct 2013 21:22:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id 821682FCCAA for ; Fri, 25 Oct 2013 14:22:25 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 16967-06 for ; Fri, 25 Oct 2013 14:22:25 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 431702FCCA0 for ; Fri, 25 Oct 2013 14:22:25 -0700 (PDT) Message-ID: <526AE110.9030105@networktest.com> Date: Fri, 25 Oct 2013 14:22:24 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: (de)centralized ports management with portsnap References: <526AC748.6010805@networktest.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 21:22:26 -0000 On 10/25/13 2:18 PM, illoai@gmail.com wrote: > On 25 October 2013 15:32, David Newman wrote: >> I'm setting up a group of FreeBSD servers that use 'portsnap fetch' and >> then 'portsnap update' to refresh their ports trees. >> >> Can I set up a local master to avoid pulling updates multiple times? If >> portsnap isn't the right tool for this, what is? >> >> Apologies if this has been asked before; this seems like a standard >> problem, but I didn't see an answer in a web search, the portsnap >> manpage, or in the Michael W. Lucas FreeBSD book. > > It's probably simplest to simply pull with one machine & then use > rsync or some such to push the updates out to the client machines > which would then run "portsnap update" as needed. Thanks. What directories would get rsync'd over for the updates? Is it really as simple as just copying over /usr/ports to each machine? thanks again dn