commit fb1dfc8f99625045e1204f1b4aafec3dc6223adc
parent 0f2c844c59191adea2bd6cf4cd5057323a250053
Author: torter <koubbamohamedrayan@gmail.com>
Date: Sat, 14 Nov 2026 23:17:38 +0000
handbook: ftp.netbsd.org
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/handbook/handbook.md b/handbook/handbook.md
@@ -102,12 +102,12 @@ Let mag fetch a pkgsrc tree from NetBSD and unpack it into `/usr/pkgsrc`:
mag sync
-`sync` downloads `https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.xz` and replaces the tree with it, so it is also how
+`sync` downloads `https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.xz` and replaces the tree with it, so it is also how
the tree is brought up to date. `MAG_SYNC_URL` names another file, and under `MAG_ROOT` the tree goes into `$MAG_ROOT/usr/pkgsrc`.
By hand it is the same thing:
cd /usr
- ftp -o pkgsrc.tar.xz https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.xz
+ ftp -o pkgsrc.tar.xz https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.xz
tar -xf pkgsrc.tar.xz
pkgsrc has a directory per category (`shells`, `editors`, `www`, ...) and a directory per package inside it