Path to this page:
./
pkgtools/libkver,
Shared library and sysctl(1) replacement to override system version
Branch: pkgsrc-2011Q1,
Version: 0.6,
Package name: libkver-0.6,
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
Version history: (Expand)
- (2011-04-04) Package added to pkgsrc.se, version libkver-0.6 (created)