FreeBSD Bugzilla – Attachment 228152 Details for
Bug 258207
mail/fetchmail does not restart properly with "service -R"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch.
fm_update.patch (text/plain), 1.27 KB, created by
Corey Halpin
on 2021-09-24 16:52:36 UTC
(
hide
)
Description:
Proposed patch.
Filename:
MIME Type:
Creator:
Corey Halpin
Created:
2021-09-24 16:52:36 UTC
Size:
1.27 KB
patch
obsolete
>diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile >index 0ed21d352b..21a0b7561e 100644 >--- a/mail/fetchmail/Makefile >+++ b/mail/fetchmail/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME?= fetchmail > DISTVERSION= 6.4.22 >+PORTREVISION= 1 > CATEGORIES= mail > # The next line is inherited by the fetchmailconf dependent port, > # do NOT replace fetchmail by ${PORTNAME} >diff --git a/mail/fetchmail/files/fetchmail.in b/mail/fetchmail/files/fetchmail.in >index 208e4526a6..99756ee8c5 100644 >--- a/mail/fetchmail/files/fetchmail.in >+++ b/mail/fetchmail/files/fetchmail.in >@@ -164,10 +164,14 @@ if [ "x${fetchmail_users}" != "x" ]; then > eval fetchmail_${i}="\${${uvarname}-\${fetchmail_${i}}}" > done > else >- pidfile=/var/run/fetchmail/fetchmail.pid >+ fetchmail_home=/var/run/fetchmail > fi > required_files=${fetchmail_config} > >+# set up environment >+export FETCHMAILHOME=${fetchmail_home} >+export FETCHMAILUSER=${fetchmail_user} >+ > # add early command line arguments > # if logfile set in config file, do not override with rc.conf default (note logfile overrides syslog) > _logfile="$(fetchmail_dump_config logfile)" >@@ -184,5 +188,4 @@ if [ "$(fetchmail_dump_config poll_interval)" = "0," ] ; then > fi > > # actually execute the fetchmail program >-export FETCHMAILUSER=$fetchmail_user > run_rc_command "$1"
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
Flags:
chalpin
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 258207
: 228152