[MacPorts] #36855: munin: "load" plugin uses bad echo command (was: "load" plugin in munin uses bad echo command)

MacPorts noreply at macports.org
Fri Nov 2 20:38:48 PDT 2012


#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


More information about the macports-tickets mailing list