wok-current rev 25553
Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 09 14:47:24 2023 +0000 (19 months ago) |
parents | 976aaa1af0d2 |
children | 943e4e95214c |
files | amd-microcode/receipt intel-microcode/receipt kegs/receipt warmux-music/receipt warmux/receipt |
line diff
1.1 --- a/amd-microcode/receipt Sat Apr 08 14:00:41 2023 +0000 1.2 +++ b/amd-microcode/receipt Sun Apr 09 14:47:24 2023 +0000 1.3 @@ -1,34 +1,47 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="amd-microcode" 1.7 -VERSION="20180125" # just date of creating the receipt 1.8 +VERSION="2021.Sep.10" 1.9 CATEGORY="kernel" 1.10 SHORT_DESC="AMD processor microcode update for Linux" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="unknown" 1.13 -WEB_SITE="https://linuxfromscratch.org/blfs/view/svn/postlfs/firmware.html#and-microcode" # yes, "and" is typo 1.14 +WEB_SITE="https://linuxfromscratch.org/blfs/view/svn/postlfs/firmware.html#amd-microcode" 1.15 # See also: https://wiki.gentoo.org/wiki/AMD_microcode 1.16 1.17 DEPENDS="linux" 1.18 1.19 +# What is the latest version available today? 1.20 +current_version() 1.21 +{ 1.22 + wget -O - https://wiki.gentoo.org/wiki/AMD_microcode 2>/dev/null | \ 1.23 + sed '/signed-off/!d;s|.*off, ||;s|).*||;s|\(.*\) \(.*\) \(.*\)|\3.\2.\1|' | tail -n1 1.24 +} 1.25 + 1.26 +# Rules to configure and make the package. 1.27 compile_rules() { 1.28 - mkdir -p $install/lib/firmware/amd-ucode 1.29 + mkdir -p $install/lib/firmware/amd-ucode $install/lib/firmware/amd 1.30 1.31 - for i in microcode_amd.bin microcode_amd_fam15h.bin microcode_amd_fam16h.bin; do 1.32 - [ -f "$SRC/$i" ] || 1.33 - wget -O "$SRC/$i" http://anduin.linuxfromscratch.org/BLFS/linux-firmware/amd-ucode/$i 1.34 - if [ ! -f "$SRC/$i" ]; then 1.35 + for i in amd-ucode/microcode_amd.bin amd-ucode/microcode_amd_fam15h.bin \ 1.36 + amd-ucode/microcode_amd_fam16h.bin amd-ucode/microcode_amd_fam17h.bin \ 1.37 + amd-ucode/microcode_amd_fam19h.bin amd/amd_sev_fam17h_model0xh.sbin \ 1.38 + amd/amd_sev_fam17h_model3xh.sbin amd/amd_sev_fam19h_model0xh.sbin ; do 1.39 + [ -f "$SRC/${i#*/}" ] || 1.40 + wget -O "$SRC/${i#*/}" http://anduin.linuxfromscratch.org/BLFS/linux-firmware/$i 1.41 + if [ ! -f "$SRC/${i#*/}" ]; then 1.42 echo "ERROR: can't get $i" 1.43 return 1 1.44 fi 1.45 - cp "$SRC/$i" $install/lib/firmware/amd-ucode/ 1.46 + cp "$SRC/${i#*/}" $install/lib/firmware/$i 1.47 done 1.48 } 1.49 1.50 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.51 genpkg_rules() { 1.52 cp -r $install/* $fs 1.53 } 1.54 1.55 +# Pre and post install commands for Tazpkg. 1.56 post_install() { 1.57 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then 1.58 echo 1 > /sys/devices/system/cpu/microcode/reload
2.1 --- a/intel-microcode/receipt Sat Apr 08 14:00:41 2023 +0000 2.2 +++ b/intel-microcode/receipt Sun Apr 09 14:47:24 2023 +0000 2.3 @@ -1,12 +1,12 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="intel-microcode" 2.7 -VERSION="20220207" 2.8 +VERSION="20230214" 2.9 CATEGORY="kernel" 2.10 SHORT_DESC="Intel processor microcode update for Linux." 2.11 MAINTAINER="al.bobylev@gmail.com" 2.12 LICENSE="other" 2.13 -WEB_SITE="https://www.intel.com/content/www/us/en/download-center/home.html?keyword=processor+microcode+data+file" 2.14 +WEB_SITE="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files" 2.15 # See also: https://wiki.archlinux.org/index.php/Microcode 2.16 # and https://www.archlinux.org/packages/extra/any/intel-ucode/ 2.17 2.18 @@ -16,12 +16,14 @@ 2.19 2.20 DEPENDS="linux" 2.21 2.22 +# What is the latest version available today? 2.23 current_version() 2.24 { 2.25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 2.26 sed '/archive.*tar/!d;s|.*/microcode-\(.*\).tar.*|\1|;q' 2.27 } 2.28 2.29 +# Rules to configure and make the package. 2.30 compile_rules() 2.31 { 2.32 mkdir -p $install/lib/firmware/ 2.33 @@ -31,11 +33,13 @@ 2.34 install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE 2.35 } 2.36 2.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.38 genpkg_rules() 2.39 { 2.40 cp -r $install/* $fs 2.41 } 2.42 2.43 +# Pre and post install commands for Tazpkg. 2.44 post_install() 2.45 { 2.46 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]
3.1 --- a/kegs/receipt Sat Apr 08 14:00:41 2023 +0000 3.2 +++ b/kegs/receipt Sun Apr 09 14:47:24 2023 +0000 3.3 @@ -35,6 +35,6 @@ 3.4 genpkg_rules() 3.5 { 3.6 mkdir -p $fs/usr/bin $fs/usr/share 3.7 - cp $src/kegs $fs/usr/bin 3.8 + cp $src/xkegs $fs/usr/bin 3.9 cp -a $src/doc $fs/usr/share 3.10 }
4.1 --- a/warmux-music/receipt Sat Apr 08 14:00:41 2023 +0000 4.2 +++ b/warmux-music/receipt Sun Apr 09 14:47:24 2023 +0000 4.3 @@ -6,7 +6,7 @@ 4.4 SHORT_DESC="Warmux game music (~35Mb)" 4.5 MAINTAINER="slaxemulator@gmail.com" 4.6 LICENSE="GPL2" 4.7 -WEB_SITE="https://www.wormux.org/" 4.8 +WEB_SITE="https://web.archive.org/web/20221203051925/https://www.warmux.org/" 4.9 4.10 WANTED="warmux" 4.11 DEPENDS="warmux"
5.1 --- a/warmux/receipt Sat Apr 08 14:00:41 2023 +0000 5.2 +++ b/warmux/receipt Sun Apr 09 14:47:24 2023 +0000 5.3 @@ -6,8 +6,7 @@ 5.4 SHORT_DESC="Warmux game" 5.5 MAINTAINER="slaxemulator@gmail.com" 5.6 LICENSE="GPL2" 5.7 -WEB_SITE="https://www.warmux.org/" 5.8 -#WEB_SITE="https://web.archive.org/web/20221203051925/https://www.warmux.org/" 5.9 +WEB_SITE="https://web.archive.org/web/20221203051925/https://www.warmux.org/" 5.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 5.11 WGET_URL="$WEB_SITE$TARBALL" 5.12 PROVIDE="wormux" 5.13 @@ -22,7 +21,7 @@ 5.14 # What is the latest version available today? 5.15 current_version() 5.16 { 5.17 - wget -O - $WEB_SITE 2>/dev/null | \ 5.18 + wget -O - https://www.warmux.org/ 2>/dev/null | \ 5.19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 5.20 } 5.21