diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-05-29 17:20:54 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-05-29 17:20:54 +0000 |
commit | 7d79e82e9fb53dad69cc93c91e7e97474b2e6ecf (patch) | |
tree | b882f1d654c9583536bd094738aa18ae91bc0c7e /doc/pkgsrc.txt | |
parent | 4d4e37d356578e5d974935bc195cf7fc5e737786 (diff) | |
download | pkgsrc-7d79e82e9fb53dad69cc93c91e7e97474b2e6ecf.tar.gz |
Re-generate.
Diffstat (limited to 'doc/pkgsrc.txt')
-rw-r--r-- | doc/pkgsrc.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt index fe1283b756c..dea270dc53d 100644 --- a/doc/pkgsrc.txt +++ b/doc/pkgsrc.txt @@ -1664,7 +1664,20 @@ Utilities for people maintaining pkgsrc (or more obscure pkg utilities) 6.4. How to use pkgsrc as non-root If you want to use pkgsrc as non-root user, you can set some variables to make -pkgsrc work under these conditions. Please see this message for more details. +pkgsrc work under these conditions. At the very least, you need to set +UNPRIVILEGED to "yes"; this will turn on unprivileged mode and set multiple +related variables to allow installation of packages as non-root. + +In case the defaults are not enough, you may want to tune some other variables +used. For example, if the automatic user/group detection leads to incorrect +values (or not the ones you would like to use), you can change them by setting +UNPRIVILEGED_USER and UNPRIVILEGED_GROUP respectively. + +As regards bootstrapping, please note that the bootstrap script will ease +non-root configuration when given the "--ignore-user-check" flag, as it will +choose and use multiple default directories under ~/pkg as the installation +targets. These directories can be overriden by the "--prefix" flag provided by +the script, as well as some others that allow finer tuning of the tree layout. 6.5. How to resume transfers when fetching distfiles? |