Processor microcode updates provide bug fixes, which can be critical to
the security and stability of your system. This port uses the cpuctl(4)
microcode update facility to keep your AMD processor's firmware
up-to-date.
sysutils/cpu-microcode-*: Reorganize CPU microcode ports
Prior to this update, sysutils/devcpu-data, which only contained an RC
script, had run dependencies on the AMD and Intel microcode ports. This
made it cumbersome to have just the AMD or just the Intel microcode
ports installed. With this change, the microcode ports now depend on
the RC script.
Other changes:
- Use more intuitive port names: cpu-microcode, cpu-microcode-amd,
cpu-microcode-intel, and cpu-microcode-rc.
- Add the metaport, cpu-microcode, which pulls in all related ports.
- Pet portclippy/portfmt
Reviewed by: lwhsu, markj
Approved by: sbruno (maintainer)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41406
sysutils/devcpu-data-amd: Unbreak & fix syntax error
when PORTREVISION=0 && MASTER_SITE_FREEBSD=yes.
make[4]: "/usr/ports/Mk/bsd.port.mk" line 2505: Unclosed variable "/"
make[4]: "/usr/ports/Mk/bsd.port.mk" line 2505: Undefined variable "${/"
make[4]: Fatal errors encountered -- cannot continue===>
sysutils/devcpu-data-amd failed
*** [describe.sysutils] Error code 1
I don't see any reasons to use per-version DIST_SUBDIR since it causes
Makefile syntax error and distfiles now includes its revision hash like this:
- microcode_amd.bin?id=f5d519563ac9d2d1f382a817aae5ec5473811ac
Approved by: portmgr (build fix blanket)
sysutils/devcpu-data-amd: Specify the hash to fetch
Fetching the latest revision of these firmware files could result in a
checksum mismatch if the files were updated in the upstream repository.
By downloading a specific revision, we prevent this potential problem.
Reported by: diizzy
Approved by: sbruno (maintainer)
Differential Revision: https://reviews.freebsd.org/D32969
sysutils/devcpu-data-amd: Download microcode from ucode repo
- Download AMD microcode firmware from git.kernel.org.
- Make updates slightly simpler by referencing ${DISTFILES} rather than
repeating the contents.
- Expand pkg-descr.
- Group and sort standard bsd.port.mk variables.
Reported by: sbruno (maintainer)
Approved by: sbruno (maintainer)
Differential Revision: https://reviews.freebsd.org/D32935
sysutils/devcpu-data: Split off two new ports for vendor data
sysutils/devcpu-data is now just an RC script that optionally depends on
two new ports, sysutils/devcpu-data-amd and sysutils/devcpu-data-intel.
The two new ports each contain vendor microcode data.
While here:
- Set missing license information. The license was obtained from
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/LICENSE.amd-ucode
- Update varaible ordering per portclippy
Reviewed by: decke, emaste, markj
Approved by: sbruno (maintainer)
Differential Revision: https://reviews.freebsd.org/D32349