wok view intel-microcode/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 86d79cfc8e5e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="intel-microcode"
4 VERSION="20230214"
5 CATEGORY="kernel"
6 SHORT_DESC="Intel processor microcode update for Linux."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files"
10 # See also: https://wiki.archlinux.org/index.php/Microcode
11 # and https://www.archlinux.org/packages/extra/any/intel-ucode/
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$VERSION.tar.gz"
17 DEPENDS="linux"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p $install/lib/firmware/
31 cp -r $src/intel-ucode/ $install/lib/firmware/
33 install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -r $install/* $fs
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]
46 then
47 echo 1 > /sys/devices/system/cpu/microcode/reload
48 fi
49 }