git: 318255d4921c - 2022Q2 - mail/spampd: Unbreak with spamassassin 3.4+

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 18:01:58 UTC
The branch 2022Q2 has been updated by grembo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=318255d4921caaf82c3c48d90bd9135d0ff41453

commit 318255d4921caaf82c3c48d90bd9135d0ff41453
Author:     Jonathan Chen <jonc@chen.org.nz>
AuthorDate: 2022-04-09 17:58:22 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2022-04-09 18:01:23 +0000

    mail/spampd: Unbreak with spamassassin 3.4+
    
    PR:             262235
    (cherry picked from commit adbaba0606ebeb620dc7425d43b8fe83a6eff08f)
---
 mail/spampd/Makefile        | 2 +-
 mail/spampd/files/spampd.in | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/mail/spampd/Makefile b/mail/spampd/Makefile
index b32e09bd6346..a722e979fb4e 100644
--- a/mail/spampd/Makefile
+++ b/mail/spampd/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	spampd
 PORTVERSION=	2.61
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail perl5
 
 MAINTAINER=	ports@FreeBSD.org
diff --git a/mail/spampd/files/spampd.in b/mail/spampd/files/spampd.in
index e74206334207..b55059fdfaf0 100644
--- a/mail/spampd/files/spampd.in
+++ b/mail/spampd/files/spampd.in
@@ -22,8 +22,7 @@ rcvar=spampd_enable
 
 : ${spampd_enable="NO"}
 : ${spampd_pidfile="/var/run/spamd/spampd.pid"}
-: ${spampd_flags="--user=spamd --group=spamd --host 127.0.0.1:10024 --relayhost=127.0.0.1:10025 --dose --tagall --auto-whitelist"}
-
+: ${spampd_flags="--user=spamd --group=spamd --homedir=/var/spool/spamd --host=127.0.0.1:10025 --relayhost=127.0.0.1:10026 --dose --tagall"}
 load_rc_config $name
 
 command="%%PREFIX%%/sbin/$name"