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
commit030685f07e8fcfabfe0561d11ecacb20a3803e22 (patch)
treec4a8d9ae9b868abbbe2deba585dc05c3b3b484c3 /pkgtools/libkver/INSTALL
parente2bdc98390a853871d8c3625d7d3f1663b2e9e00 (diff)
downloadpkgsrc-030685f07e8fcfabfe0561d11ecacb20a3803e22.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