Subject: pkg/14590: lintpkgsrc -i is too slow -- shouldn't look at all Makefiles
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 11/14/2001 23:59:48
>Synopsis: lintpkgsrc -i parses every Makefile
>Arrival-Date: Thu Nov 15 00:00:01 PST 2001
>Release: not current
System: NetBSD rainier.reedmedia.net 1.5.1_BETA NetBSD 1.5.1_BETA (JCR-1.5-20010407) #0: Sat Apr 7 01:44:35 PDT 2001 reed@rainier:/usr/src/sys/arch/i386/compile/JCR-1.5-20010407 i386
"lintpkgsrc -i" does its scan_pkgsrc_makefiles and
parse_makefile_pkgsrc for every package's Makefile. I don't think this is
needed -- and is too slow. It should just get the info from
the Makefiles for only the installed packages. On my 400Mhz machine,
it took over 2 minutes.
time lintpkgsrc -i
Sorry I didn't make a patch.
It would be minor, except it doesn't know what category it is in
(because it doesn't appear that pkg_info can output the category name also).