git: 4d5a4efedb9a - main - sysutils/cpu-microcode-rc: Update pkg-descr and pkg-message

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 20:35:36 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d5a4efedb9a6ffc05d102c8dfc155cc21800066

commit 4d5a4efedb9a6ffc05d102c8dfc155cc21800066
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-02-23 18:19:06 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-02-24 20:34:14 +0000

    sysutils/cpu-microcode-rc: Update pkg-descr and pkg-message
    
    - Note that the early loading is now available for AMD systems after
      2024-02-22 src snapshot, 34467bd76.
    - Do not refer to old port names
    - Refer to sysutils/cpu-microcode-* so we are covered if any new CPU
      microcode ports are added to the tree
    
    Reviewed by:    chs
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D44048
---
 sysutils/cpu-microcode-rc/Makefile             |  2 +-
 sysutils/cpu-microcode-rc/files/pkg-message.in |  3 +++
 sysutils/cpu-microcode-rc/pkg-descr            | 13 ++++++++++---
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/sysutils/cpu-microcode-rc/Makefile b/sysutils/cpu-microcode-rc/Makefile
index 280f5fb3bc40..63270f72c088 100644
--- a/sysutils/cpu-microcode-rc/Makefile
+++ b/sysutils/cpu-microcode-rc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	microcode
 PORTVERSION=	1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	# none
 PKGNAMEPREFIX=	cpu-
diff --git a/sysutils/cpu-microcode-rc/files/pkg-message.in b/sysutils/cpu-microcode-rc/files/pkg-message.in
index 10c1816da5f7..85d9dc716ead 100644
--- a/sysutils/cpu-microcode-rc/files/pkg-message.in
+++ b/sysutils/cpu-microcode-rc/files/pkg-message.in
@@ -22,6 +22,9 @@ the CPU microcode on a FreeBSD system.
 
    The microcode update will be loaded when the system is rebooted.
 
+   AMD systems running FreeBSD prior to 2024-02-22 snapshot
+   34467bd76 only support late loading.
+
 
 2. Late loading.
    This method, which does use the RC script included here, is enabled by
diff --git a/sysutils/cpu-microcode-rc/pkg-descr b/sysutils/cpu-microcode-rc/pkg-descr
index 815fa3126b0d..d37b5dcca7e3 100644
--- a/sysutils/cpu-microcode-rc/pkg-descr
+++ b/sysutils/cpu-microcode-rc/pkg-descr
@@ -1,3 +1,10 @@
-An RC script for use with the cpuctl(4) microcode update facility to keep your
-processor's firmware up-to-date.  CPU microcode data must be installed from a
-vendor.  See sysutils/devcpu-data-amd and sysutils/devcpu-data-intel.
+An RC script for one of two methods to update CPU microcode.
+
+Early loading, which does not require this RC script, is usually the preferred
+method because updates are applied before the kernel performs CPU feature
+detection.  The other method, which requires this RC script, is late loading.
+AMD systems running FreeBSD prior to 2024-02-22 snapshot 34467bd76 only support
+late loading.
+
+CPU microcode data can be installed from one of the sysutils/cpu-microcode-*
+ports.