BSD Ports

pkgtools/libkver 0.7.2 NetBSD

Shared library and sysctl(1) replacement to override system version

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
pkgtools
Package size
12.2 KiB, 36.4 KiB installed

Description

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 the library is configured to report.

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.

Install

Binary package:

pkgin install libkver

From pkgsrc:

cd /usr/pkgsrc/pkgtools/libkver && make install clean

Dependencies

No port depends on this one.