1) it doesn't handle prelink, which portage does. 2) it crashes unpleasantly when a file is missing (error message, please? )
*plonk*
Created attachment 21951 [details, diff] chkcontents.patch Should fix the "crash if file doesn't exist" problem.
CCing Nick since I'm pretty sure that I don't have cvs access to the portage sources.
Used portage.perform_checksum instead.
long fixed