1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

mail/spampd: Upgrade to 2.61.

This commit is contained in:
Dag-Erling Smørgrav 2021-09-28 04:22:52 +00:00
parent 9f2455e830
commit 8a681529a5
3 changed files with 13 additions and 13 deletions

View File

@ -1,7 +1,7 @@
# Created by: chris
PORTNAME= spampd
PORTVERSION= 2.53
PORTVERSION= 2.61
CATEGORIES= mail perl5
MAINTAINER= des@FreeBSD.org

View File

@ -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

View File

@ -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