On 2018-04-13 17:09, Theo Buehler wrote:
...snip...
Looks like you'd be interested in the sysutils/sysclean package:
Comment:
list obsolete files between OpenBSD upgrades
Description:
sysclean is a script designed to help remove obsolete files between
OpenBSD
upgrades.
sysclean compares a reference root directory against the currently
installed
files, taking files from both the base system and packages into
account.
sysclean does not remove any files on the system. It only reports
obsolete
filenames or packages using out-of-date libraries.
Maintainer: Sebastien Marie <[email protected]>
WWW: https://github.com/semarie/sysclean/
Well, not quite, but close. Here are some selected lines from 160
reported:
# sysclean -a
/bsd61.rd
/bsd62.rd
/export
/usr/lib/libc.so.88.0
/usr/lib/libc.so.88.0.a
/usr/lib/libcrypto.so.38.0
....
/usr/include/struct.h
...
/etc/signify/openbsd-58-base.pub
/etc/signify/openbsd-58-fw.pub
/etc/signify/openbsd-58-pkg.pub
/etc/signify/openbsd-59-base.pub
/etc/signify/openbsd-59-fw.pub
/etc/signify/openbsd-59-pkg.pub
...
/var/nsd/etc/nsd_control.key
...
/var/unbound/unbound.log
...
Which is a mix of "only obsolete filenames", plus novel directories and
some
base files and package files and other stuff. (This machine has been
continuously upgraded since about 5.5).
Thanks for the reference though. This helps clean my disks and avoid
having
misleading .h files l(a)ying about.
John