[MacPorts] #63796: macos-fortress-proxy, macos-fortress-squid: workpath referenced in activate phase

MacPorts noreply at macports.org
Thu Nov 4 08:38:00 UTC 2021


#63796: macos-fortress-proxy, macos-fortress-squid: workpath referenced in activate
phase
------------------------+----------------------------
 Reporter:  ryandesign  |      Owner:  essandess
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  macos-fortress
------------------------+----------------------------
 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.

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


More information about the macports-tickets mailing list