Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 01/14/2005 14:36:31
Module Name:	pkgsrc
Committed By:	jmmv
Date:		Fri Jan 14 14:36:31 UTC 2005

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

Log Message:
Add the check-files target: when enabled, this verifies that installed
packages do not install more files than expected (nor delete existing
files), aside other sanity checks in PKG_SYSCONFDIR and VARBASE.

This behavior is only enabled if PKG_DEVELOPER is set and CHECK_FILES
is YES (the default).  Should let us catch problems in other systems,
as some packages install different files depending on the OS they are
being built (which is different to see).

Furthermore, since the sanity checks done in PKG_SYSCONFDIR and VARBASE
are quite agressive, only enable them when CHECK_FILES_STRICT is YES
(defaults to NO).  Developers should enable this feature to detect errors,
but this can't be a default yet.  Otherwise, lots of packages could be
marked broken in bulk builds (they really are, according to "cleanliness"
rules, but most of them are non-trivial to fix).


To generate a diff of this commit:
cvs rdiff -r1.1560 -r1.1561 pkgsrc/mk/bsd.pkg.mk

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