Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2020 09:57:21 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Kurt Jaeger <pi@freebsd.org>
Cc:        Thomas Mueller <mueller6722@twc.com>, freebsd-ports@freebsd.org
Subject:   Re: portmaster new development
Message-ID:  <X%2BhMcRqUX17XyyBQ@c720-r368166.fritz.box>
In-Reply-To: <X%2BhEUk7K92mi%2BEca@home.opsec.eu>
References:  <20201226124150.7c494410@dismail.de> <6d0d128b-9a75-34f4-830c-d8be05ded9cb@freebsd.org> <X%2BhEUk7K92mi%2BEca@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X%2BhMcRqUX17XyyBQ>