Date: Tue, 04 Aug 2026 11:47:15 +0000 From: Yusuf Yaman <nxjoseph@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Hiroo Ono <hiroo.ono+freebsd@gmail.com> Subject: git: 0115f8e320aa - main - mail/postfix: chase devel/mongo-c-driver update Message-ID: <6a71d143.1d4b8.43b79119@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by nxjoseph: URL: https://cgit.FreeBSD.org/ports/commit/?id=0115f8e320aadf20c33dc9bfe2e71d894ec27415 commit 0115f8e320aadf20c33dc9bfe2e71d894ec27415 Author: Hiroo Ono <hiroo.ono+freebsd@gmail.com> AuthorDate: 2026-07-09 14:50:46 +0000 Commit: Yusuf Yaman <nxjoseph@FreeBSD.org> CommitDate: 2026-08-04 11:46:50 +0000 mail/postfix: chase devel/mongo-c-driver update PR: 296614 Reported by: Hiroo Ono <hiroo.ono+freebsd@gmail.com> Approved by: Juraj Lutter <otis@FreeBSD.org> (maintainer timeout, 3+ weeks) Approved by: osa, vvd (Mentors, implicit) --- mail/postfix/Makefile | 15 +++++++++------ mail/postfix/pkg-plist | 3 +++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 5e7013906981..e2ccd870d78f 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,6 +1,6 @@ PORTNAME= postfix DISTVERSION= 3.11.5 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= https://postfix-mirror.horus-it.com/postfix-release/ \ @@ -135,8 +135,8 @@ CDB_LIB_DEPENDS= libcdb.so:databases/tinycdb EAI_LIB_DEPENDS= libicuuc.so:devel/icu LDAP_USES= ldap LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb0 -MONGO_LIB_DEPENDS= libbson-1.0.so:devel/libbson \ - libmongoc-1.0.so:devel/mongo-c-driver +MONGO_LIB_DEPENDS= libbson2.so:devel/libbson \ + libmongoc2.so:devel/mongo-c-driver MYSQL_USES?= mysql PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PGSQL_USES= pgsql @@ -145,6 +145,9 @@ SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SQLITE_USES= sqlite TLSRPT_LIB_DEPENDS= libtlsrpt.so:mail/libtlsrpt +MONGOC_VERSION!= cd ${.CURDIR}/../../devel/mongo-c-driver; \ + make -V DISTVERSION + ALL_TARGET= default .include <bsd.port.options.mk> @@ -312,9 +315,9 @@ IGNORE= blocklistd is only supported on FreeBSD .if ${PORT_OPTIONS:MMONGO} DYN_EXT+= mongodb -POSTFIX_CCARGS+= -DHAS_MONGODB -I${LOCALBASE}/include/libmongoc-1.0 \ - -I${LOCALBASE}/include/libbson-1.0 -POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=-L${LOCALBASE}/lib -lmongoc-1.0 -lbson-1.0" +POSTFIX_CCARGS+= -DHAS_MONGODB -I${LOCALBASE}/include/mongoc-${MONGOC_VERSION} \ + -I${LOCALBASE}/include/bson-${MONGOC_VERSION} +POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=-L${LOCALBASE}/lib -lmongoc2 -lbson2" .endif .if ${PORT_OPTIONS:MMYSQL} diff --git a/mail/postfix/pkg-plist b/mail/postfix/pkg-plist index 551087d5be6c..b3063568c687 100644 --- a/mail/postfix/pkg-plist +++ b/mail/postfix/pkg-plist @@ -28,6 +28,7 @@ lib/postfix/libpostfix-util.so %%CDB%%lib/postfix/postfix-cdb.so %%LDAP%%lib/postfix/postfix-ldap.so %%LMDB%%lib/postfix/postfix-lmdb.so +%%MONGO%%lib/postfix/postfix-mongodb.so %%MYSQL%%lib/postfix/postfix-mysql.so %%PCRE2%%lib/postfix/postfix-pcre.so %%PGSQL%%lib/postfix/postfix-pgsql.so @@ -41,6 +42,7 @@ libexec/postfix/dynamicmaps.cf %%CDB%%libexec/postfix/dynamicmaps.cf.d/cdb.cf %%LDAP%%libexec/postfix/dynamicmaps.cf.d/ldap.cf %%LMDB%%libexec/postfix/dynamicmaps.cf.d/lmdb.cf +%%MONGO%%libexec/postfix/dynamicmaps.cf.d/mongodb.cf %%MYSQL%%libexec/postfix/dynamicmaps.cf.d/mysql.cf %%PCRE2%%libexec/postfix/dynamicmaps.cf.d/pcre.cf %%PGSQL%%libexec/postfix/dynamicmaps.cf.d/pgsql.cf @@ -64,6 +66,7 @@ libexec/postfix/postfix-non-bdb-script %%CDB%%libexec/postfix/postfix-files.d/cdb-files %%LDAP%%libexec/postfix/postfix-files.d/ldap-files %%LMDB%%libexec/postfix/postfix-files.d/lmdb-files +%%MONGO%%libexec/postfix/postfix-files.d/mongodb-files %%MYSQL%%libexec/postfix/postfix-files.d/mysql-files %%PCRE2%%libexec/postfix/postfix-files.d/pcre-files %%PGSQL%%libexec/postfix/postfix-files.d/pgsql-fileshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a71d143.1d4b8.43b79119>
