ports/72774: Update mail/postfix to support libspf2+tls

Marcus Grando marcus at corp.grupos.com.br
Sun Oct 17 01:50:29 UTC 2004


>Number:         72774
>Category:       ports
>Synopsis:       Update mail/postfix to support libspf2+tls
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 17 01:50:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.10-STABLE FreeBSD 4.10-STABLE #27: Sat Oct 16 15:49:44 BRT 2004 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:
Update mail/postfix to support libspf2+tls
	
>How-To-Repeat:
	
>Fix:
--begin--
diff -ruN postfix.old/Makefile postfix/Makefile
--- postfix.old/Makefile	Wed Oct 13 01:42:35 2004
+++ postfix/Makefile	Sat Oct 16 22:27:33 2004
@@ -16,6 +16,7 @@
 
 PORTNAME=	postfix
 PORTVERSION=	2.1.5
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	mail ipv6
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff -ruN postfix.old/files/extra-libspf2_and_tls.patch postfix/files/extra-libspf2_and_tls.patch
--- postfix.old/files/extra-libspf2_and_tls.patch	Wed Dec 31 21:00:00 1969
+++ postfix/files/extra-libspf2_and_tls.patch	Sat Oct 16 22:25:19 2004
@@ -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 -ruN postfix.old/scripts/configure.postfix postfix/scripts/configure.postfix
--- postfix.old/scripts/configure.postfix	Wed Oct 13 01:42:39 2004
+++ postfix/scripts/configure.postfix	Sat Oct 16 22:25:00 2004
@@ -219,6 +219,9 @@
 ##			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
--end--

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list