Subject: CVS commit: src/usr.sbin/veriexecgen
To: None <source-changes@NetBSD.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 12/19/2006 21:21:28
Module Name:	src
Committed By:	agc
Date:		Tue Dec 19 21:21:28 UTC 2006

Modified Files:
	src/usr.sbin/veriexecgen: veriexecgen.8 veriexecgen.c

Log Message:
+ some minor cosmetic changes

+ rather than using global variables, accessed all over the place, create
a local structure, and pass it down.

+ add a -p argument to denote a prefix, so that it's possible to record
a different directory hierarchy from the one that was scanned.  One
typical use would be:

	# ./veriexecgen -v -d /usr/dest/i386 -a -p /usr/dest/i386 -r -o fingers

to create a fingerprint database called fingers from the files located
in the /usr/dest/i386 hierarchy, but without the leading /usr/dest/i386
prefix:

	# Generated by agc, Tue Dec 19 13:10:34 2006
	/bin/domainname SHA256 12622c8f3698e51f090abf84ce81aaaaa1ed72135291b41a3e7d6c7b6a2a9847
	/bin/chmod SHA256 5c3f8fec48601e0eaf7f47522ad8ff9fabb442b123ada97a71de285b4f6bf658

+ make veriexecgen into a host tool


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/usr.sbin/veriexecgen/veriexecgen.8
cvs rdiff -r1.10 -r1.11 src/usr.sbin/veriexecgen/veriexecgen.c

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