[MacPorts] #64892: privoxy: port activation fails due to existence of '${prefix}/etc/privoxy/CA/trustedCAs.pem'
MacPorts
noreply at macports.org
Sat Mar 26 20:33:59 UTC 2022
#64892: privoxy: port activation fails due to existence of
'${prefix}/etc/privoxy/CA/trustedCAs.pem'
----------------------+-----------------------
Reporter: mascguy | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: privoxy |
----------------------+-----------------------
Comment (by essandess):
Groan, sorry. I’ll post a fix. I think there are three related issues
here:
1. This specific bug.
2. The `tcl` code that makes @mascguy’s brain hurt (mine too, evidently):
https://github.com/macports/macports-
ports/pull/14354#discussion_r835502075
3. The necessary `depends_lib` on `curl-ca-bundles and `apple-pki-bundle`
needed to update `trustedCAs.pem` Whenever these ports are updated, but
also unnecessarily rebuilds and installs the `privoxy` binary.
For 2: Chris, are you able to point to a cleaner `tcl` implementation of
essentially file output operators like `>>`, but in `tcl`, not `bash`?
For 3: I think the cleanest approach is to add a subport that installs
`trustedCAs.pem`, and move the `depends_lib`‘s to that subport.
Comments/feedback on any of this?
--
Ticket URL: <https://trac.macports.org/ticket/64892#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list