Subject: CVS commit: pkgsrc/pkgtools/pkglint
To: None <>
From: Andrew Brown <>
List: pkgsrc-changes
Date: 01/24/2003 17:00:42
Module Name:	pkgsrc
Committed By:	atatat
Date:		Fri Jan 24 15:00:42 UTC 2003

Modified Files:
	pkgsrc/pkgtools/pkglint: Makefile
	pkgsrc/pkgtools/pkglint/files: lintpkgsrc.1

Log Message:
Add -E and -I to lintpkgsrc for the "exporting" and "importing" of a
"database" that lintpkgsrc can use in lieu of scanning all the pkgsrc

This has several nice effects, chiefly:

(1) Using any of -B, -O, -R, -S, -V, -d, -g, -i, -p, or -u, are now
*much* faster since reading the "database" takes at most 3 seconds on
my laptop, whereas reading all the Makefiles takes at least 3 minutes.

(2) One can now check for out-of-date packages on machines which do
not have an expanded pkgsrc tree simply by copying the "database"
over.  Note that the database will inherently have some dependencies
on the environment of machine where it is generated (eg, mk.conf
settings, architecture type, etc).

Reviewed by the wiz.

To generate a diff of this commit:
cvs rdiff -r1.148 -r1.149 pkgsrc/pkgtools/pkglint/Makefile
cvs rdiff -r1.22 -r1.23 pkgsrc/pkgtools/pkglint/files/lintpkgsrc.1
cvs rdiff -r1.74 -r1.75 pkgsrc/pkgtools/pkglint/files/

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