On Wed, Mar 01, 2017 at 11:16:57PM +0000, Stuart Henderson wrote: > > -# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/5.2/packages/i386/ > > +# export PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/%c/packages/%a/ > > Hmm - if you're going to trust autodetection of snapshots vs release > anyway (as you do with %c), you could simply "export > PKG_PATH=ftp.openbsd.org" ... > > Not sure which is better though.
Sounds good to me, espie@ likes it as well, and this also addresses the concern pointed by Raf Czlonka. So here is a new diff. Comments? OK? Index: share/man/man7/packages.7 =================================================================== RCS file: /cvs/src/share/man/man7/packages.7,v retrieving revision 1.40 diff -u -p -r1.40 packages.7 --- share/man/man7/packages.7 24 Oct 2015 08:44:49 -0000 1.40 +++ share/man/man7/packages.7 27 Mar 2017 19:14:12 -0000 @@ -240,7 +240,7 @@ are supported: pointing .Ev PKG_PATH to a distant package repository, e.g., .Bd -literal -offset 1n -# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/5.2/packages/i386/ +# export PKG_PATH=ftp.openbsd.org .Ed .Pp will let
