diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-14 19:59:51 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-14 19:59:51 +0000 |
commit | 519b947dd815c4a9847201e78e2ed6686b46278d (patch) | |
tree | 6b34745a623ef31a8d89b3c0a9654f8d470250b4 /mail/postfix26 | |
parent | 19c1399ef09ba9953fbf5ae75944450b709591ea (diff) | |
download | ports-519b947dd815c4a9847201e78e2ed6686b46278d.tar.gz ports-519b947dd815c4a9847201e78e2ed6686b46278d.zip |
- 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)
Notes
Notes:
svn path=/head/; revision=121604
Diffstat (limited to 'mail/postfix26')
-rw-r--r-- | mail/postfix26/files/extra-libspf2_and_tls.patch | 18 | ||||
-rw-r--r-- | mail/postfix26/scripts/configure.postfix | 5 |
2 files changed, 22 insertions, 1 deletions
diff --git a/mail/postfix26/files/extra-libspf2_and_tls.patch b/mail/postfix26/files/extra-libspf2_and_tls.patch new file mode 100644 index 000000000000..7753bc77e84c --- /dev/null +++ b/mail/postfix26/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/postfix26/scripts/configure.postfix b/mail/postfix26/scripts/configure.postfix index 4f37abdd9eb4..04c8b3ab7648 100644 --- a/mail/postfix26/scripts/configure.postfix +++ b/mail/postfix26/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.55 2004-10-26 14:23:33 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/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 |