pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Do not attempt to modify /etc/shells as a regular u...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ead24f168f2
branches: trunk
changeset: 498439:1ead24f168f2
user: reed <reed%pkgsrc.org@localhost>
date: Mon Aug 22 17:13:28 2005 +0000
description:
Do not attempt to modify /etc/shells as a regular user.
Also set PKG_CREATE_USERGROUP with = instead of ?=.
diffstat:
mk/unprivileged.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 31c35085548a -r 1ead24f168f2 mk/unprivileged.mk
--- a/mk/unprivileged.mk Mon Aug 22 16:19:45 2005 +0000
+++ b/mk/unprivileged.mk Mon Aug 22 17:13:28 2005 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index