pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files Replaced ROOT_USER with REAL_ROOT_USER...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b70ffdbd3879
branches:  trunk
changeset: 348242:b70ffdbd3879
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jun 10 21:20:51 2016 +0000

description:
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:

 doc/guide/files/pkginstall.xml |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r a9526ec4d2cc -r b70ffdbd3879 doc/guide/files/pkginstall.xml
--- a/doc/guide/files/pkginstall.xml    Fri Jun 10 19:42:52 2016 +0000
+++ b/doc/guide/files/pkginstall.xml    Fri Jun 10 21:20:51 2016 +0000
@@ -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 @@
     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 @@
     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 @@
     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



Home | Main Index | Thread Index | Old Index