pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sendmail Add sendmail-ffr-badrcptshutdown option....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f975462ecc4d
branches:  trunk
changeset: 336439:f975462ecc4d
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Mon Jul 15 02:06:42 2019 +0000

description:
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:

 mail/sendmail/Makefile                                 |   5 ++++-
 mail/sendmail/files/site.config.m4-ffr_badrcptshutdown |   4 ++++
 mail/sendmail/options.mk                               |  12 +++++++++---
 3 files changed, 17 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r f6fd48242686 -r f975462ecc4d mail/sendmail/Makefile
--- a/mail/sendmail/Makefile    Mon Jul 15 01:24:10 2019 +0000
+++ b/mail/sendmail/Makefile    Mon Jul 15 02:06:42 2019 +0000
@@ -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 @@
 .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 -r f6fd48242686 -r f975462ecc4d mail/sendmail/files/site.config.m4-ffr_badrcptshutdown
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail/files/site.config.m4-ffr_badrcptshutdown    Mon Jul 15 02:06:42 2019 +0000
@@ -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 -r f6fd48242686 -r f975462ecc4d mail/sendmail/options.mk
--- a/mail/sendmail/options.mk  Mon Jul 15 01:24:10 2019 +0000
+++ b/mail/sendmail/options.mk  Mon Jul 15 02:06:42 2019 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index