From owner-freebsd-questions@FreeBSD.ORG Tue Mar 25 03:33:14 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 DC4B5A62 for ; Tue, 25 Mar 2014 03:33:13 +0000 (UTC) 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 A678CF05 for ; Tue, 25 Mar 2014 03:33:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id D3BB22FCCAA for ; Mon, 24 Mar 2014 20:33:12 -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 81656-01 for ; Mon, 24 Mar 2014 20:33:12 -0700 (PDT) Received: from tejay.local (cpe-75-82-133-182.socal.res.rr.com [75.82.133.182]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 864F62FCC96 for ; Mon, 24 Mar 2014 20:33:12 -0700 (PDT) Message-ID: <5330F8F7.9050209@networktest.com> Date: Mon, 24 Mar 2014 20:33:11 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Using pkg with build options 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> <20140325035151.00b9e065.freebsd@edvax.de> In-Reply-To: <20140325035151.00b9e065.freebsd@edvax.de> 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.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 03:33:14 -0000 On 3/24/14, 7:51 PM, Polytropon wrote: > 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. Speaking of options: Earlier in this thread, Matthew Seaman mentioned that 'pkg info -fa' displays options for all packages. For purposes of maintaining a system with 'pkg update/upgrade', is there a means of determining which binaries have been compiled with non-default options? I _think_ I know which ports/packages have non-default options set, but am concerned about missing one or more. . . thanks dn