aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-08-12 08:02:13 +0800
committerwxs <wxs@FreeBSD.org>2008-08-12 08:02:13 +0800
commit4e5cf2e6b77ac8a4a331f19f82b5ed554fabd7c2 (patch)
tree302726b4b9546981dd33cc8b9189d69fbd0b88d9 /mail
parentd9dac6069a26c5fedef0f7a7327f376331e46b80 (diff)
downloadfreebsd-ports-graphics-4e5cf2e6b77ac8a4a331f19f82b5ed554fabd7c2.tar.gz
freebsd-ports-graphics-4e5cf2e6b77ac8a4a331f19f82b5ed554fabd7c2.tar.zst
freebsd-ports-graphics-4e5cf2e6b77ac8a4a331f19f82b5ed554fabd7c2.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)
Diffstat (limited to 'mail')
-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 91744a0e960..5a1041de881 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 672d2e19220..4559d13bdb6 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