[Bug 244164] Mk/bsd.sites.mk: Update URL of MASTER_SITE_OSDN to one that supports geographical load balancing

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 16 11:17:19 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244164

            Bug ID: 244164
           Summary: Mk/bsd.sites.mk: Update URL of MASTER_SITE_OSDN to one
                    that supports geographical load balancing
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: yasu at utahime.org

Created attachment 211690
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211690&action=edit
Patch file

* 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.
  From https://osdn.net/docs/FileRelease_Guide#h2-Direct.20Download

  "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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list