mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-12 01:01:36 +02:00
88 lines
2.3 KiB
Plaintext
88 lines
2.3 KiB
Plaintext
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
|
pkgname=intel-ucode
|
|
pkgver=20240531
|
|
pkgrel=0
|
|
pkgdesc="Microcode update files for Intel CPUs"
|
|
arch="x86 x86_64"
|
|
url="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files"
|
|
license="custom"
|
|
makedepends="iucode-tool"
|
|
source="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$pkgver.tar.gz"
|
|
options="!check"
|
|
builddir="$srcdir/Intel-Linux-Processor-Microcode-Data-Files-microcode-$pkgver"
|
|
|
|
# (Taken from https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/blob/main/releasenote.md)
|
|
# secfixes:
|
|
# 20240514-r0:
|
|
# - CVE-2023-45733
|
|
# - CVE-2023-46103
|
|
# - CVE-2023-45745
|
|
# 20240312-r0:
|
|
# - CVE-2023-39368
|
|
# - CVE-2023-38575
|
|
# - CVE-2023-28746
|
|
# - CVE-2023-22655
|
|
# - CVE-2023-43490
|
|
# 20231114-r0:
|
|
# - CVE-2023-23583
|
|
# 20230808-r0:
|
|
# - CVE-2022-40982
|
|
# - CVE-2022-41804
|
|
# - CVE-2023-23908
|
|
# 20230214-r0:
|
|
# - CVE-2022-21216
|
|
# - CVE-2022-33196
|
|
# - CVE-2022-38090
|
|
# 20220809-r0:
|
|
# - CVE-2022-21233
|
|
# 20220510-r0:
|
|
# - CVE-2022-21151
|
|
# 20220207-r0:
|
|
# - CVE-2021-0127
|
|
# - CVE-2021-0146
|
|
# 20210608-r0:
|
|
# - CVE-2020-24489
|
|
# - CVE-2020-24511
|
|
# - CVE-2020-24513
|
|
# 20210216-r0:
|
|
# - CVE-2020-8698
|
|
# 20201112-r0:
|
|
# - CVE-2020-8694
|
|
# - CVE-2020-8698
|
|
# 20201110-r0:
|
|
# - CVE-2020-8694
|
|
# - CVE-2020-8698
|
|
# 20200609-r0:
|
|
# - CVE-2020-0548
|
|
# 20191113-r0:
|
|
# - CVE-2019-11135
|
|
# 20191112-r0:
|
|
# - CVE-2018-12126
|
|
# - CVE-2019-11135
|
|
# 20190918-r0:
|
|
# - CVE-2019-11135
|
|
# 20190618-r0:
|
|
# - CVE-2018-12126
|
|
# 20190514a-r0:
|
|
# - CVE-2018-12126
|
|
# - CVE-2017-5754
|
|
# - CVE-2017-5753
|
|
|
|
build() {
|
|
rm -f intel-ucode/list intel-ucode-with-caveats/list
|
|
mkdir -p kernel/x86/microcode
|
|
iucode_tool -w kernel/x86/microcode/GenuineIntel.bin \
|
|
intel-ucode/ intel-ucode-with-caveats/
|
|
echo kernel/x86/microcode/GenuineIntel.bin | \
|
|
cpio -o -H newc -R 0:0 > intel-ucode.img
|
|
}
|
|
|
|
package() {
|
|
install -D -m0644 intel-ucode.img "$pkgdir"/boot/intel-ucode.img
|
|
install -Dm644 license "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
fb9d772491f279ebb691248e4a665da45c986ca7b4668ecf311c5fcb91a42400f7a5b35e8bfc31ceb1c9d598e753c817359900e3fa316d825f8ecec21ec63cfe microcode-20240531.tar.gz
|
|
"
|