Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2021 12:22:08 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Roger Marquis <marquis@roble.com>, freebsd-ports@FreeBSD.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mail/postfix and mail/postfix-current missing on www.freebsd.org ports section
Message-ID:  <dd2915bc-e90b-8928-422d-a50064684db7@quip.cz>
In-Reply-To: <25r0p877-99oq-or7o-rn51-50p3113r51s9@mx.roble.com>
References:  <814827EE-433E-4D6E-B0D4-E91B7AD8B57C@ellael.org> <49d8244d-8824-f112-9792-4c294d8a6ddc@bluerosetech.com> <25r0p877-99oq-or7o-rn51-50p3113r51s9@mx.roble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19/12/2021 17:33, Roger Marquis wrote:

> Have also seen references to mail/postfix35 that is not in git or on
> www.freebsd.org.  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
/vol0/poudriere/ports/mfh_overlay2/mail/postfix
/vol0/poudriere/ports/mfh_overlay2/mail/postfix-mysql
/vol0/poudriere/ports/mfh_overlay2/www/libnghttp2
/vol0/poudriere/ports/mfh_overlay2/www/node
/vol0/poudriere/ports/mfh_overlay2/sysutils/ansible-client

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
PORTSTREE    METHOD    TIMESTAMP           PATH
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 
/vol0/poudriere/ports/mfh_overlay2

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd2915bc-e90b-8928-422d-a50064684db7>