From nobody@FreeBSD.org  Sun Aug 10 01:25:28 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0299F106567D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Aug 2008 01:25:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E02CD8FC27
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Aug 2008 01:25:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7A1PRoq056836
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Aug 2008 01:25:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m7A1PRfx056835;
	Sun, 10 Aug 2008 01:25:27 GMT
	(envelope-from nobody)
Message-Id: <200808100125.m7A1PRfx056835@www.freebsd.org>
Date: Sun, 10 Aug 2008 01:25:27 GMT
From: Peter Kieser <peter@kieser.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update mail/spamdyke to 4.0.2 - 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         126407
>Category:       ports
>Synopsis:       Update mail/spamdyke to 4.0.2 -
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 10 01:30:01 UTC 2008
>Closed-Date:    Tue Aug 12 00:02:26 UTC 2008
>Last-Modified:  Tue Aug 12 00:10:02 UTC 2008
>Originator:     Peter Kieser
>Release:        
>Organization:
>Environment:
>Description:
Version 4.0.2

NOTE: Version 4.0.2 is not backwards compatible with version 3.x. Be sure to read the documentation before upgrading!

Major updates to add configuration directories, add support for SMTPS, add the ability to tune DNS queries, tune relaying, customize rejection messages and many bug fixes. 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -rNu mail/spamdyke.old/Makefile mail/spamdyke/Makefile
--- mail/spamdyke.old/Makefile	2008-05-27 06:07:41.000000000 -0700
+++ mail/spamdyke/Makefile	2008-08-09 11:53:13.000000000 -0700
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	spamdyke
-PORTVERSION=	3.1.8
+PORTVERSION=	4.0.2
 CATEGORIES=	mail
 MASTER_SITES=	http://www.spamdyke.org/releases/
 EXTRACT_SUFX=	.tgz
@@ -14,7 +14,6 @@
 MAINTAINER=	peter@kieser.ca
 COMMENT=	A filter for monitoring and intercepting SMTP connections on qmail
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
 RUN_DEPENDS=	${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/spamdyke
@@ -26,7 +25,9 @@
 
 PLIST_FILES=	bin/spamdyke
 
-OPTIONS=	TLS "Enable TLS support" On
+OPTIONS=	TLS "Enable TLS support" On \
+		DEBUG "Enable debugging output" Off \
+		DEBUG_EXCESSIVE "Enable excessive debugging output" Off
 
 .include <bsd.port.pre.mk>
 
@@ -36,11 +37,23 @@
 CONFIGURE_ARGS+=	--enable-tls
 .endif
 
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=	--with-debug-output
+.else
+CONFIGURE_ARGS+=	--without-debug-output
+.endif
+
+.if defined(WITH_DEBUG_EXCESSIVE)
+CONFIGURE_ARGS+=	--with-excessive-output
+.else
+CONFIGURE_ARGS+=	without-excessive-output
+.endif
+
 .if !defined(NOPORTDOCS)
 PORTDOCS=	Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \
 		README.html README_ip_file_format.html \
 		README_rdns_directory_format.html README_rdns_file_format.html \
-		UPGRADING.txt
+		UPGRADING.txt UPGRADING_version_3_to_version_4.txt TODO.txt
 .endif
 
 post-install:
@@ -48,6 +61,7 @@
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/documentation/spamdyke.conf.example ${PREFIX}/etc
 
 post-patch:
 	@${REINPLACE_CMD} -e 's#^CFLAGS :=.*#CFLAGS = ${CFLAGS}#' ${WRKSRC}/Makefile.in
diff -rNu mail/spamdyke.old/distinfo mail/spamdyke/distinfo
--- mail/spamdyke.old/distinfo	2008-05-26 13:31:30.000000000 -0700
+++ mail/spamdyke/distinfo	2008-08-09 11:53:17.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (spamdyke-3.1.8.tgz) = 82d3dcf015eb67a3b332027d0e774e74
-SHA256 (spamdyke-3.1.8.tgz) = f17c7e2fa253dc96493f870158d8184a820e1ff05996a7f0a7499c7323fb1009
-SIZE (spamdyke-3.1.8.tgz) = 266739
+MD5 (spamdyke-4.0.2.tgz) = c78a3e1db6a0d82309881183c9433e95
+SHA256 (spamdyke-4.0.2.tgz) = dbb96050257786e7c2727ca68dbdb02b53086de870e454b65c29a14de836b8f9
+SIZE (spamdyke-4.0.2.tgz) = 439899


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Sun Aug 10 13:36:11 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126407 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Tue Aug 12 00:02:26 UTC 2008 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126407 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/126407: commit references a PR
Date: Tue, 12 Aug 2008 00:03:09 +0000 (UTC)

 wxs         2008-08-12 00:02:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/spamdyke        Makefile distinfo 
   Log:
   - Update to 4.0.2
   - Add two new DEBUG options
   - Mark as BROKEN on older gcc (maintainer is working on a patch upstream)
   
   PR:             ports/126407
   Submitted by:   Peter Kieser <peter@kieser.ca> (maintainer)
   
   Revision  Changes    Path
   1.4       +23 -5     ports/mail/spamdyke/Makefile
   1.4       +3 -3      ports/mail/spamdyke/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
