From owner-svn-ports-head@freebsd.org Mon Jul 16 09:53:16 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA5A11048753; Mon, 16 Jul 2018 09:53:16 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57518893F7; Mon, 16 Jul 2018 09:53:16 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 386F01B01E; Mon, 16 Jul 2018 09:53:16 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6G9rGO4092846; Mon, 16 Jul 2018 09:53:16 GMT (envelope-from grembo@FreeBSD.org) Received: (from grembo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6G9rF5N092843; Mon, 16 Jul 2018 09:53:15 GMT (envelope-from grembo@FreeBSD.org) Message-Id: <201807160953.w6G9rF5N092843@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: grembo set sender to grembo@FreeBSD.org using -f From: Michael Gmelin Date: Mon, 16 Jul 2018 09:53:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474724 - in head/mail/spampd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: grembo X-SVN-Commit-Paths: in head/mail/spampd: . files X-SVN-Commit-Revision: 474724 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 09:53:16 -0000 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}"