Hi all, I ported Stuart's confcache patch from portage .50 to .51_rc7 (hope cvs head isn't too different...). I also made a few changes and fixes - see attached changelog if you used the orig patch. What this does: it keeps a central cache for autoconf-generated configure scripts in /var/tmp. When econf is called, it checks the cache's validity against a list of files & md5sums. If any files have changed, the entire cache is cleared. During configure's run, the sandbox logs all files accessed. There is a small patch to libsandbox.c, unchanged from Stuart's version, to allow this. Then, the file/md5sum list is updated. The sandbox log then has to be manually fixed up to remove these entries. Ebuild-side: FEATURES+=confcache enables this. Either use econf, or call confcache_start and confcache_stop before and after your configure run. confcache_start adds the --with-cache=foo parameter to $ECONF_EXTRA; pass that to configure. Embedded people: I've been asked to keep a separate cache for every combination of $CHOST, $CBUILD, $THOST. Please confirm that's how you want it. Myself, I need it to speed up the upcoming split kde ebuilds (eg separate ebuilds for konqueror etc rather than one big kdebase ebuild). Stuart, I hope you're ok with my changes. Basically they just consist of updating the patch for the new version's ebuild.sh and fixing a couple of bugs. Comments welcome (my first patch to portage, hope it works :-). Credit goes to Stuart, really. -- Dan Armak Gentoo Linux developer (KDE) Matan, Israel Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951