Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 10/05/2002 02:46:27
Module Name: pkgsrc
Committed By: jlam
Date: Fri Oct 4 23:46:27 UTC 2002
Modified Files:
pkgsrc/mk: bsd.pkg.install.mk
pkgsrc/mk/install: install
Log Message:
Add new bsd.pkg.install.mk tunable variable: SPECIAL_PERMS.
SPECIAL_PERMS are lists that look like:
file user group mode
At post-install time, file (it may be a directory) is changed to be
owned by user:group with mode permissions.
SPECIAL_PERMS should be used primarily to change permissions of files or
directories listed in the PLIST. This may be used to make certain files
set-uid or to change the ownership or a directory.
Packages that install setuid executables should list them in SPECIAL_PERMS
so that the correct user and group will be used for file ownership, even
if the uid/gid changes between the package creation and the package
installation.
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 pkgsrc/mk/bsd.pkg.install.mk
cvs rdiff -r1.14 -r1.15 pkgsrc/mk/install/install
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.