Subject: CVS commit: basesrc/distrib/sets
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 02/27/2002 12:51:48
Module Name:	basesrc
Committed By:	lukem
Date:		Wed Feb 27 10:51:48 UTC 2002

Modified Files:
	basesrc/distrib/sets: Makefile maketars
Added Files:
	basesrc/distrib/sets: getdirs.awk

Log Message:
Fixes to allow unprivileged building of the binary tar files to
contain the correct permissions.

Makefile:
- set SETSENV to the list of variables we wish to pass to each shell
  script and use that, rather than duplicating the effort below
- call maketars with "-M ${METALOG}" if UNPRIVED is set.

getdirs.awk:
- takes a list of filenames and outputs the list along with all the
  directories used by those filenames

maketars:
- support "-M metalog"
- merge etc/mtree/NetBSD.dist with the "-M metalog" for use in the tgz build
- for a given set, find the union between the set list and the metalog
  generated above and use that as the list of files to ${PAX} up as the
  tgz file.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/distrib/sets/Makefile
cvs rdiff -r0 -r1.1 basesrc/distrib/sets/getdirs.awk
cvs rdiff -r1.17 -r1.18 basesrc/distrib/sets/maketars

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