aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kldpatch
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2009-01-12 22:56:28 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2009-01-12 22:56:28 +0000
commitbe8ff57cd20cf986c58ca8da022364ec51f57efd (patch)
tree4b00494d7af546b9bf9d21a6ae22f53957bb2cf2 /sysutils/kldpatch
parent3395329ee5254c8ec2d4792936e12b5378a2981b (diff)
downloadports-be8ff57cd20cf986c58ca8da022364ec51f57efd.tar.gz
ports-be8ff57cd20cf986c58ca8da022364ec51f57efd.zip
The kldpatch utility can print or alter the content of device/quirk tables
in kernel modules. These tables are generally used to identify devices, and possibly apply specific quirks to enable/disable certain features. Kldpatch is especially useful to let the kernel recognise a new device without rebooting and rebuilding/reinstalling kernel or modules. WWW: http://info.iet.unipi.it/~luigi/FreeBSD/ Note - this may be worth importing in the base system, however we still need it as a port for older OS releases.
Notes
Notes: svn path=/head/; revision=225891
Diffstat (limited to 'sysutils/kldpatch')
-rw-r--r--sysutils/kldpatch/Makefile27
-rw-r--r--sysutils/kldpatch/distinfo3
-rw-r--r--sysutils/kldpatch/pkg-descr8
3 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/kldpatch/Makefile b/sysutils/kldpatch/Makefile
new file mode 100644
index 000000000000..87c8e4b76032
--- /dev/null
+++ b/sysutils/kldpatch/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: kldpatch
+# Date created: 9 January 2009
+# Whom: luigi@freebsd.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= kldpatch
+PORTVERSION= 20090112
+CATEGORIES= sysutils
+MASTER_SITES= http://info.iet.unipi.it/~luigi/FreeBSD/
+DISTNAME= ${PORTVERSION}-${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= luigi@FreeBSD.org
+COMMENT= Utility to patch modules and kernel
+
+MAN8= kldpatch.8
+PLIST_FILES= sbin/kldpatch
+
+WRKSRC=${WRKDIR}/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${PREFIX}/man/man8
+
+.include <bsd.port.mk>
diff --git a/sysutils/kldpatch/distinfo b/sysutils/kldpatch/distinfo
new file mode 100644
index 000000000000..08dd101041a8
--- /dev/null
+++ b/sysutils/kldpatch/distinfo
@@ -0,0 +1,3 @@
+MD5 (20090112-kldpatch.tgz) = 1ed1f74d15a7ecac3c1e944754db94ca
+SHA256 (20090112-kldpatch.tgz) = 1ff5f94b066e67bc81b0a2eeb91aaef8b0a5aa52a8c899a89281df12d361b1ef
+SIZE (20090112-kldpatch.tgz) = 17248
diff --git a/sysutils/kldpatch/pkg-descr b/sysutils/kldpatch/pkg-descr
new file mode 100644
index 000000000000..9918233958cb
--- /dev/null
+++ b/sysutils/kldpatch/pkg-descr
@@ -0,0 +1,8 @@
+The kldpatch utility can print or alter the content of device/quirk tables
+in kernel modules. These tables are generally used to identify devices,
+and possibly apply specific quirks to enable/disable certain features.
+
+Kldpatch is especially useful to let the kernel recognise a new device
+without rebooting and rebuilding/reinstalling kernel or modules.
+
+WWW: http://info.iet.unipi.it/~luigi/FreeBSD/