[MacPorts] #68642: smokeping/files/patch-bin-smokeping_cgi.diff changes $cfg to $cfgfile, but the code requires $cfg

MacPorts noreply at macports.org
Sun Nov 5 19:25:32 UTC 2023


#68642: smokeping/files/patch-bin-smokeping_cgi.diff changes $cfg to $cfgfile, but
the code requires $cfg
---------------------+-----------------------
 Reporter:  sbytnar  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  smokeping
---------------------+-----------------------
 This diff blob
 {{{
 -my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
 +my $cfgfile = "__PREFIX__/etc/smokeping/config";
 }}}
 should be
 {{{
 -my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
 +my $cfg = "__PREFIX__/etc/smokeping/config";
 }}}
 Without it, smokeping_cgi fails to run.

-- 
Ticket URL: <https://trac.macports.org/ticket/68642>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list