Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 850132 Details for
Bug 849257
net-mail/mailgraph-1.14-r3 installs shell script that uses non-POSIX features
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0003-net-mail-mailgraph-Avoid-non-POSIX-features-in-runsc.patch
0003-net-mail-mailgraph-Avoid-non-POSIX-features-in-runsc.patch (text/plain), 1.52 KB, created by
kfm
on 2023-02-08 03:39:24 UTC
(
hide
)
Description:
0003-net-mail-mailgraph-Avoid-non-POSIX-features-in-runsc.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2023-02-08 03:39:24 UTC
Size:
1.52 KB
patch
obsolete
>From 5f85b51efe469a69d8ef4fe6e43567d6634683c7 Mon Sep 17 00:00:00 2001 >From: Kerin Millar <kfm@plushkava.net> >Date: Fri, 1 Jul 2022 23:40:35 +0100 >Subject: [PATCH 3/4] net-mail/mailgraph: Avoid non-POSIX features in runscript > >Don't use [[ (SC3010). Fix up some unquoted expansions into the >bargain (SC2086). > >Bug: https://bugs.gentoo.org/849257 >Signed-off-by: Kerin Millar <kfm@plushkava.net> >--- > net-mail/mailgraph/files/mailgraph.initd-new | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/net-mail/mailgraph/files/mailgraph.initd-new b/net-mail/mailgraph/files/mailgraph.initd-new >index 564f714e3..50f0cc547 100644 >--- a/net-mail/mailgraph/files/mailgraph.initd-new >+++ b/net-mail/mailgraph/files/mailgraph.initd-new >@@ -6,7 +6,7 @@ start() { > ebegin "Starting mailgraph" > > # read mail log messages somewhere other than /var/log/syslog? >- [[ -n "${MG_LOGFILE}" ]] && MG_DAEMON_OPTS="${MG_DAEMON_OPTS} -l ${MG_LOGFILE}" >+ [ -n "${MG_LOGFILE}" ] && MG_DAEMON_OPTS="${MG_DAEMON_OPTS} -l ${MG_LOGFILE}" > > # create /var/run/mailgraph if necessary > if [ ! -d /var/run/mailgraph ] ; then >@@ -14,12 +14,12 @@ start() { > fi > > UMASK=$(umask) >- umask ${MG_DAEMON_UMASK:-0077} >+ umask "${MG_DAEMON_UMASK:-0077}" > start-stop-daemon --start \ > --name mailgraph \ > --user "${MG_DAEMON_UID}:${MG_DAEMON_GID}" \ > --name mailgraph \ >- --pidfile ${MG_DAEMON_PID} \ >+ --pidfile "${MG_DAEMON_PID}" \ > --exec /usr/bin/mailgraph -- -v --daemon \ > --daemon-log="${MG_DAEMON_LOG}" \ > --daemon-pid="${MG_DAEMON_PID}" \ >-- >2.37.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 849257
:
782198
| 850132