FreeBSD Bugzilla – Attachment 232003 Details for
Bug 259226
mail/spampd: Fails to start after 2.61 upgrade: "Global symbol "$user" requires explicit package name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-Remove-un-needed-patch-for-spampd.patch (text/plain), 1.65 KB, created by
Daniel Morante
on 2022-02-22 07:04:58 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Daniel Morante
Created:
2022-02-22 07:04:58 UTC
Size:
1.65 KB
patch
obsolete
>From 7d90b73826ba6950a817ac30ae8a8d20948cd635 Mon Sep 17 00:00:00 2001 >From: Daniel Morante <daniel@morante.net> >Date: Mon, 21 Feb 2022 22:21:38 -0500 >Subject: [PATCH] Remove un-needed patch for spampd > >--- > mail/spampd/Makefile | 1 + > mail/spampd/files/patch-spampd.pl | 10 ---------- > 2 files changed, 1 insertion(+), 10 deletions(-) > delete mode 100644 mail/spampd/files/patch-spampd.pl > >diff --git a/mail/spampd/Makefile b/mail/spampd/Makefile >index 9819d0c6b57d..35283c5fb80b 100644 >--- a/mail/spampd/Makefile >+++ b/mail/spampd/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= spampd > PORTVERSION= 2.61 >+PORTREVISION= 1 > CATEGORIES= mail perl5 > > MAINTAINER= des@FreeBSD.org >diff --git a/mail/spampd/files/patch-spampd.pl b/mail/spampd/files/patch-spampd.pl >deleted file mode 100644 >index b54c232a3252..000000000000 >--- a/mail/spampd/files/patch-spampd.pl >+++ /dev/null >@@ -1,10 +0,0 @@ >---- spampd.pl.orig 2021-09-28 04:11:50 UTC >-+++ spampd.pl >-@@ -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 >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259226
: 232003