mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
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
This commit is contained in:
parent
9d7f9abbe5
commit
bf3b7f4e9f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113923
@ -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
|
||||
|
||||
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
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
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|' \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user