[MacPorts] #63801: python ports: update to use openssl 3, allowing dependent binaries to be redistributed

MacPorts noreply at macports.org
Thu Nov 4 14:22:20 UTC 2021


#63801: python ports: update to use openssl 3, allowing dependent binaries to be
redistributed
----------------------+---------------------
  Reporter:  mascguy  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:  openssl
      Port:  python   |
----------------------+---------------------

Comment (by cjones051073):

 For some(*) ports using the openssl PG, switching to openssl 3 is just a
 matter of adding

 {{{
 openssl.branch 3
 }}}

 to the portfile in question.

 (*) I say some because if that works depends on how amenable the build in
 question is to using an openssl installation that is from a different
 install area (libexec) to the primary prefix (e.g. /opt/local). 'regular'
 builds, e.g. ./configure, cmake etc. usually have configuration options to
 set this (and the PG already tries to handle cmake internally). python
 builds are a bit different and I am not sure how this would work with
 them.

 My gut feeling is doing this en-mass with the above (say by putting it
 into the python PG) will not work as enough ports won't like it, to make
 it a non-starter. For them, access via the shim openssl port, which
 currently points to 1.1 still, might be the way to go. So to do this we
 might well end up back at the discussion as to when would be the right
 time to make openssl 3 the default (which can now be done by just changing
 the default branch in the openssl PG).

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


More information about the macports-tickets mailing list