aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-07-19 06:54:29 +0800
committermlaier <mlaier@FreeBSD.org>2004-07-19 06:54:29 +0800
commit5524d4654f8b5ae30b2ecac98896793782527a39 (patch)
tree8213f10bafc8965f0d672225bb4a3f1089b2459c /mail
parented7497bf82813f94c67daf5e113d2a30f947412a (diff)
downloadfreebsd-ports-gnome-5524d4654f8b5ae30b2ecac98896793782527a39.tar.gz
freebsd-ports-gnome-5524d4654f8b5ae30b2ecac98896793782527a39.tar.zst
freebsd-ports-gnome-5524d4654f8b5ae30b2ecac98896793782527a39.zip
Update spamd to something OpenBSD-current(ish) in order to make the logging
functional. Also drop maintainership and let Xin LI <delphij (at) frontfree (dot) net> take over from here. PR: ports/67503 Submitted by: Xin LI <delphij (at) frontfree (dot) net> Approved by: clement
Diffstat (limited to 'mail')
-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