[Bug 260518] ports-mgmt/fastest_pkg consider using a pkg+http:// or pkg+https:// (etc.) URL scheme
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Dec 2021 15:47:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260518 Bug ID: 260518 Summary: ports-mgmt/fastest_pkg consider using a pkg+http:// or pkg+https:// (etc.) URL scheme Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/ehaupt/fastest_pkg/blob/5bd4e8c1794 cfaa7e0a3231a50568b14e021417d/fastest_pkg#L139 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ehaupt@FreeBSD.org Reporter: grahamperrin@gmail.com Flags: maintainer-feedback?(ehaupt@FreeBSD.org) Assignee: ehaupt@FreeBSD.org <https://github.com/ehaupt/fastest_pkg/blob/5bd4e8c1794cfaa7e0a3231a50568b14e021417d/fastest_pkg#L139> exemplifies http:// > 'FreeBSD: { url: "http://%s/${ABI}/latest" }' From the manual page for pkg.conf(5): > … Where MIRROR_TYPE is SRV, you should use a pkg+http:// or pkg+https:// > (etc.) URL scheme. … <https://www.freebsd.org/cgi/man.cgi?query=pkg.conf&sektion=5&manpath=Ports#REPOSITORY_CONFIGURATION> ---- A working pkg+http:// example ============================= % uclcmd get --file /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD.url "pkg+http://pkg0.bme.freebsd.org/${ABI}/latest" % uclcmd get --file /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD.mirror_type null % uclcmd get --file /etc/pkg/FreeBSD.conf FreeBSD.mirror_type "srv" % sudo pkg update -f -r FreeBSD Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 6 MiB 6.6MB/s 00:01 … -- You are receiving this mail because: You are the assignee for the bug.