Subject: Re: Automatic PLIST verification
To: None <tech-pkg@NetBSD.org>
From: Lasse Kliemann <email@example.com>
Date: 01/16/2005 19:49:23
Content-Type: text/plain; charset=us-ascii
* Julio M. Merino Vidal writes:
> 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 had a similar idea recently. Since I use sepbuild-pkgsrc  for my bulk=
builds, I integrated the functionality there. It checks for missing files a=
well as for extra files (then it removes the extra files). The results of t=
checks are written in the log directory (located in the directory where you=
invoke sepbuild-pkgsrc) under log/xfiles.
Because of the privilege concept of sepbuild, no package can ever fool this=
check (be it unintentionally or intentionally/maliciously, e.g., through a=
private homepage: http://plastictree.net
NO software patents: http://swpat.ffii.org
do NOT use M$ products: http://plastictree.net/articles/noms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
-----END PGP SIGNATURE-----