diff options
author | pav <pav@FreeBSD.org> | 2004-11-14 19:59:51 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-11-14 19:59:51 +0000 |
commit | b585a95f72f2d9ab59ca16180fae79c676a165bc (patch) | |
tree | 29b00250696c6cc59681c1d902211b62d3ea4022 /mail/postfix | |
parent | de3f8e13961e1a524bb60c2a36f34803c5a62d5f (diff) | |
download | FreeBSD-ports-b585a95f72f2d9ab59ca16180fae79c676a165bc.zip FreeBSD-ports-b585a95f72f2d9ab59ca16180fae79c676a165bc.tar.gz |
- Support SPF and TLS at the same time
PR: ports/72774
Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'mail/postfix')
-rw-r--r-- | mail/postfix/files/extra-libspf2_and_tls.patch | 18 | ||||
-rw-r--r-- | mail/postfix/scripts/configure.postfix | 5 |
2 files changed, 22 insertions, 1 deletions
diff --git a/mail/postfix/files/extra-libspf2_and_tls.patch b/mail/postfix/files/extra-libspf2_and_tls.patch new file mode 100644 index 0000000..7753bc7 --- /dev/null +++ b/mail/postfix/files/extra-libspf2_and_tls.patch @@ -0,0 +1,18 @@ +--- postfix-2.1.5/src/smtpd/smtpd.c.orig Sat Oct 16 21:44:03 2004 ++++ postfix-2.1.5/src/smtpd/smtpd.c Sat Oct 16 21:44:13 2004 +@@ -2749,12 +2749,12 @@ + VAR_ALLOW_UNTRUST_ROUTE, DEF_ALLOW_UNTRUST_ROUTE, &var_allow_untrust_route, + VAR_SMTPD_SASL_ENABLE, DEF_SMTPD_SASL_ENABLE, &var_smtpd_sasl_enable, + VAR_BROKEN_AUTH_CLNTS, DEF_BROKEN_AUTH_CLNTS, &var_broken_auth_clients, +- VAR_SHOW_UNK_RCPT_TABLE, DEF_SHOW_UNK_RCPT_TABLE, &var_show_unk_rcpt_table, +- VAR_SMTPD_REJ_UNL_FROM, DEF_SMTPD_REJ_UNL_FROM, &var_smtpd_rej_unl_from, +- VAR_SMTPD_REJ_UNL_RCPT, DEF_SMTPD_REJ_UNL_RCPT, &var_smtpd_rej_unl_rcpt, + VAR_SPF_MARK_ONLY, DEF_SPF_MARK_ONLY, &var_spf_mark_only, + VAR_SPF_RCVD_HEADER, DEF_SPF_RCVD_HEADER, &var_spf_rcvd_header, + VAR_SPF_GLOBAL_WHITELIST, DEF_SPF_GLOBAL_WHITELIST, &var_spf_global_whitelist, ++ VAR_SHOW_UNK_RCPT_TABLE, DEF_SHOW_UNK_RCPT_TABLE, &var_show_unk_rcpt_table, ++ VAR_SMTPD_REJ_UNL_FROM, DEF_SMTPD_REJ_UNL_FROM, &var_smtpd_rej_unl_from, ++ VAR_SMTPD_REJ_UNL_RCPT, DEF_SMTPD_REJ_UNL_RCPT, &var_smtpd_rej_unl_rcpt, + 0, + }; + static CONFIG_STR_TABLE str_table[] = { diff --git a/mail/postfix/scripts/configure.postfix b/mail/postfix/scripts/configure.postfix index aeca9b2..a223302 100644 --- a/mail/postfix/scripts/configure.postfix +++ b/mail/postfix/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.55 2004-10-26 14:23:33 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.56 2004-11-14 19:59:51 pav Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -219,6 +219,9 @@ while [ "$1" ]; do ## echo "README+= SPF_README" echo "" SUB_SPF="" + if [ X$SUB_TLS != "X" ]; then + echo "EXTRA_PATCHES+= ${FILESDIR}/extra-libspf2_and_tls.patch" + fi ;; IPv6) if [ X$SUB_TLS = "X" ]; then |