Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 850128 Details for
Bug 848915
net-irc/psybnc-2.4.3 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]
0002-net-irc-psybnc-Avoid-non-POSIX-features-in-runscript.patch
0002-net-irc-psybnc-Avoid-non-POSIX-features-in-runscript.patch (text/plain), 1.55 KB, created by
kfm
on 2023-02-08 03:36:22 UTC
(
hide
)
Description:
0002-net-irc-psybnc-Avoid-non-POSIX-features-in-runscript.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2023-02-08 03:36:22 UTC
Size:
1.55 KB
patch
obsolete
>From 7474695491c30be59d66a37a1120283e8bc18e3e Mon Sep 17 00:00:00 2001 >From: Kerin Millar <kfm@plushkava.net> >Date: Fri, 1 Jul 2022 21:18:01 +0100 >Subject: [PATCH 2/4] net-irc/psybnc: Avoid non-POSIX features in runscript > >Don't use [[ (SC3010). Don't use &> (SC3020). > >Bug: https://bugs.gentoo.org/848915 >Signed-off-by: Kerin Millar <kfm@plushkava.net> >--- > net-irc/psybnc/files/psybnc.initd | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/net-irc/psybnc/files/psybnc.initd b/net-irc/psybnc/files/psybnc.initd >index add371671..9a98341d8 100644 >--- a/net-irc/psybnc/files/psybnc.initd >+++ b/net-irc/psybnc/files/psybnc.initd >@@ -7,19 +7,19 @@ depend() { > } > > check_config() { >- if [[ ! -f ${PSYBNC_CONFIG} ]] >+ if [ ! -f "${PSYBNC_CONFIG}" ] > then > eerror "Please set \$PSYBNC_CONFIG in /etc/conf.d/psybnc!" > return 1 > fi > >- if [[ ! -d "${PSYBNC_HOME}" ]] >+ if [ ! -d "${PSYBNC_HOME}" ] > then > eerror "Please set \$PSYBNC_HOME in /etc/conf.d/psybnc!" > return 1 > fi > >- if [[ -z "${PSYBNC_USER}" ]] >+ if [ -z "${PSYBNC_USER}" ] > then > eerror "Please set \$PSYBNC_USER in /etc/conf.d/psybnc!" > return 1 >@@ -29,7 +29,7 @@ check_config() { > start() { > check_config || return 1 > ebegin "Starting psyBNC" >- start-stop-daemon --start --quiet --chuid "${PSYBNC_USER}" --chdir "${PSYBNC_HOME}" --exec /usr/bin/psybnc -- "${PSYBNC_CONFIG}" &>/dev/null >+ start-stop-daemon --start --quiet --chuid "${PSYBNC_USER}" --chdir "${PSYBNC_HOME}" --exec /usr/bin/psybnc -- "${PSYBNC_CONFIG}" >/dev/null 2>&1 > eend $? > } > >-- >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 848915
:
781787
| 850128