rpm has 2 nice functions which let you - given a package, know what files will be / are installed - given a file, know to which package it belongs I miss them in portage.
see bug 11441