CFT: repository for kernel modules: pkg-version(8)

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Sat, 14 Dec 2024 10:38:25 UTC
On 14/12/2024 01:36, Kevin Oberman wrote:
> …
>
> What about 'pkg version'? I am running main from late October (soon to 
> be updated), but 'pkg version' shows all three of my -kmod ports out 
> of date (1500026 vs. 1500029), thigh "updating" them simply reinstalls 
> the existing build (26), as it should.


With RELEASE:

root@fourteen-pkgbase:~ # pkg iinfo drm-61-kmod
pkg: No package(s) matching drm-61-kmod
root@fourteen-pkgbase:~ # pkg install --y -q -r FreeBSD-ports drm-61-kmod
=====
Message from drm-61-kmod-6.1.92:

--
The drm-61-kmod port can be enabled for amdgpu (for AMD
GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
APUs starting with HD3000 / Sandy Bridge) through kld_list in
/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
some positive reports if EFI boot is NOT enabled.

For amdgpu: kld_list="amdgpu"
For Intel: kld_list="i915kms"
For radeonkms: kld_list="radeonkms"

Please ensure that all users requiring graphics are members of the
"video" group.
root@fourteen-pkgbase:~ # pkg version -vRL=
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
Updating local-poudriere repository catalogue...
local-poudriere repository is up to date.
All repositories are up to date.
FreeBSD-ftpd-14.2                  <   needs updating (remote has 20240719)
firefox-esr-128.5.1,1              <   needs updating (remote has 128.5.2,1)
root@fourteen-pkgbase:~ # pkg search -r FreeBSD-kmods drm-61-kmod
drm-61-kmod-6.1.92.1402000_3   DRM drivers modules
root@fourteen-pkgbase:~ # freebsd-version -kru ; uname -bmvKU
14.2-RELEASE
14.2-RELEASE
14.2-RELEASE
FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64 
1402000 1402000 4f83741c36da87fe6226d4043930a4ea79801b8e
root@fourteen-pkgbase:~ # pkg -vv | grep -B 1 -e url -e priority
   FreeBSD-ports: {
     url             : 
"pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly",
     enabled         : yes,
     priority        : 0,
--
   FreeBSD-base: {
     url             : 
"pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/base_release_2",
     enabled         : yes,
     priority        : 0,
--
   FreeBSD-kmods: {
     url             : 
"pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/kmods_quarterly_2",
     enabled         : yes,
     priority        : 5,
--
   local-poudriere: {
     url             : 
"file:///usr/local/poudriere/data/packages/fourteen-default",
     enabled         : yes,
     priority        : 3
root@fourteen-pkgbase:~ # pkg iinfo pkg
FreeBSD-pkg-bootstrap-14.2
FreeBSD-pkg-bootstrap-dbg-14.2
FreeBSD-pkg-bootstrap-man-14.2
pkg-1.21.3
pkg-provides-0.7.4
pkgconf-2.3.0,1
root@fourteen-pkgbase:~ #