Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: David Sainty <dsainty@netbsd.org>
List: pkgsrc-changes
Date: 10/20/2007 06:57:17
Module Name:	pkgsrc
Committed By:	dsainty
Date:		Sat Oct 20 06:57:17 UTC 2007

Modified Files:
	pkgsrc/mk: unprivileged.mk

Log Message:
Allow a package to use its custom group so long as the group is in the
(new) UNPRIVILEGED_GROUPS list.

In addition, the value of UNPRIVILEGED_GROUPS is defaulted to all the
groups the installing user is a member of, in a similar mold to
UNPRIVILEGED_GROUP and UNPRIVILEGED_USER.

This allows non-root installations of packages that have special group
requirements but no special user requirements, so long as the installation
user has been given the necessary group membership.

Raised on tech-pkg @ 2007/10/14.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/mk/unprivileged.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.