On 2016/02/02 22:15, Raf Czlonka wrote:
> Like I've mentioned above, I'm not particularly fond of it either.
> 
> I merely copied what was already in the FAQ - I wish you had kept the
> rest of the diff, but here is a shortened version anyway :^)

(sorry, trimming a lot here, otherwise it's harder for readers to see
the main points)

> +# export PKG_PATH=http://your.local.mirror/pub/OpenBSD/%c/packages/%a/
> 
> I only checked the latter (faq9.html) - it has been introduced over 10
> years ago and it doesn't seem like anyone complained, so naturally I
> assumed it is the "sanctioned" way of doing things.

10 years ago nobody would have predicted anybody we would have 900
vanity TLDs. But with the current state of the root zone it's highly
likely that .mirror will be delegated sometime soon (I'm surprised
it hasn't already gone), I think we should definitely not continue
to use it.

> I don't think I need to explain why I had removed ftp.openbsd.org in the
> first place.

I understand why but as an example it has the big advantage of
actually working as-is.. I'd also be reasonably happy with:

"ftp.<country>.openbsd.org"
"ftp.XX.openbsd.org"
"(your local mirror)"  (because it can't be confused with a valid hostname)

...though what I'd really like is something like "rel.openbsd.org"
that users of releases can point at, issuing http redirects pointing
at an alive server which is reasonably suitable for the user (and
pkg_add would need to cache these rather than hitting it each time).
It wouldn't work with snapshots, but by the time someone is running
snaps they should be able to take care of themselves a bit more...  

> Regards,
> 
> Raf
> 
> P.S. PKG_PATH=http://example.org/ would have been my preference.

If it was a placeholder for "any random domain" (e.g. in smtpd
config examples), I'd totally agree. 

Reply via email to