summaryrefslogtreecommitdiff
path: root/doc/pkgsrc.html
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-05-29 17:20:54 +0000
committerjmmv <jmmv@pkgsrc.org>2005-05-29 17:20:54 +0000
commit7d79e82e9fb53dad69cc93c91e7e97474b2e6ecf (patch)
treeb882f1d654c9583536bd094738aa18ae91bc0c7e /doc/pkgsrc.html
parent4d4e37d356578e5d974935bc195cf7fc5e737786 (diff)
downloadpkgsrc-7d79e82e9fb53dad69cc93c91e7e97474b2e6ecf.tar.gz
Re-generate.
Diffstat (limited to 'doc/pkgsrc.html')
-rw-r--r--doc/pkgsrc.html29
1 files changed, 26 insertions, 3 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html
index 358ce1c20dd..a906e70ea8a 100644
--- a/doc/pkgsrc.html
+++ b/doc/pkgsrc.html
@@ -4356,9 +4356,32 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<p>If you want to use pkgsrc as non-root user, you can
set some variables to make pkgsrc work under these
- conditions. Please see <a href=
- "http://mail-index.NetBSD.org/tech-pkg/2003/09/27/0023.html"
- target="_top">this message</a> for more details.</p>
+ conditions. At the very least, you need to set
+ <code class="varname">UNPRIVILEGED</code> to
+ &#8220;<span class="quote">yes</span>&#8221;; this will
+ turn on unprivileged mode and set multiple related
+ variables to allow installation of packages as
+ non-root.</p>
+
+ <p>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 <code class=
+ "varname">UNPRIVILEGED_USER</code> and <code class=
+ "varname">UNPRIVILEGED_GROUP</code> respectively.</p>
+
+ <p>As regards bootstrapping, please note that the
+ <span><strong class="command">bootstrap</strong></span>
+ script will ease non-root configuration when given the
+ &#8220;<span class=
+ "quote">--ignore-user-check</span>&#8221; flag, as it
+ will choose and use multiple default directories under
+ <code class="filename">~/pkg</code> as the installation
+ targets. These directories can be overriden by the
+ &#8220;<span class="quote">--prefix</span>&#8221; flag
+ provided by the script, as well as some others that allow
+ finer tuning of the tree layout.</p>
</div>
<div class="sect1" lang="en" xml:lang="en">