[MacPorts] #51516: MacPorts should use a bundled copy of a newer libcurl and SSL library rather than the OS X version

MacPorts noreply at macports.org
Sun Jun 16 22:15:35 UTC 2024


#51516: MacPorts should use a bundled copy of a newer libcurl and SSL library
rather than the OS X version
--------------------------+--------------------------------
  Reporter:  ryandesign   |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:  MacPorts Future
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by RJVB):

 https://github.com/RJVB/macstrop/tree/master/sysutils/MacPorts-pextlib

 Main port implemented and a more robust pkgIndex wrapper implemented.

 I'm not even sure why the previous version worked as apparently the script
 passed to `package ifneeded` cannot see variables defined in the same
 file.

 But the main problem was that it was too easy to cripple an installation
 by deactivating `port:MacPorts-libcurl` or `port:MacPorts-pextlib` itself.

 So the new pkgIndex wrapper installs an "ifneeded script" that `catch`es
 any error in `load Pextlib-mp.dylib` and then falls back to `load
 Pextlib.dylib`. For some reason the `$dir` variable is not
 accessible/defined in this new implementation so I had to use the
 hardcoded install path but that should be a problem AFAICT.

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


More information about the macports-tickets mailing list