[MacPorts] #70973: base: curl isnewer failed on some mirror sites due to no user-agent set
MacPorts
noreply at macports.org
Sun Sep 29 04:42:39 UTC 2024
#70973: base: curl isnewer failed on some mirror sites due to no user-agent set
-------------------------------------+--------------------
Reporter: thelastlin | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.10.1
Keywords: curl isnewer selfupdate | Port:
-------------------------------------+--------------------
`port selfupdate` might issue a warning about unable to check updates for
portfiles with some mirror sites since the mirror deny all requests
without a useragent.
It's known that https://mirrors.tuna.tsinghua.edu.cn by TUNA don't accept
requests without useragent recently.
Workaround for MacPorts: set a useragent for curl isnewer
([https://github.com/macports/macports-base/pull/349 GitHub:PR#349])
--
Ticket URL: <https://trac.macports.org/ticket/70973>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list