summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2010-03-10 15:01:42 +0000
committerrillig <rillig@pkgsrc.org>2010-03-10 15:01:42 +0000
commitf342cbf2556a22304f35ebb68d8a139e972c10cd (patch)
tree0956435e9100729e5caea5a0e0a16b9dad53d3a5 /mk
parent2a1126ec4be35674b1fc267cef5a75c3533641a3 (diff)
downloadpkgsrc-f342cbf2556a22304f35ebb68d8a139e972c10cd.tar.gz
Clarified the documentation.
Diffstat (limited to 'mk')
-rw-r--r--mk/pkginstall/bsd.pkginstall.mk21
1 files changed, 13 insertions, 8 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk
index b7f2081f95e..f0b9a98183c 100644
--- a/mk/pkginstall/bsd.pkginstall.mk
+++ b/mk/pkginstall/bsd.pkginstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.46 2008/03/04 06:51:41 jlam Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.47 2010/03/10 15:01:42 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and implements the
# common INSTALL/DEINSTALL scripts framework. To use the pkginstall
@@ -356,13 +356,18 @@ su-create-usergroup: ${_INSTALL_USERGROUP_UNPACKER}
# SPECIAL_PERMS are lists that look like:
# file user group mode
-# At post-install time, file (it may be a directory) is changed to be
-# owned by user:group with mode permissions. If a file pathname
-# is relative, then it is taken to be relative to ${PREFIX}.
-#
-# SPECIAL_PERMS should be used primarily to change permissions of files or
-# directories listed in the PLIST. This may be used to make certain files
-# set-uid or to change the ownership or a directory.
+# At post-install time, <file> (it may be a directory) is changed
+# to be owned by <user>:<group> with <mode> permissions. If a file
+# pathname is relative, then it is taken to be relative to ${PREFIX}.
+#
+# SPECIAL_PERMS should be used primarily to change permissions of
+# files or directories listed in the PLIST. This may be used to
+# make certain files set-uid or to change the ownership or a
+# directory.
+#
+# Note that when USE_DESTDIR is in effect, the special permissions
+# are not directly recorded (as file attributes) in the binary
+# package file.
#
# SETUID_ROOT_PERMS is a convenience definition to note an executable is
# meant to be setuid-root, and should be used as follows: