Re: git: 92e125ad0d4b - main - mail/postfix: Depend on databases/lmdb0 by default again
- In reply to: Juraj Lutter : "git: 92e125ad0d4b - main - mail/postfix: Depend on databases/lmdb0 by default again"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Oct 2026 22:40:41 UTC
Some of these fixes need copied over to 2026Q4 where postfix is using
lmdb now.
Missing these:
commit 696289b3e6c8daba06c45441af2cd9aa2dbcb6c6
Author: Juraj Lutter <otis@FreeBSD.org>
Date: Sat Oct 10 17:31:29 2026 +0200
mail/postfix: Fix lmdb dependency
- Do not depend on lmdb even when LMDB is turned off [1]
PR: 299276
commit 92e125ad0d4b3a13867aef6ddcb6b5dc66139a6a
Author: Juraj Lutter <otis@FreeBSD.org>
Date: Sat Oct 3 19:31:33 2026 +0200
mail/postfix: Depend on databases/lmdb0 by default again
Depend on databases/lmdb0 by default and allow to select also
databases/lmdb.
On 10/3/26 11:48 AM, Juraj Lutter wrote:
> The branch main has been updated by otis:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=92e125ad0d4b3a13867aef6ddcb6b5dc66139a6a
>
> commit 92e125ad0d4b3a13867aef6ddcb6b5dc66139a6a
> Author: Juraj Lutter <otis@FreeBSD.org>
> AuthorDate: 2026-10-03 17:31:33 +0000
> Commit: Juraj Lutter <otis@FreeBSD.org>
> CommitDate: 2026-10-03 18:47:26 +0000
>
> mail/postfix: Depend on databases/lmdb0 by default again
>
> Depend on databases/lmdb0 by default and allow to select also
> databases/lmdb.
> ---
> UPDATING | 10 ++++++++++
> mail/postfix/Makefile | 20 ++++++++++++--------
> 2 files changed, 22 insertions(+), 8 deletions(-)
>
> diff --git a/UPDATING b/UPDATING
> index 13c046726a69..e6cb6cfab5fa 100644
> --- a/UPDATING
> +++ b/UPDATING
> @@ -5,6 +5,16 @@ they are unavoidable.
> You should get into the habit of checking this file for changes each time
> you update your ports collection, before attempting any port upgrades.
>
> +20261003:
> + AFFECTS: users of mail/postfix
> + AUTHOR: otis@FreeBSD.org
> +
> + mail/postfix now can depend on either databases/lmdb0 or databases/lmdb.
> + The default is lmdb0 for now.
> +
> + If you want/need to use lmdb1, you will need to build the package
> + with apropriate lmdb version selected.
> +
> 20261002:
> AFFECTS: users of www/nginx-devel
> AUTHOR: joneum@FreeBSD.org
> diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
> index 13f8f033e8a9..6b99c7e13016 100644
> --- a/mail/postfix/Makefile
> +++ b/mail/postfix/Makefile
> @@ -1,6 +1,6 @@
> PORTNAME= postfix
> DISTVERSION= 3.11.7
> -PORTREVISION?= 1
> +PORTREVISION?= 2
> PORTEPOCH= 1
> CATEGORIES= mail
> MASTER_SITES= https://postfix-mirror.horus-it.com/postfix-release/ \
> @@ -85,20 +85,22 @@ USE_SUBMAKE= yes
> SHEBANG_FILES= auxiliary/qshape/qshape.pl
>
> SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}"
> -
> -PORTSCOUT= limit:^3\.9\.
> +ALL_TARGET= default
>
> CONFLICTS_INSTALL= courier-0.* opensmtpd opensmtpd-devel \
> postfix postfix-base postfix-ldap-sasl \
> postfix-sasl sendmail sendmail-devel
>
> +PORTSCOUT= limit:^3\.11\.
> +
> USERS= postfix
> GROUPS= mail maildrop postfix
>
> OPTIONS_DEFINE= BDB BLOCKLISTD CDB DOCS EAI INST_BASE LDAP LMDB MONGO \
> MYSQL NIS PCRE2 PGSQL SASL SQLITE TEST TLS TLSRPT
> -OPTIONS_DEFAULT?= BLOCKLISTD CDB EAI LMDB PCRE2 TLS TLSRPT
> -OPTIONS_RADIO= RG1
> +OPTIONS_DEFAULT?= BLOCKLISTD CDB EAI LMDB LMDB0 PCRE2 TLS TLSRPT
> +OPTIONS_RADIO= LMDBG1 RG1
> +OPTIONS_RADIO_LMDBG1= LMDB0 LMDB1
> OPTIONS_RADIO_RG1= SASLKMIT SASLKRB5
> .if ${FLAVOR:U} == ldap
> OPTIONS_SLAVE= LDAP
> @@ -123,6 +125,9 @@ CDB_DESC= CDB maps lookups
> EAI_DESC= Email Address Internationalization (SMTPUTF8) support
> INST_BASE_DESC= Install into /usr and /etc/postfix
> LDAP_DESC= LDAP maps (uses WITH_OPENLDAP_VER)
> +LMDB0_DESC= Use LMDB 0.9 library
> +LMDB1_DESC= Use LMDB 1.0 library
> +LMDBG1_DESC= LMDB version to use
> LMDB_DESC= LMDB maps
> PCRE2_DESC= Use Perl Compatible Regular Expressions, version 2
> RG1_DESC= Kerberos network authentication protocol type
> @@ -136,7 +141,8 @@ BDB_USES= bdb
> CDB_LIB_DEPENDS= libcdb.so:databases/tinycdb
> EAI_LIB_DEPENDS= libicuuc.so:devel/icu
> LDAP_USES= ldap
> -LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
> +LMDB0_LIB_DEPENDS= liblmdb.so:databases/lmdb0
> +LMDB1_LIB_DEPENDS= liblmdb.so:databases/lmdb
> MONGO_LIB_DEPENDS= libbson2.so:devel/libbson \
> libmongoc2.so:devel/mongo-c-driver
> MYSQL_USES?= mysql
> @@ -147,8 +153,6 @@ SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
> SQLITE_USES= sqlite
> TLSRPT_LIB_DEPENDS= libtlsrpt.so:mail/libtlsrpt
>
> -ALL_TARGET= default
> -
> .include <bsd.port.options.mk>
>
> .if ${PORT_OPTIONS:MBLOCKLISTD}
>