git: 19042fe38647 - main - mail/sendmail: add confBLACKLISTD option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Nov 2024 15:01:58 UTC
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=19042fe3864739806d2d9d07637779c4c294b9dd
commit 19042fe3864739806d2d9d07637779c4c294b9dd
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-11-14 15:01:41 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-11-14 15:01:41 +0000
mail/sendmail: add confBLACKLISTD option
PR: 282747
---
mail/sendmail/Makefile | 3 ++-
mail/sendmail/files/extra-patch-proto.m4 | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 429054c70871..b32083c73a8b 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sendmail
PORTVERSION= 8.18.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -80,6 +80,7 @@ CYRUSLOOKUP_IMPLIES= SOCKETMAP
SMTPUTF8_LIB_DEPENDS= libidn2.so:dns/libidn2 libicui18n.so:devel/icu
MTA_STS_IMPLIES= SOCKETMAP TLS
TLS_CERT_CHAIN_IMPLIES= TLS
+BLACKLISTD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-proto.m4
.include <bsd.port.options.mk>
diff --git a/mail/sendmail/files/extra-patch-proto.m4 b/mail/sendmail/files/extra-patch-proto.m4
new file mode 100644
index 000000000000..010626a02432
--- /dev/null
+++ b/mail/sendmail/files/extra-patch-proto.m4
@@ -0,0 +1,12 @@
+--- cf/m4/proto.m4.orig 2024-01-31 06:38:32 UTC
++++ cf/m4/proto.m4
+@@ -720,6 +720,9 @@ _OPTION(HeloName, `confHELO_NAME')
+ # Name to use for EHLO (defaults to $j)
+ _OPTION(HeloName, `confHELO_NAME')
+
++# Use Blacklistd
++_OPTION(UseBlacklist, `confBLACKLIST', `false')
++
+ ifdef(`_NEED_SMTPOPMODES_', `dnl
+ # SMTP operation modes
+ C{SMTPOpModes} s d D')