machine, and machine_arch. Add a helper script to simplify use of
libkver. Set VERSION=0.7.
An earlier version of this change was reviewed by seb@NetBSD.org.
o Instead of returning an error, pass the control to the actual call. This
avoids a failure in make because of broken uname() when libkver is used.
OK'd by seb@.
Libkver is now run-time configurable, see installed kver(3), it now
installs in LOCALBASE and uses install/deinstall scripts to replace/restore
/sbin/sysctl if needed.
This package provides a shared library and a replacement for
sysctl(1) (when needed i.e. when the original one is statically linked)
so that the real version numbers and strings of the running NetBSD
kernel as returned by sysctl(3) and uname(3) are overridden by
those fixed during compilation.
This is useful for -among other things- building packages in
sandboxed/chrooted environment for a different NetBSD release than the
system hosting the sandbox/chroot.