mail/postfix: Add TLSRPT support
Add option to enable TLSRPT functionality. PR: 287297
This commit is contained in:
parent
55bd526770
commit
eac69363a7
@ -1,6 +1,6 @@
|
|||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
DISTVERSION= 3.10.2
|
DISTVERSION= 3.10.2
|
||||||
PORTREVISION?= 0
|
PORTREVISION?= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= https://postfix-mirror.horus-it.com/postfix-release/ \
|
MASTER_SITES= https://postfix-mirror.horus-it.com/postfix-release/ \
|
||||||
@ -96,7 +96,7 @@ USERS= postfix
|
|||||||
GROUPS= mail maildrop postfix
|
GROUPS= mail maildrop postfix
|
||||||
|
|
||||||
OPTIONS_DEFINE= BDB BLACKLISTD CDB DOCS EAI INST_BASE LDAP LMDB MONGO \
|
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_DEFAULT?= BLACKLISTD EAI PCRE2 TLS
|
||||||
OPTIONS_RADIO= RG1
|
OPTIONS_RADIO= RG1
|
||||||
OPTIONS_RADIO_RG1= SASLKMIT SASLKRB5
|
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
|
SASLKRB5_DESC= If your SASL req. Kerberos5, select this
|
||||||
SASL_DESC= Cyrus SASL support (Dovecot SASL is always built in)
|
SASL_DESC= Cyrus SASL support (Dovecot SASL is always built in)
|
||||||
TEST_DESC= SMTP/LMTP test server and generator
|
TEST_DESC= SMTP/LMTP test server and generator
|
||||||
|
TLSRPT_DESC= Enable sending RFC 8460 TLS reports
|
||||||
|
|
||||||
BDB_USES= bdb
|
BDB_USES= bdb
|
||||||
BLACKLISTD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-blacklistd
|
BLACKLISTD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-blacklistd
|
||||||
@ -143,6 +144,7 @@ PGSQL_USES= pgsql
|
|||||||
SASLKMIT_LIB_DEPENDS= libkrb5.so:security/krb5
|
SASLKMIT_LIB_DEPENDS= libkrb5.so:security/krb5
|
||||||
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
||||||
SQLITE_USES= sqlite
|
SQLITE_USES= sqlite
|
||||||
|
TLSRPT_LIB_DEPENDS= libtlsrpt.so:mail/libtlsrpt
|
||||||
|
|
||||||
ALL_TARGET= default
|
ALL_TARGET= default
|
||||||
|
|
||||||
@ -277,6 +279,11 @@ POSTFIX_AUXLIBS+= -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto
|
|||||||
POSTFIX_CCARGS+= -DNO_TLS
|
POSTFIX_CCARGS+= -DNO_TLS
|
||||||
.endif
|
.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}
|
.if ${PORT_OPTIONS:MBDB}
|
||||||
POSTFIX_CCARGS+= -I${BDB_INCLUDE_DIR}
|
POSTFIX_CCARGS+= -I${BDB_INCLUDE_DIR}
|
||||||
POSTFIX_AUXLIBS+= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
|
POSTFIX_AUXLIBS+= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user