Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 09:53:15 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474724 - in head/mail/spampd: . files
Message-ID:  <201807160953.w6G9rF5N092843@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Mon Jul 16 09:53:15 2018
New Revision: 474724
URL: https://svnweb.freebsd.org/changeset/ports/474724

Log:
  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

Deleted:
  head/mail/spampd/files/patch-setsid
Modified:
  head/mail/spampd/Makefile
  head/mail/spampd/distinfo
  head/mail/spampd/files/spampd.in

Modified: head/mail/spampd/Makefile
==============================================================================
--- head/mail/spampd/Makefile	Mon Jul 16 09:45:09 2018	(r474723)
+++ head/mail/spampd/Makefile	Mon Jul 16 09:53:15 2018	(r474724)
@@ -2,14 +2,13 @@
 # $FreeBSD$
 
 PORTNAME=	spampd
-PORTVERSION=	2.42
-PORTREVISION=	2
+PORTVERSION=	2.51
 CATEGORIES=	mail perl5
 
 MAINTAINER=	des@FreeBSD.org
 COMMENT=	Spamassassin SMTP Proxy
 
-LICENSE=	GPLv2
+LICENSE=	GPLv3
 
 RUN_DEPENDS=	spamc:mail/spamassassin \
 		p5-Net-Server>=0:net/p5-Net-Server

Modified: head/mail/spampd/distinfo
==============================================================================
--- head/mail/spampd/distinfo	Mon Jul 16 09:45:09 2018	(r474723)
+++ head/mail/spampd/distinfo	Mon Jul 16 09:53:15 2018	(r474724)
@@ -1,2 +1,3 @@
-SHA256 (mpaperno-spampd-2.42_GH0.tar.gz) = c6dcef8df0c471b3982e777bcccfe343f1f6f921113c2b369a76144724b1d15d
-SIZE (mpaperno-spampd-2.42_GH0.tar.gz) = 202504
+TIMESTAMP = 1525190858
+SHA256 (mpaperno-spampd-2.51_GH0.tar.gz) = 93cc3ef19ecff224ac00f6c7a0e028f059ec839703329f4567846b750964ac07
+SIZE (mpaperno-spampd-2.51_GH0.tar.gz) = 215462

Modified: head/mail/spampd/files/spampd.in
==============================================================================
--- head/mail/spampd/files/spampd.in	Mon Jul 16 09:45:09 2018	(r474723)
+++ head/mail/spampd/files/spampd.in	Mon Jul 16 09:53:15 2018	(r474724)
@@ -9,7 +9,11 @@
 #
 # spampd_enable (bool):		Set it to "YES" to enable spampd
 #				Default is "NO"
-# spampd_flags
+# spampd_flags:			Flags to spampd
+# spampd_extra_flags:		Additional flags, so one can
+#                               keep defaults in spampd_flags, e.g.
+#                               spampd_extra_flags="--sef" to add
+#                               "X-Envelope-From" header.
 
 . /etc/rc.subr
 
@@ -23,7 +27,7 @@ rcvar=spampd_enable
 load_rc_config $name
 
 command="%%PREFIX%%/sbin/$name"
-command_args="--pid=${spampd_pidfile}"
+command_args="--setsid --pid=${spampd_pidfile} ${spampd_extra_flags}"
 command_interpreter="%%PERL%% -T"
 pidfile="${spampd_pidfile}"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807160953.w6G9rF5N092843>