[MacPorts] #58878: netpbm @10.87.01_0: Destroot failed, backslash in group name

MacPorts noreply at macports.org
Mon Dec 23 11:24:13 UTC 2024


#58878: netpbm @10.87.01_0: Destroot failed, backslash in group name
---------------------------+------------------------
  Reporter:  Dave-Allured  |      Owner:  ryandesign
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  haspatch
      Port:  netpbm        |
---------------------------+------------------------

Comment (by ryandesign):

 Since the values we're inserting into port_autoconf.tcl come from the
 user's machine, we need to accommodate ''any'' values, even those that
 seem to be illegal. Therefore using `{` `}` quoting instead of `"` `"`
 won't work either because some values are illegal within `{` `}` strings
 (specifically: unbalanced braces are illegal). Therefore we have to
 continue to use `"` `"` strings but we have to escape special characters
 (`[`, `$`, `"`, and `\`) within the values before writing them into the
 file.

-- 
Ticket URL: <https://trac.macports.org/ticket/58878#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list