invalid certificate chain during port-fetch

Ryan Schmidt ryandesign at macports.org
Sun Dec 29 03:51:07 UTC 2019



On Dec 28, 2019, at 14:33, René J.V. Bertin wrote:

> On Saturday December 28 2019 14:10:29 Ryan Schmidt wrote:
> 
>>> but don't understand why the fallback doesn't work on Mac. Maybe a different exception is raised there?
>>> 
>>> Anyway, I think the fallback makes sense in this kind of situation, and it should handle bootstrap errors gracefully. That is, if port:curl isn't yet installed the system curl will be found.
>> 
>> I don't want to debug any custom changes you've made to MacPorts base.
> 
> I'm not asking you to but I'm quite certain this is a reintroduction of code that was removed for some reason. It doesn't look like how I'd have written it (I wouldn't have bothered with an exception filter).

If I understood the patch correctly, it adds a fallback so that if fetching via the curl library fails, then it tries fetching via the curl command line program. To my knowledge MacPorts has never had code for using the curl command line program, only the curl library.



More information about the macports-dev mailing list