Checking Installed Ports

Warren Block wblock at wonkity.com
Fri Apr 4 22:48:11 UTC 2014


Using pkg_libchk from Dominic Fandrey's excellent 
sysutils/bsdadminscripts port has helped locate ports that needed to be 
rebuilt before they became problems.

Now there's pkg check, although I confess to not understanding the man 
page.  Some options appear to check installed packages, while others 
appear to update stored checksums to match installed files.

There's also pkg audit.

It would be nice to put together a script that checks everything that 
can possibly be checked.

So:

   pkg_libchk -o
   pkg check -s (although it produces some false positives, like
                 /compat/linux/etc/ld.so.cache)
   pkg audit -F

What else can be tested, preferably without false positives?


More information about the freebsd-ports mailing list