freebsd-src/usr.sbin/pkg_install
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 Optimize package registration/deregistration. Previously, when looking up the 2008-04-11 08:26:06 +00:00
create Backout previous commit, since it's done without maintainers 2007-12-09 11:01:58 +00:00
delete Optimize package registration/deregistration. Previously, when looking up the 2008-04-11 08:26:06 +00:00
info Backout previous commit, since it's done without maintainers 2007-12-09 11:01:58 +00:00
lib Optimize package registration/deregistration. Previously, when looking up the 2008-04-11 08:26:06 +00:00
updating Backout previous commit, since it's done without maintainers 2007-12-09 11:01:58 +00:00
version - Adjust INDEX file name to INDEX-8 so that it matches the major FreeBSD 2007-12-20 20:02:16 +00:00
Makefile Add a distfile target to generate a distfile to be used by the 2008-04-09 15:08:31 +00:00
Makefile.inc
README
tkpkg

This is the pkg_install suite of tools for doing maintainance of
software "packages".  More documentation is available in the man pages
for each individual command.

This code was written by Jordan Hubbard for FreeBSD, snatched and
mildly reshaped by John Kohl in NetBSD and the changes taken back into
FreeBSD again by Jordan, who then proceeded to add another couple
of dozen features on top.  Whee! :-)