Checking Installed Ports

Warren Block wblock at wonkity.com
Fri Apr 4 23:00:31 UTC 2014


On Fri, 4 Apr 2014, Warren Block wrote:

> 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?

I forgot to mention portmaster --check-depends, although I'm not 
positive it works with pkgng.


More information about the freebsd-ports mailing list