Subject: last point for non-root pkgsrc
To: None <>
From: julien Touche <>
List: tech-pkg
Date: 01/29/2003 14:06:07

i've managed to install and test pkgsrc as non-root
but there are a few files, i have to modify at hand (maybe a --user 
bootstrap option in future might be interesting).

last, when trying to install software, it tries to su root
so i had to change $base/pkgsrc/mk/

#ROOT_CMD?=             ${SU} - www -c
ROOT_CMD?=              ssh www@localhost
ROOT_GROUP?=            www
ROOT_USER?=             www

i must enter a ROOT_CMD (cannot be empty; but there is no test if we are 
the "ROOT_USER" ...)

someone know a better cmd than ssh
bmake said i'm "root" (have to change other files ?) but there is one 
===>  Warning: your umask is "00".

and there are some perms which are bad (nothing fatal :).

a little question: is there is any pkg build with pkgsrc (like openbsd 
ports) ? or the only way to have binary packages is pkg_create ?