freebsd_amp_hwpstate/usr.sbin/pkg_install/add
Pav Lucistnik 42b1030bbd Optimize package registration/deregistration. Previously, when looking up the
package name for the origin of a dependency, all entries in /var/db/pkg were
traversed for each dependency of added/removed package.  Now, gather all the
origins first, then do the lookup in a single pass over /var/db/pkg.

This should provide a major speedup for packages with hundreds of dependencies.

Submitted by:	rdivacky (earlier version)
MFC after:	1 month
2008-04-11 08:26:06 +00:00
..
Makefile
add.h
extract.c
futil.c
main.c
perform.c
pkg_add.1