On Fri, 2003-10-10 at 14:09, Andrew Gaffney wrote: > I was looking for something that was a bit more verbose. If nothing > exists that does what I want it to do, I'll just write a Perl script > that grabs the MD5 from /var/db/pkg/*/*/CONTENTS and compares it to the > actual file. I want to be able to see the name, mtime, old size, new > size, etc. of the file that doesn't match. I'd run it as a cron job and > have it email me. I run 'emerge sync > /dev/null; emerge -upDv world; > emerge -uDf world' as a cron job once a day and have it email me the > results.
You can take a look at /usr/lib/portage/bin/chkcontents . Given a CONTENTS file it checks md5sums and symlinks. Doug -- [EMAIL PROTECTED] mailing list
