From owner-freebsd-questions@FreeBSD.ORG Tue Mar 25 02:52:25 2014 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 ESMTPS id 5344EF49 for ; Tue, 25 Mar 2014 02:52:25 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1426CB5A for ; Tue, 25 Mar 2014 02:52:24 +0000 (UTC) Received: from r56.edvax.de (port-92-195-67-138.dynamic.qsc.de [92.195.67.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 912FF27665; Tue, 25 Mar 2014 03:52:16 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s2P2ppji003592; Tue, 25 Mar 2014 03:51:51 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 25 Mar 2014 03:51:51 +0100 From: Polytropon To: David Newman Subject: Re: Using pkg with build options Message-Id: <20140325035151.00b9e065.freebsd@edvax.de> In-Reply-To: <5330EC99.7040309@networktest.com> References: <372190939.49499.1395582789284.JavaMail.mail@webmail12> <20140323150144.029c571e.freebsd@edvax.de> <532F15D8.10403@FreeBSD.org> <20140323185258.e389040f.freebsd@edvax.de> <5330C120.40905@networktest.com> <5330CB20.3090705@networktest.com> <5330EC99.7040309@networktest.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 02:52:25 -0000 On Mon, 24 Mar 2014 19:40:25 -0700, David Newman wrote: > On 3/24/14, 6:55 PM, Warren Block wrote: > > On Mon, 24 Mar 2014, David Newman wrote: > > > >>> Using Poudriere to build binary packages of your own is not required. > >>> But if you want to do it, there's a short section on setting up > >>> Poudriere in the Handbook: > >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-poudriere.html > >>> > >> > >> Part of the appeal of pkg is that package binaries install much faster > >> than waiting for 'portmaster -aD' to complete after updating the ports > >> tree. > >> > >> However, if I understand that poudriere link, it would still build my > >> custom packages from ports, and thus there isn't much time savings. > >> Correct? > > > > Yes. Poudriere is really only helpful if you have multiple machines > > using the same binary packages. One machine builds all the packages, > > then the rest of them install from it. > > Is this also true when updating the ports tree? E.g., update ports on > poudriere box, rebuild packages, install packages from poudriere box to > all other boxes. Usually yes. If you rely on binary packages, you don't even have to install the ports tree (or keep it up to date). You only need to update the ports tree from which Poudriere builds your packages, your other machines don't need to deal with ports anymore. Installing and updating packages is now possible with "pkg install" and "pkg update" from your own binary package source. > That would be a huge time saver, not just for initial setup but each > $interval when ports gets updated. The Poudriere + pkg "toolset" basically accomplishes what the FreeBSD build servers do: Compile packages, maybe with custom options, and serve them as a "repository", a package source, to your other machines. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...