2014-05-18 23:31:21 UTC
This updates the apropos database (for 'man -k').
On an system with an existing man database this will stat(2) every manpage
and update /var/db/man.db (an around 18MB sqlite database on a new amd64
system, maybe around 40MB on the same system with a reasonable selection of
On a modern system rich in disk, memory and CPU this is unnoticeable. On a
slower system (mac68k, vax, embedded 486), this renders the system
effectively unusable for some time.
Given that makemandb is run nightly and weekly by cron anyway, it would
probably be best for those systems to not have makemandb run on boot.
My first thought would be to allow setting it in sysinst, with a per port -
default on for i386, amd64, modern (arm, powerpc, mips), off for others.
What do people think?