Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 11:17:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244164] Mk/bsd.sites.mk: Update URL of MASTER_SITE_OSDN to one that supports geographical load balancing
Message-ID:  <bug-244164-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244164

            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@FreeBSD.org
          Reporter: yasu@utahime.org

Created attachment 211690
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211690&action=
=3Dedit
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_SI=
TES
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-p=
erl,
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/cu=
rl.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244164-7788>