Using pkg with build options

David Newman dnewman at networktest.com
Tue Mar 25 02:40:27 UTC 2014


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.

That would be a huge time saver, not just for initial setup but each
$interval when ports gets updated.

Thanks again

dn


More information about the freebsd-questions mailing list