I made a small 500 line program I call pkg_ping that calls uname -rm, ftp, sed, on openbsd.org/ftp.html. then it changes all the parsed http and ftp mirrors into http and ftp downloads and changes them to non redundant http mirrors (it has to to easily call ftp on it). It takes them and downloads SHA256 from the mirrors and the parent times how long it takes. If it takes too long it kills the ftp call and goes on to the next one. Then it sorts the results and puts the winner in /etc/pkg.conf replacing all installpath instances, while leaving everything else. It doesn't do any network stuff directly so it probably wouldn't be much of a security problem, but because it needs to alter a root owned file, it should need root privileges. I don't only run the release, so I don't even really know how to pledge it. Is this something somebody would be willing to submit to the project and maybe alter it slightly.
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Alexander Hall
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Janne Johansson
- Re: if I were to make a pkg-add diff Kamil CholewiĆski
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Peter Hessler
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Eric Furman
- Re: if I were to make a pkg-add diff Stuart Henderson
- Re: if I were to make a pkg-add diff Erling Westenvik
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Christoph R. Murauer
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Stuart Henderson
- Re: if I were to make a pkg-add diff Luke Small
- Re: if I were to make a pkg-add diff Michael Lambert