Subject: Re: Automatic PLIST verification
To: None <>
From: Julio M. Merino Vidal <>
List: tech-pkg
Date: 01/13/2005 17:32:37
On Thu, 2005-01-13 at 17:16 +0100, Julio M. Merino Vidal wrote:
> Hi all,
> in a recent discussion in tech-pkg@ (don't remember very well which one
> it is), it was suggested that comparing the generated PLIST to the files
> that were really installed by the package could be a good idea.
> Here is a patch that does this.  For completeness, it also checks that
> no files are deleted (something that must never happen, AFAICT).
> I've made it print the list of "unknown" files instead of redirecting
> them to a file so that this becomes useful in bulk builds.
> This is enabled iff PKG_DEVELOPER is set and CHECK_FILES is YES.

BTW, I've just extended this to also verify that neither PKG_SYSCONFBASE
nor VARBASE are touched _directly_ by packages (i.e., without using  This will help in getting cleaner binary packages.

Julio M. Merino Vidal <>
The NetBSD Project -