From owner-freebsd-ports@FreeBSD.ORG Tue Feb 26 04:05:00 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 CE3711EE for ; Tue, 26 Feb 2013 04:05:00 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) Received: from nm3-vm8.bullet.mail.gq1.yahoo.com (nm3-vm8.bullet.mail.gq1.yahoo.com [98.136.218.151]) by mx1.freebsd.org (Postfix) with SMTP id 8799CAC0 for ; Tue, 26 Feb 2013 04:05:00 +0000 (UTC) Received: from [98.137.12.63] by nm3.bullet.mail.gq1.yahoo.com with NNFMP; 26 Feb 2013 04:02:50 -0000 Received: from [98.137.12.227] by tm8.bullet.mail.gq1.yahoo.com with NNFMP; 26 Feb 2013 04:02:50 -0000 Received: from [127.0.0.1] by omp1035.mail.gq1.yahoo.com with NNFMP; 26 Feb 2013 04:02:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 872646.10445.bm@omp1035.mail.gq1.yahoo.com Received: (qmail 75619 invoked by uid 60001); 26 Feb 2013 04:02:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1361851370; bh=iYJtPTTIkjxgFL4pUwfqsSgIA4bNOuW8qQLWH30Xfws=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=CabIx5LJbzqlzDEjABHFw8YVIpCD1eZs6RgN0/4bOMkHWhjtWQANnlU09NN2bYQXCvPDdEsRC+YPHB5sQgVLTq4kglOrwvjVpoTbJjHKGluA9+T9IZwXW3ze6iEkGNrJoxCmufVrvg4A+ZJSWsaHPnT7pkTe4t8pcLBZiC5L09k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=eouJlRDg9rvxICQEgNXgDpXQSM+mcCUq0JaM6G67Xir1liy6OBYQ4IDUvOq1My0D5cPkUPMu6GCao2up9gIm2bo8lV+TDFq9rRVHEatcK8dYhN/L+qqDKrrrXAFjfyqQvN8CZG4vPINvr487uShEAi05GN05obLw+GJ99gFff+0=; X-YMail-OSG: uqGZXF4VM1mnqp7dGx.d6vpFJIVS0nH.o9G0FJUAuDPCUWr RTh2E27cQsQqTyYzO6Yr5YFminGtGnhFcedPfQF1wk0a8aw8P6wv17VJc4B_ KyPY7QTJ4jlwwR5q2NrF5KdxSYj39sJFSt2cHju71SKFPktDLeU9OPXXsWkP UjGdg_avYegnBAk9AnEeGq4JmnDuvIlXUDq7dmMLHbkavvaR41Zi0d2lBZtp VszExvHeU0V.EiPu92eQybu5DoEovMX1vQ2VCo51cXpP7wU93I968PWMj1sV cUsxAGx4nAxBh0hH3uP5uBGEzNKdqYvO1R8czNM_s8PQnxbrQ5L9nWcUqNhA 0bNQusfUkf1Pw1lY.MeNJTFfqDo5VXxtTIYp0wwZqvsyEN91TeDfpyjA7vEn 3LERT1QGWXcFcuw2363v0v3UB_iEROQq0xo5WnddM1vUKyIJPOnPwzrinh.Q esTuh8anyMYadvsTumX79NbH5R4arT3LaWDUH6UqY_0gnAzqmP1iO6FnA_zK ReF0- Received: from [66.92.43.99] by web164006.mail.gq1.yahoo.com via HTTP; Mon, 25 Feb 2013 20:02:50 PST X-Rocket-MIMEInfo: 001.001, SnVzdCB0byBhZGQgYSAnc29tZXRoaW5nIGVsc2UnLCB1bnN1cmUgaG93IGZ1bGx5IGl0IG1heSBzdWZmaWNlLi4uDQpbZGV0YWlscyBhdCB0aGUgYm90dG9tXQ0KDQotLS0gT24gTW9uLCAyLzI1LzEzLCBBcmlzdGVkZXMgTWFuaWF0aXMgPGFyaUBpc2guY29tLmF1PiB3cm90ZToNCg0KRnJvbTogQXJpc3RlZGVzIE1hbmlhdGlzIDxhcmlAaXNoLmNvbS5hdT4NClN1YmplY3Q6IFNoYXJlIC92YXIvY2FjaGUvcGtnLyBiZXR3ZWVuIG1hY2hpbmVzDQpUbzogZnJlZWJzZC1wb3J0c0BmcmVlYnNkLm9yZw0KRGF0ZToBMAEBAQE- X-Mailer: YahooMailClassic/15.1.4 YahooMailWebService/0.8.135.514 Message-ID: <1361851370.62400.YahooMailClassic@web164006.mail.gq1.yahoo.com> Date: Mon, 25 Feb 2013 20:02:50 -0800 (PST) From: Jeffrey Bouquet Subject: Re: Share /var/cache/pkg/ between machines To: freebsd-ports@freebsd.org In-Reply-To: <512C249B.4090401@ish.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 04:05:00 -0000 Just to add a 'something else', unsure how fully it may suffice... [details at the bottom] --- On Mon, 2/25/13, Aristedes Maniatis wrote: From: Aristedes Maniatis Subject: Share /var/cache/pkg/ between machines To: freebsd-ports@freebsd.org Date: Monday, February 25, 2013, 6:57 PM 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 PACKAGESI= TE in the other servers. This looks like it might work except that repo.txz= is missing from=A0 /var/cache/pkg/ 2. rsync=A0 /var/cache/pkg/ from the primary machine to the others. Set PAC= KAGESITE on all machines to point to some central repository where all thes= e 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= <>-- --------------------------> >>Aristedes Maniatis portmaster?=A0 [Cannot directly answer the post question, but...] If you put /portmatster-download/ on /da0 (a thumbdrive) mount -t unionfs /dev/da0 /usr/ports/packages... then the thumbdrive packages will appear to be already downloaded to=20 portmaster, for migrating between machines. [I set up an ftp server for similar functionality, but find this method qui= cker and reconfigurable. YMMV of course depending upon the number/physical=20 placment of your servers] Sorry to not answer about /pkg/, not fully implemented on most machines, he= re. [portmaster -d -B -P -i -g category/port category/port... or scripted equiv= alent in pkg or shell syntax.] I've seen it handily upgrade thirty p5 ports at a stretch using a pipe... j= ust because a thumbdrive was in place, where otherwise it would mean duplicate builds e= tc. J. Bouquet