freebsd-dev/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
..
add.h Add -i option for package installation without fetching and 2007-11-10 09:40:39 +00:00
extract.c Fix pkg_add behaviour to preserve pathnames. 2007-08-23 13:05:10 +00:00
futil.c - pkg_add spawns itself as argv[0] when installing dependent packages, to 2004-06-29 19:06:42 +00:00
main.c Sync list of directories to look for packages in to current releases 2008-02-26 14:35:01 +00:00
Makefile Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this. 2004-08-12 20:06:01 +00:00
perform.c Optimize package registration/deregistration. Previously, when looking up the 2008-04-11 08:26:06 +00:00
pkg_add.1 Introduce -i to SYNOPSIS, forgotten by krion@. 2008-02-08 14:00:01 +00:00