HomeFreeBSD

net/tsocks: Fix erroneous substitution

Description

net/tsocks: Fix erroneous substitution

When patching the wrapper script for /usr to ${PREFIX} a part in a sed
statement gets substituted that should be escaped. Adjust sed statement
in a way that it doesn't break after patching ${PREFIX}.

While here:

  • move a REINPLACE_CMD operation to a pre-existing patch file
  • pacify portclippy
  • reformat with portfmt

PR: 267670
Reported by: chris@mumac.de

(cherry picked from commit d9f28ee265f94f4bcedb7d24648042ca1325c230)

Details

Provenance
ehauptAuthored on Nov 10 2022, 7:40 AM
Parents
R11:d507d20a44ad: www/varnish7: Update to 7.2.1, Fix security issues
Branches
Unknown
Tags
Unknown