summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2016-06-10 21:20:51 +0000
committerrillig <rillig@pkgsrc.org>2016-06-10 21:20:51 +0000
commit4d9c103ed6d8462e571d03014184bc7adbb02fb0 (patch)
tree2d10bb16bbe866e149d0b5c783967b61f793e1fe /doc/guide
parenta79a8287a3b1c4dfe3caa03982545bc39ca9c7d7 (diff)
downloadpkgsrc-4d9c103ed6d8462e571d03014184bc7adbb02fb0.tar.gz
Replaced ROOT_USER with REAL_ROOT_USER for special file permissions.
See http://mail-index.netbsd.org/pkgsrc-changes/2016/05/17/msg140804.html
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/pkginstall.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/guide/files/pkginstall.xml b/doc/guide/files/pkginstall.xml
index 1b95263161d..83a429b1401 100644
--- a/doc/guide/files/pkginstall.xml
+++ b/doc/guide/files/pkginstall.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: pkginstall.xml,v 1.19 2014/06/10 15:09:42 joerg Exp $ -->
+<!-- $NetBSD: pkginstall.xml,v 1.20 2016/06/10 21:20:51 rillig Exp $ -->
<chapter id="pkginstall"> <?dbhtml filename="pkginstall.html"?>
<title>The pkginstall framework</title>
@@ -102,7 +102,11 @@ directories anywhere in the file system:</para>
to be destroyed by the installation scripts. The difference between
the two is that the latter prompts the administrator to remove any
directories that may be left after deinstallation (because they were
- not empty), while the former does not.</para>
+ not empty), while the former does not. Example:</para>
+
+<programlisting>
+MAKE_DIRS+= ${VARBASE}/foo/private
+</programlisting>
</listitem>
<listitem>
@@ -114,7 +118,8 @@ directories anywhere in the file system:</para>
numerical mode. For example:</para>
<programlisting>
-MAKE_DIRS_PERMS+= ${VARBASE}/foo/private ${ROOT_USER} ${ROOT_GROUP} 0700
+MAKE_DIRS_PERMS+= ${VARBASE}/foo/private \
+ ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
</programlisting>
<para>The difference between the two is exactly the same as their
@@ -164,7 +169,8 @@ installation prefix:</para>
this order. For example:</para>
<programlisting>
-REQD_FILES_PERMS+= ${PREFIX}/share/somefile ${VARBASE}/somefile ${ROOT_USER} ${ROOT_GROUP} 0700
+REQD_FILES_PERMS+= ${PREFIX}/share/somefile ${VARBASE}/somefile \
+ ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
</programlisting>
<para>The difference between the two is exactly the same as their