summaryrefslogtreecommitdiff
path: root/mk/unprivileged.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-02-01 08:54:53 +0000
committerrillig <rillig@pkgsrc.org>2008-02-01 08:54:53 +0000
commit3dcc70e06ac3f6c7e877d6d864229e6320802fa4 (patch)
tree0462565a2f19ab14d45eb7538a9324c30bb5c40e /mk/unprivileged.mk
parent5d720e0cfdd0653ad116305d6ebbac8962e005de (diff)
downloadpkgsrc-3dcc70e06ac3f6c7e877d6d864229e6320802fa4.tar.gz
Documented PRIVILEGED_STAGES.
Diffstat (limited to 'mk/unprivileged.mk')
-rw-r--r--mk/unprivileged.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/unprivileged.mk b/mk/unprivileged.mk
index 816835dddb2..09f3c846937 100644
--- a/mk/unprivileged.mk
+++ b/mk/unprivileged.mk
@@ -1,4 +1,4 @@
-# $NetBSD: unprivileged.mk,v 1.14 2007/10/20 06:57:17 dsainty Exp $
+# $NetBSD: unprivileged.mk,v 1.15 2008/02/01 08:54:53 rillig Exp $
#
# This file collects definitions that are useful when using pkgsrc as an
# unprivileged (non-root) user. It is included automatically by the
@@ -45,6 +45,15 @@
# XXX: How can the user say that some of the packages shouldn't override
# the user and group names?
#
+# PRIVILEGED_STAGES
+# A list of phases (not stages) that are run as the privileged
+# user. Some packages, when installed with just-in-time-su, leave
+# temporary files in the working directory, so the "clean" phase
+# must have enough priviledges to clean them up.
+#
+# Possible: clean
+# Default: (undefined)
+#
# === System-defined variables ===
#
# REAL_ROOT_USER