diff options
author | reed <reed@pkgsrc.org> | 2005-08-22 17:13:28 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-08-22 17:13:28 +0000 |
commit | 17c4d72e54ec0a48ecae2e504d7d155afd772c35 (patch) | |
tree | ea95eb13b7ca94146772e2c8c8efa7740fbdc723 /mk/unprivileged.mk | |
parent | 48f1a9ead0253d90feb51a7049ef27c111c93cbd (diff) | |
download | pkgsrc-17c4d72e54ec0a48ecae2e504d7d155afd772c35.tar.gz |
Do not attempt to modify /etc/shells as a regular user.
Also set PKG_CREATE_USERGROUP with = instead of ?=.
Diffstat (limited to 'mk/unprivileged.mk')
-rw-r--r-- | mk/unprivileged.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/unprivileged.mk b/mk/unprivileged.mk index 7baf511ed7b..ac7924ac3b9 100644 --- a/mk/unprivileged.mk +++ b/mk/unprivileged.mk @@ -1,4 +1,4 @@ -# $NetBSD: unprivileged.mk,v 1.1 2005/05/29 17:12:16 jmmv Exp $ +# $NetBSD: unprivileged.mk,v 1.2 2005/08/22 17:13:28 reed Exp $ # # Ease configuration of unprivileged (non-root) builds. # @@ -46,11 +46,14 @@ NO_MTREE= # defined # As a regular user, creation of other users and groups won't work, so # disable this step by default. -PKG_CREATE_USERGROUP?= NO +PKG_CREATE_USERGROUP= NO # Override commands that won't work as a regular user. CHGRP= ${TRUE} CHOWN= ${TRUE} SU_CMD= ${SH} -c +# Do not attempt to modify /etc/shells as a regular user. +PKG_REGISTER_SHELLS= NO + .endif |