From nobody Mon Dec 20 11:22:08 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 988EF18FE3F0; Mon, 20 Dec 2021 11:22:19 +0000 (UTC) (envelope-from SRS0=WO7H=RF=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JHccq2C3Jz4byV; Mon, 20 Dec 2021 11:22:19 +0000 (UTC) (envelope-from SRS0=WO7H=RF=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 35A8928416; Mon, 20 Dec 2021 12:22:11 +0100 (CET) Received: from illbsd.quip.test (ip-78-45-215-131.net.upcbroadband.cz [78.45.215.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 5EEC128411; Mon, 20 Dec 2021 12:22:09 +0100 (CET) Subject: Re: mail/postfix and mail/postfix-current missing on www.freebsd.org ports section To: Roger Marquis , freebsd-ports@FreeBSD.org Cc: freebsd-questions@freebsd.org References: <814827EE-433E-4D6E-B0D4-E91B7AD8B57C@ellael.org> <49d8244d-8824-f112-9792-4c294d8a6ddc@bluerosetech.com> <25r0p877-99oq-or7o-rn51-50p3113r51s9@mx.roble.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Mon, 20 Dec 2021 12:22:08 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: <25r0p877-99oq-or7o-rn51-50p3113r51s9@mx.roble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JHccq2C3Jz4byV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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