git: eac69363a7f6 - main - mail/postfix: Add TLSRPT support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Jun 2025 13:15:47 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eac69363a7f69d4a3b266d4c2ae7c6a89da0c53e
commit eac69363a7f69d4a3b266d4c2ae7c6a89da0c53e
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2025-06-10 13:10:41 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-06-10 13:10:41 +0000
mail/postfix: Add TLSRPT support
Add option to enable TLSRPT functionality.
PR: 287297
---
mail/postfix/Makefile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 654a1a646e74..646fd4683f73 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,6 +1,6 @@
PORTNAME= postfix
DISTVERSION= 3.10.2
-PORTREVISION?= 0
+PORTREVISION?= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= https://postfix-mirror.horus-it.com/postfix-release/ \
@@ -96,7 +96,7 @@ USERS= postfix
GROUPS= mail maildrop postfix
OPTIONS_DEFINE= BDB BLACKLISTD CDB DOCS EAI INST_BASE LDAP LMDB MONGO \
- MYSQL NIS PCRE2 PGSQL SASL SQLITE TEST TLS
+ MYSQL NIS PCRE2 PGSQL SASL SQLITE TEST TLS TLSRPT
OPTIONS_DEFAULT?= BLACKLISTD EAI PCRE2 TLS
OPTIONS_RADIO= RG1
OPTIONS_RADIO_RG1= SASLKMIT SASLKRB5
@@ -128,6 +128,7 @@ SASLKMIT_DESC= If your SASL req. MIT Kerberos5, select this
SASLKRB5_DESC= If your SASL req. Kerberos5, select this
SASL_DESC= Cyrus SASL support (Dovecot SASL is always built in)
TEST_DESC= SMTP/LMTP test server and generator
+TLSRPT_DESC= Enable sending RFC 8460 TLS reports
BDB_USES= bdb
BLACKLISTD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-blacklistd
@@ -143,6 +144,7 @@ PGSQL_USES= pgsql
SASLKMIT_LIB_DEPENDS= libkrb5.so:security/krb5
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SQLITE_USES= sqlite
+TLSRPT_LIB_DEPENDS= libtlsrpt.so:mail/libtlsrpt
ALL_TARGET= default
@@ -277,6 +279,11 @@ POSTFIX_AUXLIBS+= -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto
POSTFIX_CCARGS+= -DNO_TLS
.endif
+.if ${PORT_OPTIONS:MTLSRPT}
+POSTFIX_CCARGS+= -DUSE_TLSRPT -I${LOCALBASE}/include
+POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib -ltlsrpt
+.endif
+
.if ${PORT_OPTIONS:MBDB}
POSTFIX_CCARGS+= -I${BDB_INCLUDE_DIR}
POSTFIX_AUXLIBS+= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME}