pfr As you can see user dave owns the entire pkgsrc directory.
But, why is distfiles
outside the pkgsrc tree? And, owned by root
instead of dave
:
drwxr-xr-x - root 6 May 20:55 î—¿ distfiles
No wonder just make
as dave
fails to download files.
What other screwiness is going on, I can't tell...
pkgsrc is very simple on NetBSD:
$ whoami
bld # separate user for building pkgs.; must be in group `wheel'
$ tar -C ~ -xf pkgsrc-2024Q1.tar.xz
$ cd ~/pkgsrc/some/package
$ make install clean # clean-depends
That should (nay, will) fetch, compile and install all of package
's deps. And ask for the root
password when privileges are needed for the install phase.