portmaster new development

Matthias Apitz guru at unixarea.de
Sun Dec 27 08:57:27 UTC 2020


El día domingo, diciembre 27, 2020 a las 09:22:42a. m. +0100, Kurt Jaeger escribió:

> Hi!
> 
> > How is poudriere in that regard?  I never used poudriere, have been intimidated by not wanting to use zfs or dialog4ports, or such an elaborate setup just to update one or a few ports.
> 
> poudriere is really, really useful. Because it delivers a complete,
> consistent package repo of all the ports (with individual options).
> And it does so repeatable, down to one or several seperate os versions
> to build for or a specific point in time for the ports tree,
> with some individual options etc.
> 
> > I found that poudriere uses dialog4ports; I much prefer to save options in a file such as Gentoo Linux does with make.conf and (NetBSD) pkgsrc does with mk.conf .
> 
> That works as well. I have a checkout of the ports tree, use
> make config to define non-default port options. This stores the
> selected OPTIONs in /var/db/ports/, and poudriere uses those options
> just fine.
> 
> Combined with lots of RAM, ZFS on SSDs and ccache, compilation is very fast.

Hi,

For some years I do use poudriere too on a very fast rack unit with lots
of RAM, CPUs and ZFS.

Re/ the options, I copy them into the jail with something like this
procedure:

# cd /usr/ports/mail/mutt
# make config

# mkdir -p /usr/local/etc/poudriere.d/freebsd-head-options/mail_mutt
# cp /var/db/ports/mail_mutt/options /usr/local/etc/poudriere.d/freebsd-head-options/mail_mutt

'freebsd-head' is the name of the poudriere jail (I have some of them)
and the ports options stay there, as well the make.conf options in
/usr/local/etc/poudriere.d/freebsd-head-make.conf

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


More information about the freebsd-ports mailing list