git: 54b81fc9260e - main - mail/postfix-current: Depend on databases/lmdb0 by default again
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Oct 2026 18:48:02 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/ports/commit/?id=54b81fc9260e3f1870c6e08d3258a50e5ac01ac2
commit 54b81fc9260e3f1870c6e08d3258a50e5ac01ac2
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2026-10-03 18:46:48 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2026-10-03 18:47:27 +0000
mail/postfix-current: Depend on databases/lmdb0 by default again
Depend on databases/lmdb0 by default and allow to select also
databases/lmdb.
---
UPDATING | 10 ++++++++++
mail/postfix-current/Makefile | 20 ++++++++++++--------
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/UPDATING b/UPDATING
index e6cb6cfab5fa..ee592c092b49 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-current
+ AUTHOR: otis@FreeBSD.org
+
+ mail/postfix-current 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.
+
20261003:
AFFECTS: users of mail/postfix
AUTHOR: otis@FreeBSD.org
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 3aa7ad175f34..3650c59d4466 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -1,6 +1,6 @@
PORTNAME= postfix
DISTVERSION= 3.12-20260925
-PORTREVISION?= 0
+PORTREVISION?= 1
PORTEPOCH= 6
CATEGORIES= mail
MASTER_SITES= https://postfix-mirror.horus-it.com/postfix-release/ \
@@ -86,20 +86,22 @@ USE_SUBMAKE= yes
SHEBANG_FILES= auxiliary/qshape/qshape.pl
SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}"
-
-PORTSCOUT= limit:^3\.12\.
+ALL_TARGET= default
CONFLICTS_INSTALL= courier-0.* opensmtpd opensmtpd-devel \
postfix postfix-base postfix-ldap-sasl \
postfix-sasl sendmail sendmail-devel
+PORTSCOUT= limit:^3\.12\.
+
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
@@ -124,6 +126,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 library to use
LMDB_DESC= LMDB maps
PCRE2_DESC= Use Perl Compatible Regular Expressions, version 2
RG1_DESC= Kerberos network authentication protocol type
@@ -137,7 +142,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
@@ -148,8 +154,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}