From 8a681529a547c681de95f51107e8b1cc599c79b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 28 Sep 2021 04:22:52 +0000 Subject: [PATCH] mail/spampd: Upgrade to 2.61. --- mail/spampd/Makefile | 2 +- mail/spampd/distinfo | 6 +++--- mail/spampd/files/patch-spampd.pl | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/mail/spampd/Makefile b/mail/spampd/Makefile index 3dd81f9e5872..9819d0c6b57d 100644 --- a/mail/spampd/Makefile +++ b/mail/spampd/Makefile @@ -1,7 +1,7 @@ # Created by: chris PORTNAME= spampd -PORTVERSION= 2.53 +PORTVERSION= 2.61 CATEGORIES= mail perl5 MAINTAINER= des@FreeBSD.org diff --git a/mail/spampd/distinfo b/mail/spampd/distinfo index 36ed7d873c03..94ec72d15e5b 100644 --- a/mail/spampd/distinfo +++ b/mail/spampd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1552405727 -SHA256 (mpaperno-spampd-2.53_GH0.tar.gz) = 58f37e61bac99a0423605c7db23cf8d1e4389681fe50d7e37ce2e31d46e27a88 -SIZE (mpaperno-spampd-2.53_GH0.tar.gz) = 217945 +TIMESTAMP = 1632802274 +SHA256 (mpaperno-spampd-2.61_GH0.tar.gz) = 91e60f10745ea4f9c27b9e57619a1bf246ab9a88ea1b88c4f39f8af607e2dbae +SIZE (mpaperno-spampd-2.61_GH0.tar.gz) = 246956 diff --git a/mail/spampd/files/patch-spampd.pl b/mail/spampd/files/patch-spampd.pl index eec20067e5f7..b54c232a3252 100644 --- a/mail/spampd/files/patch-spampd.pl +++ b/mail/spampd/files/patch-spampd.pl @@ -1,10 +1,10 @@ ---- spampd.pl.orig 2019-03-12 15:58:04 UTC +--- spampd.pl.orig 2021-09-28 04:11:50 UTC +++ spampd.pl -@@ -877,6 +877,7 @@ my $sa_options = { - 'debug' => $debug, - 'local_tests_only' => $sa_local_only, - 'home_dir_for_helpers' => $sa_home_dir, -+ 'user_dir' => (getpwnam($user))[7], - 'userstate_dir' => $sa_home_dir, - 'username' => $user - }; +@@ -470,6 +470,7 @@ sub new { + userstate_dir => + '/var/spool/spamassassin/spampd', # home directory for SA files and plugins (--homedir option) + home_dir_for_helpers => '', # this will be set to the same as userstate_dir once options are parsed ++ user_dir => (getpwnam($user))[7], + username => '', # this will be set to the same user as we're running as once options are parsed + userprefs_filename => undef, # add this config file for SA "user_prefs" settings (--saconfig option) + dont_copy_prefs => 1, # tell SA not to copy user pref file into its working dir