Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: pkgsrc-changes
Date: 07/23/2003 09:41:33
Module Name:	pkgsrc
Committed By:	dmcmahill
Date:		Wed Jul 23 09:41:30 UTC 2003

Modified Files:
	pkgsrc: Makefile
	pkgsrc/mk: bsd.pkg.mk
Added Files:
	pkgsrc/mk/scripts: genindex.awk

Log Message:
rework the INDEX file generation.  The new approach speeds up things by
several orders of magnitude and 'make index' now takes 30 minutes or so
instead of several days on my test machine.  The approach now is to take
one pass through every package and extract some key information including
the explicitly listed dependencies.  After the data is extracted, the
dependencies are flattened in one step which avoids the extremely
inefficient recursive make that was previously used.


To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 pkgsrc/Makefile
cvs rdiff -r1.1220 -r1.1221 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/scripts/genindex.awk

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