Path to this page:
./
pkgtools/libkver,
Shared library and sysctl(1) replacement to override system version
Branch: pkgsrc-2018Q1,
Version: 0.7.2,
Package name: libkver-0.7.2,
Maintainer: sebThis 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.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.1 2003/12/13 17:45:59 seb Exp $
HAS_SYSCTL=@HAS_SYSCTL@
case ${STAGE} in
DEINSTALL)
if ${HAS_SYSCTL} && [ -f /sbin/sysctl.pre-${PKGBASE} ]; then
${RM} -f /sbin/sysctl && \
${MV} /sbin/sysctl.pre-${PKGBASE} /sbin/sysctl && \
${ECHO} "/sbin/sysctl.pre-${PKGBASE} has been restored as /sbin/sysctl"
fi
esac
Required to build:[
pkgtools/cwrappers]
Version history: (Expand)
- (2018-04-04) Package added to pkgsrc.se, version libkver-0.7.2 (created)