aboutsummaryrefslogtreecommitdiff
path: root/mail/spamdyke
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-08-12 00:02:13 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-08-12 00:02:13 +0000
commitd4ef572817f165b69f8c0bdb29681715eef1b6f0 (patch)
treeb875b5a7447755caba34b08243e333cd651479a3 /mail/spamdyke
parent1f0fcf4018f3c254134d2504dfdb6d115e34d0f6 (diff)
downloadports-d4ef572817f165b69f8c0bdb29681715eef1b6f0.tar.gz
ports-d4ef572817f165b69f8c0bdb29681715eef1b6f0.zip
- 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)
Notes
Notes: svn path=/head/; revision=218447
Diffstat (limited to 'mail/spamdyke')
-rw-r--r--mail/spamdyke/Makefile28
-rw-r--r--mail/spamdyke/distinfo6
2 files changed, 26 insertions, 8 deletions
diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile
index 91744a0e960c..5a1041de881c 100644
--- a/mail/spamdyke/Makefile
+++ b/mail/spamdyke/Makefile
@@ -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 @@ EXTRACT_SUFX= .tgz
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
@@ -24,23 +23,41 @@ GNU_CONFIGURE= yes
ALL_TARGET= spamdyke
-PLIST_FILES= bin/spamdyke
+PLIST_FILES= bin/spamdyke etc/spamdyke.conf.example
-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>
+.if ${OSVERSION} <= 700042
+BROKEN= this port causes gcc to segfault
+.endif
+
.if defined(WITHOUT_TLS)
CONFIGURE_ARGS+= --disable-tls
.else
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 +65,7 @@ post-install:
@${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 --git a/mail/spamdyke/distinfo b/mail/spamdyke/distinfo
index 672d2e192201..4559d13bdb62 100644
--- a/mail/spamdyke/distinfo
+++ b/mail/spamdyke/distinfo
@@ -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