[MacPorts] #36855: "load" plugin in munin uses bad echo command
#36855: "load" plugin in munin uses bad echo command -------------------------------+-------------------------------- Reporter: mf-macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: munin -------------------------------+-------------------------------- The "load" plugin currently uses echo -n in a script executed by /bin/sh, which is not an available option in this builtin. The attached patch substitutes the -n option with a \c at the end of the string. -- Ticket URL: <https://trac.macports.org/ticket/36855> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36855: munin: "load" plugin uses bad echo command --------------------------------+---------------------- Reporter: mf-macports.org@… | Owner: alpha@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: munin | --------------------------------+---------------------- Changes (by ryandesign@…): * cc: alpha@… (removed) * owner: macports-tickets@… => alpha@… Comment: Since this changes a file that ends up getting installed, the revision should be increased. It looks like the load plugin isn't the only plugin that uses "echo -n"; as far as I can tell all of the following plugins do: * id * load * netopia * ntp_kernel_err * ntp_kernel_pll_freq * ntp_kernel_pll_off * qmailscan * qmailscan-simple * snort_alerts * snort_bytes_pkt * snort_drop_rate * snort_pattern_match * snort_pkts * snort_traffic * squeezebox_ Instead of manually fixing these, we should probably just [ticket:36860 update to a newer version]. According the [https://github.com/munin- monitoring/munin/blob/master/ChangeLog ChangeLog], "echo -n" was replaced with "printf" in version 2.0-alpha2; this is the fix we've used in other ports too. -- Ticket URL: <https://trac.macports.org/ticket/36855#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36855: munin: "load" plugin uses bad echo command --------------------------------+-------------------------------- Reporter: mf-macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: munin | --------------------------------+-------------------------------- Changes (by mf2k@…): * owner: alpha@… => macports-tickets@… Comment: This port is no longer maintained. -- Ticket URL: <https://trac.macports.org/ticket/36855#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts