summaryrefslogtreecommitdiff
path: root/pkgtools/libkver/INSTALL
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-12-13 17:45:59 +0000
committerseb <seb@pkgsrc.org>2003-12-13 17:45:59 +0000
commit6c9b1b3c9a6542cec3895aaf9857385e3f59d2e4 (patch)
treec4a8d9ae9b868abbbe2deba585dc05c3b3b484c3 /pkgtools/libkver/INSTALL
parent92b0ce7f2701bd37ff5f65871c06bb379abea0ec (diff)
downloadpkgsrc-6c9b1b3c9a6542cec3895aaf9857385e3f59d2e4.tar.gz
Update to version 0.4.
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.
Diffstat (limited to 'pkgtools/libkver/INSTALL')
-rw-r--r--pkgtools/libkver/INSTALL12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgtools/libkver/INSTALL b/pkgtools/libkver/INSTALL
new file mode 100644
index 00000000000..8e39a5ea3e0
--- /dev/null
+++ b/pkgtools/libkver/INSTALL
@@ -0,0 +1,12 @@
+# $NetBSD: INSTALL,v 1.1 2003/12/13 17:45:59 seb Exp $
+
+HAS_SYSCTL=@HAS_SYSCTL@
+
+case ${STAGE} in
+POST-INSTALL)
+ if ${HAS_SYSCTL}; then
+ ${MV} /sbin/sysctl /sbin/sysctl.pre-${PKGBASE} && \
+ ${CP} -p ${PKG_PREFIX}/sbin/sysctl /sbin/sysctl && \
+ ${ECHO} "/sbin/sysctl has been moved as /sbin/sysctl.pre-${PKGBASE}"
+ fi
+esac