ports-mgmt/git-proxy – caching proxy for package registries, including FreeBSD pkg 0 ▲ Dan Langille's Other Diary 1 hour ago · 10 min read1986 words · Tech · hide I’ve heard about and thought about proxies for pkg servers for some time. Perhaps years, but definitely months. I never took action until I saw this commit in today’s FreshPorts new ports email: ports-mgmt/git-proxy Caching proxy for package registries, including FreeBSD pkg Today. This morning, during coffee at my local shop, I implemented one in my basement. The following shows you how I did it. Every host in the basement fetches packages: base from pkg.FreeBSD.org and everything else from my own poudriere repo on fedex. The proxy now sits between them and those repos. git-proxy caches package registries. It speaks the pkg(8) repository protocol, keeps local copies of what it serves, and keeps serving when the upstream can’t be reached. It hands repository catalogues back byte for byte, so pkg still verifies signatures with the same keys as before. It also proxies npm, PyPI, Cargo, OCI images and more, but I only care about pkg here. The jail and the dataset The proxy runs in a new… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town