aboutsummaryrefslogtreecommitdiff
path: root/mail/spamd
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2004-07-18 22:54:29 +0000
committerMax Laier <mlaier@FreeBSD.org>2004-07-18 22:54:29 +0000
commitbf3b7f4e9f9588d993c0573b0396db421e3ddb7a (patch)
treeb28c4fe775e3f446f43cc89f85a92b85647a0906 /mail/spamd
parent9d7f9abbe5b1bf3b82933f7ea9fcbd8da8c3e63e (diff)
Notes
Diffstat (limited to 'mail/spamd')
-rw-r--r--mail/spamd/Makefile32
-rw-r--r--mail/spamd/distinfo4
2 files changed, 17 insertions, 19 deletions
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index 4678c92c50cf..7c559ffb2d9c 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -7,38 +7,36 @@
PORTNAME= spamd
PORTVERSION= 3.5
+PORTREVISION= 1
CATEGORIES= mail
-MASTER_SITES= http://pf4freebsd.love2party.net/
+MASTER_SITES= http://resources.delphij.net/pf/
DISTNAME= ${PORTNAME}_${PORTVERSION}
-MAINTAINER= mlaier@freebsd.org
+MAINTAINER= delphij@FreeBSD.org.cn
COMMENT= Traps spammers with a very slow smtp-login and return 4xx error
-.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
-IS_INTERACTIVE= yes
+USE_BZIP2= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 502117
+IGNORE= "OpenBSD 3.5 pf/pfctl is necessary for this port to function properly."
+.else
+LOCAL_PFCTL= /sbin/pfctl
.endif
USE_REINPLACE= yes
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
+IS_INTERACTIVE= yes
+.endif
+
MAN5= spamd.conf.5
MAN8= spamd.8 spamd-setup.8 spamdb.8 spamlogd.8
SAMPLE_SPAMD_CONF= ${PREFIX}/etc/spamd.conf.sample
SAMPLE_SPAMD_RC= ${PREFIX}/etc/rc.d/spamd.sh
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= "Only for 5.0 and above"
-.endif
-
-.if ${OSVERSION} < 502106
-RUN_DEPENDS= ${LOCALBASE}/sbin/pfctl:${PORTSDIR}/security/pf
-LOCAL_PFCTL= ${PREFIX}/sbin/pfctl
-.else
-LOCAL_PFCTL= /sbin/pfctl
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCAL_PFCTL%%|${LOCAL_PFCTL}|; \
s|%%LOCAL_SPAMD_CONF%%|${PREFIX}/etc/spamd.conf|' \
diff --git a/mail/spamd/distinfo b/mail/spamd/distinfo
index 843dbd548d51..7ccaee2423a9 100644
--- a/mail/spamd/distinfo
+++ b/mail/spamd/distinfo
@@ -1,2 +1,2 @@
-MD5 (spamd_3.5.tar.gz) = 1e38e70d7d442c752fb3e0c31d56f6d8
-SIZE (spamd_3.5.tar.gz) = 30669
+MD5 (spamd_3.5.tar.bz2) = e30f1ee8212b31fb4d71b6a8fd7f1204
+SIZE (spamd_3.5.tar.bz2) = 26427