Re: mail/postfix and mail/postfix-current missing on ports section

From: Miroslav Lachman <>
Date: Mon, 20 Dec 2021 11:22:08 UTC
On 19/12/2021 17:33, Roger Marquis wrote:

> Have also seen references to mail/postfix35 that is not in git or on
>  We're maintain our own, local, mail/postfix35(.13.2)
> for libressl compatibility.  It's not all that difficult (git checkout
> ...;vi Makefile; make makesum; ...) but given how many sites use
> libressl and how long postfix35 will be supported by Wietse (i.e, many
> years) am wondering if it's worth checking-in?
> On a similar note: is anyone is maintaing a local/custom port in
> Poudriere or know where that might be documented?

The simplest way to maintain few ports in local poudriere are overlays.

poudriere bulk -j 12_2_amd64 -z php80m105 -p 2021Q3 -f 
/usr/local/etc/poudriere.d/pkglists/php80m105 -O mfh_overlay2

This will build for FreeBSD 12.2 from older quarterly branch 2021Q3 
package set with PHP 8.0 and MariaDB 10.5 (package list defined in 
php80m105) and "mfh_overlay2" is local tree with few modified ports:

# find /vol0/poudriere/ports/mfh_overlay2/ -depth 2

Sometimes it is just newer version merged from HEAD, sometimes some 
local patches.

"mfh_overlay2" must be defined as pouriere's ports tree:

# poudriere ports -l
2021Q3       git+https 2021-10-03 09:37:08 /vol0/poudriere/ports/2021Q3
2021Q4       git+https 2021-12-13 02:25:00 /vol0/poudriere/ports/2021Q4
headtest     git+https 2021-11-23 02:25:51 /vol0/poudriere/ports/headtest
mfh_overlay2 null      2021-10-04 21:08:52 

This works for me as the easiest way to maintain some local changes. But 
poudriere's support for overlay is not perfect. For example command 
"poudriere options" does not support overlays so you cannot use it if 
you have some port origin in overlay tree if it does not exist in the 
main tree too. For example if you create "mail/postfix-mysql" with MYSQL 
option enabled, then "poudriere options" fail with message that this 
port origine does not exists in /vol0/poudriere/ports/2021Q3

Miroslav Lachman