Created attachment 222552 [details] New port www/mirrorselect Hi, Mirrorselect is an HTTP backend service that selects the pkg(8) mirrors according to their "distances" to the client. I've written mirrorselect in Go to achieve the pkg(8) mirror auto-balance for DragonFly BSD. It should just work for FreeBSD as well and I hope it can be helpful to others :D Cheers, Aaron
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bee9d3bead6a4d7e57a8893fd76fb294cd4fa04 commit 8bee9d3bead6a4d7e57a8893fd76fb294cd4fa04 Author: Aaron LI <aly@aaronly.me> AuthorDate: 2021-05-30 21:12:36 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-05-30 21:12:36 +0000 www/mirrorselect: New port HTTP service that selects pkg(8) mirrors near to the client. PR: 253622 Submitted by: Aaron LI <aly@aaronly.me> Approved by: lwhsu (mentor) www/Makefile | 1 + www/mirrorselect/Makefile (new) | 63 ++++++++++++++++++++++++++ www/mirrorselect/distinfo (new) | 61 +++++++++++++++++++++++++ www/mirrorselect/files/mirrorselect.in (new) | 67 ++++++++++++++++++++++++++++ www/mirrorselect/pkg-descr (new) | 4 ++ 5 files changed, 196 insertions(+)
Committed, thanks!
(In reply to Guangyuan Yang from comment #2) Hi Guangyuan, thank you for the kind help. Cheers, Aaron