[pacman-dev] pkgsum - Checksum package files against installed files

Andre "Osku" Schmidt andre.osku.schmidt at googlemail.com
Fri Nov 5 15:48:29 CET 2010


Hello,

once upon a time someone at #archlinux did `make install` and i wanted
to know if it overwrote any system files (cause it was not /usr/local
he used). so i hacked this little script to checksum files in package
against installed files. and today someone even wanted this kind of
tool at the channel, and lastly allanmademeposthere :P

Usage: pkgsum <packagename>

it also reads a lazy VERBOSE variable:
0 (default) = print only results
1 = print also not matching checksums
2 = print also all files

if anyone finds bugs, improvements, etc. please fix it! :P

cheers
.andre

ps. i dont think that pkgsum fits as name 100% but for now its
sufficient enough for me (tm)


More information about the pacman-dev mailing list