Opened 2 years ago

Closed 2 years ago

#63796 closed defect (fixed)

macos-fortress-proxy, macos-fortress-squid: workpath referenced in activate phase

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: macos-fortress

Description

These subports contain code like this:

    post-activate {
        patch_configuration \
            ${workpath}/privoxy-config.patch \
            ${prefix}/etc/privoxy/config \
            ${prefix}/etc/privoxy/config.new

You cannot reference ${workpath} in the activate or deactivate phases because the workpath does not necessarily exist anymore at that time. If you want to use privoxy-config.patch at activate or deactivate time then you'd better install that file and reference it from its installed location.

Change History (2)

comment:1 Changed 2 years ago by essandess (Steve Smith)

Thank you for the corrections!

Please see https://github.com/macports/macports-ports/pull/12805.

comment:2 Changed 2 years ago by essandess (Steve Smith)

Resolution: fixed
Status: assignedclosed

In 8ba09df0d5c777b1eeee8e9cc888fbb2a6ae0ce6/macports-ports (master):

macos-fortress: Bugfix

Note: See TracTickets for help on using tickets.