Bug 239098 - bsd.sites.mk add local distfile mirror
Summary: bsd.sites.mk add local distfile mirror
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
Depends on:
Reported: 2019-07-09 22:44 UTC by Miyashita Touka
Modified: 2019-07-10 14:16 UTC (History)
2 users (show)

See Also:

patch (542 bytes, patch)
2019-07-09 22:44 UTC, Miyashita Touka
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miyashita Touka 2019-07-09 22:44:07 UTC
Created attachment 205638 [details]

Local distfiles can't be fetched or initially checksummed securely without an HTTPS mirror. This adds one hosted on pkg.freebsd.org.
Comment 1 Koichiro Iwao freebsd_committer 2019-07-10 12:00:05 UTC
This is up to portmgr.
Comment 2 Antoine Brodin freebsd_committer 2019-07-10 12:06:34 UTC
(In reply to Miyashita Touka from comment #0)
Local distfiles are not supposed to be used for initial checksum, they are a backup in case the main mirror is temporarily unavailable
Comment 3 Mathieu Arnold freebsd_committer 2019-07-10 14:16:22 UTC
The fact that pkg.freebsd.org has a local-distfiles directory is an artefact of how mirroring is done, it should NOT, be used, or taken for granted.