From nobody Thu Jul 31 15:57:28 2025 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4btDHX6zF8z6404R for ; Thu, 31 Jul 2025 15:57:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4btDHX6HwZz3QYb; Thu, 31 Jul 2025 15:57:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753977448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I3Ed5GNV1DVYJ9xKdOVP8+frp0BqUjBiXhpGbJy23SQ=; b=kAnjrwh5EtSbh7cb2P5jkEbTmmmQxvLriB0Ml+eJMnMiObhF2Vs8jnfQX8wxUFY5hdvgGk UMvd0XFXNiM1QLDNJgRjGOug/jSR/rXSJojZM+gCO5o3cmJ97QLSzFo3rR3ePyKQlIrSSn VuJjuCGYjEF/yWVOtAzR2LF5pk3M5oqbgWKUikZMFMBYdsz1OGvbzKsbPZ6yy/Fq/jnVqr nWKVMlRidqzQjtzOVKWQxBeCuoWBhxb7jIUXGRCH3JW/rnh/to1knTa186cWjEUMN73Nlm Ixl00Rxxr8+VGSyQYIHWZrUw9WzXcKkp6ou/EnlX/YzUHKEreYi3r96dQgXjiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753977448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I3Ed5GNV1DVYJ9xKdOVP8+frp0BqUjBiXhpGbJy23SQ=; b=e4PnaFuR4J55qykhz/z666z9Bri+pMweC/lPevS0sYLr+KeKNYhDpw2ZobdwSVFEhOUFks G6s8knG40IUKWiOvrEkPMJYdXIsi2TWOPY8S4ecQvmMLkFuNU2n73GWHEiciHDVrN2po1I VV+l8AcCyD+7eWu+8DHhiDyP2or+7JivH5fTT6OlI3HhQDUyKycepgDzo/dlvA2CFVVjce JwXonf8i1Du9eb3IKE/dyHHBHRfe99l1btx0I8Q9LMPsZHwTWLnHtak9eK26MiEUivO502 WG7gZk1nUDPoeT0CxUghQCsyiAsjxKY8g9BLL6Cc13vy+m2qGZlwsvSB4hfH5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753977448; a=rsa-sha256; cv=none; b=UdcbAoIpem3+wVPVIN4qSf90S8lCAgj8qs4V/tB/Oxr4bjKFvd5hy88N6rFqLI5gSMlRYD w5lkVN4949l+0q1paCFvaef2emgE/Wuz1aSyHW+/7l+byHDU5y03ouZWxp/z+M9aYM+CQ0 0isjywp3uWpjI8hspmNmny+yqPYVgE8NgBOQz7N5xl+XOC/2GTrsTBWTXzZT41lNt/19rJ z/oBDCDzvwoCWuLQXt0o50bH2eNicANg1hp3V4ZXfsuhGTynU8wtfcpDkLNay518cRWClZ 2tce4r08VIsgqUXyi4tyI1YefjlALVRV1vf/+/9sE2IQFS17iTYkOPxiQmcrMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4btDHX5sJwz17hR; Thu, 31 Jul 2025 15:57:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56VFvSCa026505; Thu, 31 Jul 2025 15:57:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56VFvScL026502; Thu, 31 Jul 2025 15:57:28 GMT (envelope-from git) Date: Thu, 31 Jul 2025 15:57:28 GMT Message-Id: <202507311557.56VFvScL026502@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: afd63daac3 - main - [hb][ports]: Briefly mention kmods repositories List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: afd63daac31c57cdb117a95afa252a52a7658155 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=afd63daac31c57cdb117a95afa252a52a7658155 commit afd63daac31c57cdb117a95afa252a52a7658155 Author: Fernando ApesteguĂ­a AuthorDate: 2025-05-20 15:47:05 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2025-07-31 15:56:27 +0000 [hb][ports]: Briefly mention kmods repositories Reviewed by: bcr@ Differential Revision: https://reviews.freebsd.org/D51614 --- .../content/en/books/handbook/ports/_index.adoc | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/documentation/content/en/books/handbook/ports/_index.adoc b/documentation/content/en/books/handbook/ports/_index.adoc index ac4cf4ce70..fe7001ab82 100644 --- a/documentation/content/en/books/handbook/ports/_index.adoc +++ b/documentation/content/en/books/handbook/ports/_index.adoc @@ -211,6 +211,52 @@ Then run this command to update the local package repositories catalogues for th # pkg update -f .... +[[kmod-repository]] +=== Kernel modules repositories + +The kernel module repositories allow users to install ready to use kernel +modules like the ones used for graphic drivers and specific hardware. +Starting with FreeBSD 14.3, the FreeBSD Project provides kernel modules built +for every supported version. To create such a repository configuration if it +does not exist, add the following to [.filename]#/usr/local/etc/pkg/repos/kmods.conf#: +[source,shell] +.... +FreeBSD-kmods: { + url: "pkg+https://pkg.FreeBSD.org/${ABI}/KMODSFLAVOR", + mirror_type: "srv", + signature_type: "fingerprints", + fingerprints: "/usr/share/keys/pkg", + enabled: yes +} +.... + +`KMODSFLAVOR` respects the following pattern: `kmods_PORTBRANCH_MINORRELEASE`. + +For instance: + +.Kmodsflavor + +[options="header", cols="1,1,1"] +|=== +| FreeBSD Release | ports main | ports quarterly + +| FreeBSD 14.2-RELEASE +| kmods_latest_2 +| kmods_quarterly_2 + +| FreeBSD 14.3-RELEASE +| kmods_latest_3 +| kmods_quarterly_3 + +| FreeBSD 14.3-STABLE +| kmods_latest +| kmods_quarterly + +| FreeBSD 15.0-CURRENT +| kmods_latest +| +|=== + [[pkg-configuration]] === Configure pkg