From renato@data.galle.com.br  Tue May 31 16:31:36 2005
Return-Path: <renato@data.galle.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6658C16A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 31 May 2005 16:31:36 +0000 (GMT)
	(envelope-from renato@data.galle.com.br)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 71AF743D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 31 May 2005 16:31:35 +0000 (GMT)
	(envelope-from renato@data.galle.com.br)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by data.galle.com.br (8.13.3/8.13.1) with ESMTP id j4VGVWWn055663
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 31 May 2005 13:31:32 -0300 (BRST)
	(envelope-from renato@data.galle.com.br)
Received: (from root@localhost)
	by data.galle.com.br (8.13.3/8.13.1/Submit) id j4VGVRxW055660;
	Tue, 31 May 2005 13:31:27 -0300 (BRST)
	(envelope-from renato)
Message-Id: <200505311631.j4VGVRxW055660@data.galle.com.br>
Date: Tue, 31 May 2005 13:31:27 -0300 (BRST)
From: Renato Botelho <freebsd@galle.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] mail/qmail: Add SPF checker patch
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         81731
>Category:       ports
>Synopsis:       [MAINTAINER] mail/qmail: Add SPF checker patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    flz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 31 16:40:01 GMT 2005
>Closed-Date:    Tue May 31 20:31:50 GMT 2005
>Last-Modified:  Tue May 31 20:31:50 GMT 2005
>Originator:     Renato Botelho
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue May 10 09:20:42 BRST 2005
>Description:
- Add SPF Checker patch written by Christophe Saout <christophe at saout.de>

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- qmail-1.03_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/qmail/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- Makefile	17 May 2005 17:35:10 -0000	1.63
+++ Makefile	31 May 2005 16:21:25 -0000
@@ -46,9 +46,17 @@
 .endif
 
 .if defined(SLAVE_SPAMCONTROL)
-BARRIER_SENDMAIL_F_PATCH=yes
-BARRIER_BIG_TODO_PATCH=yes
-BARRIER_LOCALTIME_PATCH=yes
+BARRIER_SENDMAIL_F_PATCH=	yes
+BARRIER_BIG_TODO_PATCH=		yes
+BARRIER_LOCALTIME_PATCH=	yes
+.endif
+
+.if defined(SLAVE_LDAP) || \
+    defined(SLAVE_MYSQL) || \
+    defined(SLAVE_SMTP_AUTH_TLS) || \
+    defined(SLAVE_SPAMCONTROL) || \
+    defined(SLAVE_TLS)
+BARRIER_SPF_PATCH=		yes
 .endif
 
 .if !defined(BARRIER_DNS_PATCH)
@@ -137,6 +145,9 @@
 .if !defined(BARRIER_DISCBOUNCES_PATCH)
 OPTIONS+=	DISCBOUNCES_PATCH "discard double-bounces" off
 .endif
+.if !defined(BARRIER_SPF_PATCH)
+OPTIONS+=	SPF_PATCH "Implement SPF checker" off
+.endif
 .if defined(SLAVE_TLS) || defined(SLAVE_SMTP_AUTH_TLS)
 OPTIONS+=	TLS_DEBUG "enable additional debug information" off
 .elif defined(SLAVE_LDAP)
@@ -306,6 +317,11 @@
 PATCHFILES+=	qmail-discard-double-bounces.patch:doublebounce
 .endif
 
+.if defined(WITH_SPF_PATCH) && !defined(BARRIER_SPF_PATCH)
+PATCH_SITES+=	http://www.saout.de/misc/spf/:spf
+PATCHFILES+=	qmail-spf-rc5.patch:spf
+.endif
+
 .if !defined(BARRIER_DNS_PATCH) \
  	||(defined(WITH_QMAILQUEUE_PATCH)     && !defined(BARRIER_QMAILQUEUE_PATCH)) \
 	||(defined(WITH_BIG_TODO_PATCH)       && !defined(BARRIER_BIG_TODO_PATCH)) \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/qmail/distinfo,v
retrieving revision 1.28
diff -u -r1.28 distinfo
--- distinfo	26 May 2005 14:44:11 -0000	1.28
+++ distinfo	31 May 2005 16:21:25 -0000
@@ -34,3 +34,5 @@
 SIZE (qmail/qmail-block-executables.patch) = 5070
 MD5 (qmail/qmail-discard-double-bounces.patch) = 55d45bb8d2c3822a0e3544058aa5a3a3
 SIZE (qmail/qmail-discard-double-bounces.patch) = 1305
+MD5 (qmail/qmail-spf-rc5.patch) = 434bd84b87e2027cfa643673c498bd6f
+SIZE (qmail/qmail-spf-rc5.patch) = 63582
--- qmail-1.03_4.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->flz 
Responsible-Changed-By: flz 
Responsible-Changed-When: Tue May 31 18:12:32 GMT 2005 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81731 
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Tue May 31 20:31:42 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81731 
>Unformatted:
