Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 20:33:11 -0700
From:      David Newman <dnewman@networktest.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Using pkg with build options
Message-ID:  <5330F8F7.9050209@networktest.com>
In-Reply-To: <20140325035151.00b9e065.freebsd@edvax.de>
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> <alpine.BSF.2.00.1403241749220.31770@wonkity.com> <5330CB20.3090705@networktest.com> <alpine.BSF.2.00.1403241954020.32550@wonkity.com> <5330EC99.7040309@networktest.com> <20140325035151.00b9e065.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5330F8F7.9050209>