On Wed, Mar 01, 2017 at 10:39:08PM GMT, Frederic Cambus wrote:
> On Tue, Feb 28, 2017 at 09:14:49PM +0000, Stuart Henderson wrote:
> > On 2017/02/28 20:28, Frederic Cambus wrote:
> > > Hi tech@,
> > > 
> > > In packages.7, PKG_PATH points to a broken link. This diff fixes it.
> > 
> > https is going to be horrible for pkg_add -u...
> 
> Following tj@ and sthen@ suggestions, use %c and %a instead of
> hardcoding strings, and switch to http instead of https.

Hi all,

There's a small issue with the special sequences %a, %c, %m and %v.
With the removal of pkg.conf(5), these are only mentioned in
pkg_add(1) but it is not explained what they actually mean.

They're still going to be supported in the next release I take it?

Regards,

Raf

> 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 1 Mar 2017 14:28:07 -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=http://ftp.openbsd.org/pub/OpenBSD/%c/packages/%a/
>  .Ed
>  .Pp
>  will let
> 

Reply via email to