macports / macports-webapp

Web application to display information about ports, build history and installation statistics
https://ports.macports.org/
BSD 2-Clause "Simplified" License
56 stars 28 forks source link

Upgrade curl #358

Open teddywing opened 1 year ago

teddywing commented 1 year ago

Livecheck fails when attempting to connect to the domain pyropus.ca. in the following ports:

This is caused by a problem in Curl.

In the discussion in https://github.com/curl/curl/issues/8290 , @ryandesign found that the absolute (fully qualified domain name) problem was introduced in https://github.com/curl/curl/commit/5de8d84098db1bd24e7fffefbe14e81f2a05995a released in curl 7.37.0.

The problem was then corrected in https://github.com/curl/curl/commit/b27ad8e1d3e68eb3214fcbb398ca436873aa7c67 , released in curl 7.82.0.

Currently, the MacPorts web app appears to use curl 7.68.0 (https://hub.docker.com/layers/arjunsalyan/macports-ubuntu/20.04_2.8.1).

Would it be possible to switch to curl 7.82.0 or later on the MacPorts web server to fix this livecheck issue?

ryandesign commented 1 year ago

Best would be to fix MacPorts base so that it works correctly with any version of curl. See https://trac.macports.org/ticket/67186.

teddywing commented 1 year ago

Best would be to fix MacPorts base so that it works correctly with any version of curl. See https://trac.macports.org/ticket/67186.

Oh yes, that’s a good idea. In that case, I’m not sure whether you want the same thing tracked in two places. Feel free to close this ticket if it makes things easier.