Created attachment 211690 [details]
* Update URL of MASTER_SITE_OSDN to one that supports geographical load balancing.
* Add MASTER_SITE_OSDN_CHAMBER that is used for files downloaded from user's chamber.
* Add --user-agent option to FETCH_ARGS when either MASTER_SITE or PATCH_SITES include MASTER_SITE_OSDN or MASTER_SITE_OSDN_CHAMBER.
"Currently, when a release-file URL is accessed from wget, curl, libwww-perl, PowerShell, apt, dnf, or other package management tools, downloading of the file will begin right away without having to go via html page."
Unfortunately fetch(1) isn't included in such user agents. Therefore add --user-agent option to FETCH_ARGS so access is considered as that of ftp/curl.