base: curl isnewer failed on some mirror sites due to no user-agent set
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 (GitHub:PR#349)
Change History (5)
Keywords: |
haspatch added; curl isnewer selfupdate removed
|
Owner: |
set to Xavier Hsinyuan <me@…>
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Milestone: |
→ MacPorts Future
|
Milestone: |
MacPorts Future →
MacPorts 2.10.3
|
Milestone: |
MacPorts 2.10.3 →
MacPorts 2.10.2
|
In c39ccfb594ae91ae24c6f93510bffac7b28c4979/macports-base (master):