[patch] Incredible speedup of pkg_add/pkg_delete!

Pav Lucistnik pav at FreeBSD.org
Fri Apr 4 08:01:24 UTC 2008


Here is a patch that greatly speeds up package dependency
registration/deregistration on install/deinstall, especially for
packages with huge numbers of dependencies.

I plan to commit it to -CURRENT in a week. I'd like to get some reviews
and wider testing exposure before I do that.

Instructions:

1) pull down src/usr.sbin/pkg_install from cvs HEAD
2) patch it with http://people.freebsd.org/~pav/origin-matching.diff
3) make install clean
4) test test test

PS you might need to stick MK_OPENSSL=yes into Makefile.inc

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Squish. Larger than the normal icky things, and twice as icky.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080404/a9e38a74/attachment.pgp


More information about the freebsd-ports mailing list