Subject: CVS commit: pkgsrc/mk/package
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 10/08/2006 20:31:38
Module Name:	pkgsrc
Committed By:	rillig
Date:		Sun Oct  8 20:31:38 UTC 2006

Modified Files:
	pkgsrc/mk/package: bsd.package.mk package.mk

Log Message:
Added a new variable MAKE_PACKAGE_AS_ROOT that controls whether the
package needs to be packed by root or whether the unprivileged user can
do that as well. Most packages don't need root privileges, but the
default value is nevertheless "yes" to not break too many existing
packages.

pkgsrc users are encouraged to add the following to their mk.conf:

    MAKE_PACKAGES_AS_ROOT?= no

The "?=" operator here is important because after the testing phase,
this variable is only intended to be set by packages. If "=" would be
used instead, packages could not override the value.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/package/bsd.package.mk
cvs rdiff -r1.15 -r1.16 pkgsrc/mk/package/package.mk

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