[MacPorts] #63461: openssl @1.1.1l: update to 3.0.0

MacPorts noreply at macports.org
Wed Sep 29 17:10:52 UTC 2021


#63461: openssl @1.1.1l: update to 3.0.0
----------------------+----------------------
  Reporter:  l2dy     |      Owner:  larryv
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  openssl  |
----------------------+----------------------

Comment (by ken-cunningham-webuse):

 In [changeset:"939497411387692d03939323f0e626b728946a4c/macports-ports"
 939497411387692d03939323f0e626b728946a4c/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="939497411387692d03939323f0e626b728946a4c"
 openssl11: older version of openssl

 similar to openssl10, this port provides openssl 1.1.1,
 for ports that may not be compatible with openssl 3.x

 to use it, you add the following to the Portfile of
 the port you want to force to openssl 1.1 (using botan as an example):

 % cat botan-use-openssl1.1.diff
 diff --git a/security/botan/Portfile b/security/botan/Portfile
 index a6862250901..9f6ab677987 100644
 --- a/security/botan/Portfile
 +++ b/security/botan/Portfile
 @@ -2,6 +2,7 @@

  PortSystem          1.0
  PortGroup           muniversal 1.0
 +PortGroup           old_openssl 1.0
  PortGroup           legacysupport 1.0
  # for arc4random_buf(), which is missing on 10.6 (Darwin 10)
  legacysupport.newest_darwin_requires_legacy 10
 @@ -32,6 +33,9 @@ checksums           rmd160
 f3a4c1b963b47d543430f8705d7db87c64e013b9 \
  depends_build       port:python27
  depends_lib         path:lib/libssl.dylib:openssl port:zlib port:bzip2

 +openssl.branch      1.1
 +openssl.configure   build_flags
 +
  # respect MacPorts configure values
  patchfiles-append   patch-compiler_flags.diff \
                      patch-fix-install-with-destdir.diff \

 NB: the openssl.branch and openssl.configure options need to be
 placed after depends_lib to be properly picked up. That may
 be fixed with adding a callback function to the old_openssl PG.

 see: https://trac.macports.org/ticket/63461
 }}}

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


More information about the macports-tickets mailing list