1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/mail/spampd/Makefile
Michael Gmelin cd38ece830 mail/spampd: Update to 2.51 and refine rc script
- Include /usr/local/bin and /usr/local/sbin to PATH
  (this way pyzor and razor work, which wouldn't be used otherwise
  [debug output would show that they're silently skipped])
- support for sockets
- IPv6 support
- Fix injected X-Envelope-* headers so that spamassassin
  actually can pick them up for SPF and other checks
- support for sid (so patch-setsid not required anymore),
  toggled by --setsid (rc script always sets this
  so it doesn't break on update)
- new rc var (spampd_extra_flags), so it's easy to use
  the default setup and just add deltas in rc.conf like in:

  spampd_enable="YES"
  spampd_extra_flags="--sef"

PR:		227903
Approved by:	maintainer timeout
2018-07-16 09:53:15 +00:00

30 lines
525 B
Makefile

# Created by: chris
# $FreeBSD$
PORTNAME= spampd
PORTVERSION= 2.51
CATEGORIES= mail perl5
MAINTAINER= des@FreeBSD.org
COMMENT= Spamassassin SMTP Proxy
LICENSE= GPLv3
RUN_DEPENDS= spamc:mail/spamassassin \
p5-Net-Server>=0:net/p5-Net-Server
NO_BUILD= yes
PLIST_FILES= sbin/spampd
USES= perl5 shebangfix
SHEBANG_FILES= spampd.pl
SUB_LIST= PERL=${PERL}
USE_RC_SUBR= spampd
USE_GITHUB= yes
GH_ACCOUNT= mpaperno
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/spampd.pl ${STAGEDIR}${PREFIX}/sbin/spampd
.include <bsd.port.mk>