Hi misc@, (Sent here instead of bugs@ in case I'm missing something obvious.)
The pkg_add(1) man page claims the default path (if [TRUSTED_]_PKG_PATH are unset) is "./:installpath", where "‘installpath’ refers to the contents of installurl(5)".
As far as I can tell, the default path is actually something like "(content of /etc/installurl)/%c/packages/%a", or perhaps something involving %m.
Is this an error in the man page, or did I miss something? (And why is there a "./" before ":installpath"?)
(It would be nice if the pkg_add man page, and maybe https://www.openbsd.org/faq/faq15.html , said prominently that the packages downloaded depend on the OpenBSD flavour you have installed. I was trying to figure out whether that was the case or whether it just downloads "latest" packages by default whether or not I'm on a release. Neither page seems to give a straightforward answer. Eventually I figured it out by looking at the output of pkg_info.)
-- James (previously jc...@cs.berkeley.edu)