summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2019-07-15 02:06:42 +0000
committerjnemeth <jnemeth@pkgsrc.org>2019-07-15 02:06:42 +0000
commit56b73338d2b2780733a06ea03bd13810ebfb71c9 (patch)
tree15f3355069ecf23765ba214510edd789436a974a /mail
parent364b826833997c0b730242b4e42b51f91274d693 (diff)
downloadpkgsrc-56b73338d2b2780733a06ea03bd13810ebfb71c9.tar.gz
Add sendmail-ffr-badrcptshutdown option. This option enables the
sendmail options BadRcptShutdown and BadRcptShutdownGood to be used. "ffr" stands for For Future Release, which means it is a beta test feature that may show up in a future release of sendmail. The sendmail-ffr-badrcptshutdown option is disabled by default so no change to binary packages, thus not bumping PKGREVISION.
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/Makefile5
-rw-r--r--mail/sendmail/files/site.config.m4-ffr_badrcptshutdown4
-rw-r--r--mail/sendmail/options.mk12
3 files changed, 17 insertions, 4 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 0d314d97214..4803b14b545 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.130 2018/12/05 12:10:21 bsiegert Exp $
+# $NetBSD: Makefile,v 1.131 2019/07/15 02:06:42 jnemeth Exp $
PKGNAME= sendmail-${DIST_VERS}
PKGREVISION= 3
@@ -103,6 +103,9 @@ post-patch: make-sendmail-siteconfig
.if !empty(PKG_OPTIONS:Msasl)
cat ${FILESDIR}/site.config.m4-sasl2 >>${SITECONFIG}
.endif
+.if !empty(PKG_OPTIONS:Msendmail-ffr-badrcptshutdown)
+ cat ${FILESDIR}/site.config.m4-ffr_badrcptshutdown >>${SITECONFIG}
+.endif
post-extract:
cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
diff --git a/mail/sendmail/files/site.config.m4-ffr_badrcptshutdown b/mail/sendmail/files/site.config.m4-ffr_badrcptshutdown
new file mode 100644
index 00000000000..7c480047ca5
--- /dev/null
+++ b/mail/sendmail/files/site.config.m4-ffr_badrcptshutdown
@@ -0,0 +1,4 @@
+# $NetBSD: site.config.m4-ffr_badrcptshutdown,v 1.1 2019/07/15 02:06:42 jnemeth Exp $
+
+# enable _FFR_BARRCPT_SHUTDOWN
+APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_BADRCPT_SHUTDOWN')
diff --git a/mail/sendmail/options.mk b/mail/sendmail/options.mk
index f9bf831acae..01537404c17 100644
--- a/mail/sendmail/options.mk
+++ b/mail/sendmail/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.23 2015/07/11 10:08:32 jnemeth Exp $
+# $NetBSD: options.mk,v 1.24 2019/07/15 02:06:42 jnemeth Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers
-PKG_SUPPORTED_OPTIONS+= sendmail-ffr-tls
+PKG_SUPPORTED_OPTIONS+= sendmail-ffr-tls sendmail-ffr-badrcptshutdown
PKG_SUGGESTED_OPTIONS= inet6 tcpwrappers tls
PKG_OPTIONS_LEGACY_OPTS+= starttls:tls ffr_tls_1:sendmail-ffr-tls
@@ -40,7 +40,13 @@ PKG_OPTIONS_LEGACY_OPTS+= starttls:tls ffr_tls_1:sendmail-ffr-tls
.endif
###
-### 'For Future Release' FFR_TLS_* options: CipherList, multiple certs
+### 'For Future Release' _FFR_TLS_* options: CipherList, multiple certs
+###
+# Nothing to do here, activation is done in Makefile
+
+###
+### 'For Future Release' _FFR_BADRCPT_SHUTDOWN options:
+### BadRcptShutdown, BadRcptShutdownGood
###
# Nothing to do here, activation is done in Makefile