Module Name:    src
Committed By:   nia
Date:           Sat Aug 15 14:42:02 UTC 2020

Modified Files:
        src/share/man/man8: afterboot.8

Log Message:
afterboot.8: Use cdn. Don't be arch specific. Requested by leot.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/share/man/man8/afterboot.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man8/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.67 src/share/man/man8/afterboot.8:1.68
--- src/share/man/man8/afterboot.8:1.67	Sat Aug 15 13:49:09 2020
+++ src/share/man/man8/afterboot.8	Sat Aug 15 14:42:02 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.67 2020/08/15 13:49:09 nia Exp $
+.\"	$NetBSD: afterboot.8,v 1.68 2020/08/15 14:42:02 nia Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, [email protected]
@@ -904,14 +904,14 @@ The
 .Nx
 packages collection, pkgsrc, includes a large set of third-party software.
 A lot of it is available as binary packages that you can download from
-.Lk https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/
+.Lk https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/
 or a mirror.
 .Pp
 For most users, using pkgin to manage binary packages is recommended.
 .Pp
 To install pkgin, if it was not done by the installer:
 .Bd -literal -offset indent
-.Ic export PKG_PATH=https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/9.0/amd64/All
+.Ic export PKG_PATH=https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -r | cut -d_ -f1)/$(sysctl -n hw.machine_arch)/All
 .Ic pkg_add pkgin
 .Ic pkgin update
 .Ic pkgin install bash mpg123 fluxbox ...

Reply via email to