aboutsummaryrefslogtreecommitdiff
path: root/packages/devmatch
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-04-24 14:10:01 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-04-24 14:10:01 +0000
commitbb75b0d581f74e22a68d7868ad1f5da1146a8de0 (patch)
tree64488910bce6ab92c29a78b54010f773e3ab994b /packages/devmatch
parent75c66218401c00f4728d5312e2b933b8d3aefde1 (diff)
Diffstat (limited to 'packages/devmatch')
-rw-r--r--packages/devmatch/Makefile8
-rw-r--r--packages/devmatch/devmatch.ucl25
2 files changed, 33 insertions, 0 deletions
diff --git a/packages/devmatch/Makefile b/packages/devmatch/Makefile
new file mode 100644
index 000000000000..21bced815eed
--- /dev/null
+++ b/packages/devmatch/Makefile
@@ -0,0 +1,8 @@
+WORLDPACKAGE= devmatch
+SUBPACKAGES= dbg dev man
+COMPAT_PKGS= dbg dev lib
+
+# devmatch is not applicable to jails.
+PKG_SETS= minimal
+
+.include <bsd.pkg.mk>
diff --git a/packages/devmatch/devmatch.ucl b/packages/devmatch/devmatch.ucl
new file mode 100644
index 000000000000..501e6fc1e9af
--- /dev/null
+++ b/packages/devmatch/devmatch.ucl
@@ -0,0 +1,25 @@
+/*
+ * SPDX-License-Identifier: ISC
+ *
+ * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+comment = "Automatically load kernel drivers for attached hardware"
+
+desc = <<EOD
+The devmatch(8) utility is used to load kernel drivers for hardware attached to
+the running system. devmatch(8) is started at boot by rc(8), and during system
+operation by devd(8) when new hardware is attached to the system.
+EOD