aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/kldpatch/Makefile27
-rw-r--r--sysutils/kldpatch/distinfo3
-rw-r--r--sysutils/kldpatch/pkg-descr8
4 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 06c7627152e1..519d3420867c 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -367,6 +367,7 @@
SUBDIR += kkeyled
SUBDIR += klaptopdaemon
SUBDIR += kldfind
+ SUBDIR += kldpatch
SUBDIR += kleansweep
SUBDIR += klineakconfig
SUBDIR += kmilo
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/