ports/126407: Update mail/spamdyke to 4.0.2 -
Peter Kieser
peter at kieser.ca
Sun Aug 10 01:30:02 UTC 2008
>Number: 126407
>Category: ports
>Synopsis: Update mail/spamdyke to 4.0.2 -
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 10 01:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list