From owner-freebsd-ports@FreeBSD.ORG Tue Feb 26 05:11:30 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 63019958 for ; Tue, 26 Feb 2013 05:11:30 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nschwmtas06p.mx.bigpond.com (nschwmtas06p.mx.bigpond.com [61.9.189.152]) by mx1.freebsd.org (Postfix) with ESMTP id C74E4D66 for ; Tue, 26 Feb 2013 05:11:29 +0000 (UTC) Received: from nschwcmgw09p ([61.9.190.169]) by nschwmtas06p.mx.bigpond.com with ESMTP id <20130226051122.QHLU20473.nschwmtas06p.mx.bigpond.com@nschwcmgw09p>; Tue, 26 Feb 2013 05:11:22 +0000 Received: from hermes.heuristicsystems.com.au ([58.172.113.247]) by nschwcmgw09p with BigPond Outbound id 4tBM1l00z5LKYmq01tBMMu; Tue, 26 Feb 2013 05:11:22 +0000 X-Authority-Analysis: v=2.0 cv=bcfpoZzB c=1 sm=1 a=YibVxx38Z+cwdCKSMcELyg==:17 a=vqgtjjr0cl0A:10 a=twTT4oUKOlYA:10 a=kj9zAlcOel0A:10 a=GHIR_BbyAAAA:8 a=DzIUE2_VIJAA:10 a=6I5d2MoRAAAA:8 a=XVejySRiAAAA:8 a=wtnkbMFnrdXyTJ6THj8A:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=BeNcykH-VZ_Mc7lI:21 a=0MLkhK0U_IyBPeIO:21 a=YibVxx38Z+cwdCKSMcELyg==:117 Received: from white (white.hs [10.0.5.2]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id r1Q59f2g052862 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 26 Feb 2013 16:09:41 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) From: "Dewayne Geraghty" To: "'Aristedes Maniatis'" , References: <512C249B.4090401@ish.com.au> Subject: RE: Share /var/cache/pkg/ between machines Date: Tue, 26 Feb 2013 16:09:40 +1100 Message-ID: <4749ABEC867549DAB07179A7E71CDB4F@white> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <512C249B.4090401@ish.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac4TzW7kc+Py6O6fRy+getNDu7xdtwADz8IA X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 05:11:30 -0000 > -----Original Message----- > From: owner-freebsd-ports@freebsd.org > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of > Aristedes Maniatis > Sent: Tuesday, 26 February 2013 1:58 PM > To: freebsd-ports@freebsd.org > Subject: Share /var/cache/pkg/ between machines > > I'd like to share packages between a couple of nearly > identical machines in a server farm. I think I have the > following options: > > 1. Set up apache httpd on one primary machine to serve the > packages to the others by pointing website root to to > /var/cache/pkg/ and setting PACKAGESITE in the other servers. > This looks like it might work except that repo.txz is missing > from /var/cache/pkg/ > > 2. rsync /var/cache/pkg/ from the primary machine to the > others. Set PACKAGESITE on all machines to point to some > central repository where all these packages originally were > built (we run poudriere in another location). > > 3. Something else > > > How do other people cache/proxy built packages under pkgng? I > don't want to have to pull the same 80Mb JDK package onto 10 > machines across the internet. > > > Thanks > > Ari > > > > -- > --------------------------> > Aristedes Maniatis > ish > http://www.ish.com.au > Level 1, 30 Wilson Street Newtown 2042 Australia > phone +61 2 9550 5001 fax +61 2 9550 4001 > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 > 102A _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" Ari, We've been doing 1. for a few years, including remote servers. The pkg_ suite suits our needs and will be retained until retired. To reduce package sizes, we remove content that isn't required, such as: doc, include files, examples, content of share etc. But this requires effort to get right and may not suit your needs. Portmaster maintains the ports collection. Regards, Dewayne.