[MacPorts] #59632: (10.7.4, curl, youtube-dl) cannot force activate curl

MacPorts noreply at macports.org
Thu Nov 7 20:39:25 UTC 2019


#59632: (10.7.4, curl,youtube-dl) cannot force activate curl
----------------------+--------------------
  Reporter:  mrkapqa  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+--------------------

Comment (by ryandesign):

 Both the youtube-dl download URL and the perlbrew installer URL are
 redirects to GitHub. The curl provided by Apple links with the openssl
 provided by Apple. On OS X 10.8 and earlier, Apple's openssl is too old to
 talk to GitHub anymore, because [https://github.blog/2018-02-23-weak-
 cryptographic-standards-removed/ GitHub has increased their security
 requirements] beyond that which Apple's old openssl offers. (GitHub is not
 the only site that has imposed such requirements.) This is not a MacPorts
 bug, it's just a consequence of using an OS released in 2011 in 2019.

 An alternative is to install the MacPorts curl port, which is linked with
 the MacPorts openssl port, which is new enough to talk to GitHub. If you
 have already used the system's curl in that terminal window, then you need
 to close the terminal window and open a new one for the shell to notice
 that a different curl is now available. This is not a MacPorts bug; it's
 just how shells work.

 You should not use the `-f` flag unnecessarily. Installing a port
 automatically activates it.

 I am not able to reproduce the difficulty you encountered installing
 MacPorts using the package installer. I downloaded
 [https://distfiles.macports.org/MacPorts/MacPorts-2.6.2-10.7-Lion.pkg
 MacPorts-2.6.2-10.7-Lion.pkg] and it installed fine on my Lion machine.
 Make sure you downloaded exactly that file (the one for Lion, and not one
 for a different OS version). If you are sure you did that and it still
 doesn't work, please provide more details.

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


More information about the macports-tickets mailing list