From 18a15de6ae75d17a325fbeb693cdbf6e27c2ede6 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Tue, 25 Jul 2023 19:45:27 +0000 Subject: Tue Jul 25 19:45:27 UTC 2023 patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txz: Upgraded. Restored license files and other documentation. Thanks to drumz. --- ChangeLog.rss | 16 +++- ChangeLog.txt | 4 + FILELIST.TXT | 59 +++++++------ .../kernel-firmware-20230724_59fbffa-noarch-1.txt | 11 --- .../kernel-firmware-20230725_b6ea35f-noarch-1.txt | 11 +++ .../kernel-firmware/kernel-firmware.SlackBuild | 99 ++++++++++++++++++++++ patches/source/kernel-firmware/slack-desc | 19 +++++ 7 files changed, 178 insertions(+), 41 deletions(-) delete mode 100644 patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txt create mode 100644 patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txt create mode 100755 patches/source/kernel-firmware/kernel-firmware.SlackBuild create mode 100644 patches/source/kernel-firmware/slack-desc diff --git a/ChangeLog.rss b/ChangeLog.rss index 39cf32eee..b94de4004 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,21 @@ Tracking Slackware development in git. en-us urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f - Mon, 24 Jul 2023 22:07:56 GMT - Tue, 25 Jul 2023 11:30:23 GMT + Tue, 25 Jul 2023 19:45:27 GMT + Wed, 26 Jul 2023 11:30:21 GMT maintain_current_git.sh v 1.17 + + Tue, 25 Jul 2023 19:45:27 GMT + Tue, 25 Jul 2023 19:45:27 GMT + https://git.slackware.nl/current/tag/?h=20230725194527 + 20230725194527 + + +patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txz: Upgraded. + Restored license files and other documentation. Thanks to drumz. + ]]> + + Mon, 24 Jul 2023 22:07:56 GMT Mon, 24 Jul 2023 22:07:56 GMT diff --git a/ChangeLog.txt b/ChangeLog.txt index e5a1803c3..275e5551b 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +Tue Jul 25 19:45:27 UTC 2023 +patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txz: Upgraded. + Restored license files and other documentation. Thanks to drumz. ++--------------------------+ Mon Jul 24 22:07:56 UTC 2023 patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txz: Upgraded. AMD microcode updated to fix a use-after-free in AMD Zen2 processors. diff --git a/FILELIST.TXT b/FILELIST.TXT index 616ae6609..37e592bd3 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Mon Jul 24 22:12:56 UTC 2023 +Tue Jul 25 19:49:51 UTC 2023 Here is the file list for this directory. If you are using a mirror site and find missing or extra files in the disk subdirectories, please have the archive administrator refresh the mirror. -drwxr-xr-x 12 root root 4096 2023-07-24 22:07 . +drwxr-xr-x 12 root root 4096 2023-07-25 19:45 . -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT --rw-r--r-- 1 root root 1186350 2023-07-24 00:23 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2023-07-24 00:23 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1186350 2023-07-24 22:13 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2023-07-24 22:13 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3 -rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT -rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT --rw-r--r-- 1 root root 2029684 2023-07-24 22:07 ./ChangeLog.txt +-rw-r--r-- 1 root root 2029884 2023-07-25 19:45 ./ChangeLog.txt drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi @@ -25,7 +25,7 @@ drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh -rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg -rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg --rw-r--r-- 1 root root 1550666 2023-07-24 00:22 ./FILELIST.TXT +-rw-r--r-- 1 root root 1550666 2023-07-24 22:12 ./FILELIST.TXT -rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY -rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT -rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT @@ -737,13 +737,13 @@ drwxr-xr-x 2 root root 4096 2008-05-07 05:21 ./pasture/source/php/pear -rwxr-xr-x 1 root root 9448 2018-05-16 22:38 ./pasture/source/php/php.SlackBuild -rw-r--r-- 1 root root 775 2017-07-07 19:25 ./pasture/source/php/php.ini-development.diff.gz -rw-r--r-- 1 root root 830 2005-12-09 05:18 ./pasture/source/php/slack-desc -drwxr-xr-x 4 root root 4096 2023-07-24 22:12 ./patches --rw-r--r-- 1 root root 79302 2023-07-24 22:12 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2023-07-24 22:12 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 107835 2023-07-24 22:12 ./patches/FILE_LIST --rw-r--r-- 1 root root 12621820 2023-07-24 22:12 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 56668 2023-07-24 22:12 ./patches/PACKAGES.TXT -drwxr-xr-x 3 root root 20480 2023-07-24 22:12 ./patches/packages +drwxr-xr-x 4 root root 4096 2023-07-25 19:49 ./patches +-rw-r--r-- 1 root root 79458 2023-07-25 19:49 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2023-07-25 19:49 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 108101 2023-07-25 19:49 ./patches/FILE_LIST +-rw-r--r-- 1 root root 12624396 2023-07-25 19:49 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 56668 2023-07-25 19:49 ./patches/PACKAGES.TXT +drwxr-xr-x 3 root root 20480 2023-07-25 19:49 ./patches/packages -rw-r--r-- 1 root root 327 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txt -rw-r--r-- 1 root root 10716 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz.asc @@ -828,9 +828,9 @@ drwxr-xr-x 3 root root 20480 2023-07-24 22:12 ./patches/packages -rw-r--r-- 1 root root 331 2023-04-02 18:21 ./patches/packages/irssi-1.4.4-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 683420 2023-04-02 18:21 ./patches/packages/irssi-1.4.4-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2023-04-02 18:21 ./patches/packages/irssi-1.4.4-x86_64-1_slack15.0.txz.asc --rw-r--r-- 1 root root 422 2023-07-24 20:00 ./patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txt --rw-r--r-- 1 root root 256341700 2023-07-24 20:00 ./patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txz --rw-r--r-- 1 root root 163 2023-07-24 20:00 ./patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txz.asc +-rw-r--r-- 1 root root 422 2023-07-25 19:04 ./patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txt +-rw-r--r-- 1 root root 256420804 2023-07-25 19:04 ./patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txz +-rw-r--r-- 1 root root 163 2023-07-25 19:04 ./patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txz.asc -rw-r--r-- 1 root root 304 2023-07-12 20:40 ./patches/packages/krb5-1.19.2-x86_64-4_slack15.0.txt -rw-r--r-- 1 root root 1210692 2023-07-12 20:40 ./patches/packages/krb5-1.19.2-x86_64-4_slack15.0.txz -rw-r--r-- 1 root root 163 2023-07-12 20:40 ./patches/packages/krb5-1.19.2-x86_64-4_slack15.0.txz.asc @@ -1015,7 +1015,7 @@ drwxr-xr-x 2 root root 4096 2023-06-23 18:50 ./patches/packages/linux-5.15 -rw-r--r-- 1 root root 463 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 459652 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz.asc -drwxr-xr-x 82 root root 4096 2023-07-23 23:48 ./patches/source +drwxr-xr-x 83 root root 4096 2023-07-25 19:44 ./patches/source drwxr-xr-x 2 root root 4096 2022-01-16 05:07 ./patches/source/aaa_base -rw-r--r-- 1 root root 11041 2022-02-15 04:49 ./patches/source/aaa_base/_aaa_base.tar.gz -rwxr-xr-x 1 root root 3894 2022-02-15 05:07 ./patches/source/aaa_base/aaa_base.SlackBuild @@ -1224,6 +1224,9 @@ drwxr-xr-x 2 root root 4096 2023-04-02 18:17 ./patches/source/irssi -rw-r--r-- 1 root root 195 2023-04-02 18:16 ./patches/source/irssi/irssi-1.4.4.tar.xz.asc -rwxr-xr-x 1 root root 4806 2023-04-02 18:20 ./patches/source/irssi/irssi.SlackBuild -rw-r--r-- 1 root root 784 2018-02-27 06:13 ./patches/source/irssi/slack-desc +drwxr-xr-x 2 root root 4096 2023-07-25 18:51 ./patches/source/kernel-firmware +-rwxr-xr-x 1 root root 4779 2023-07-25 18:57 ./patches/source/kernel-firmware/kernel-firmware.SlackBuild +-rw-r--r-- 1 root root 885 2018-02-27 06:13 ./patches/source/kernel-firmware/slack-desc drwxr-xr-x 3 root root 4096 2023-07-12 19:58 ./patches/source/krb5 -rw-r--r-- 1 root root 1558 2022-11-16 19:44 ./patches/source/krb5/5ad465bc8e0d957a4945218bea487b77622bf433.patch drwxr-xr-x 2 root root 4096 2020-01-21 18:39 ./patches/source/krb5/conf @@ -2745,9 +2748,9 @@ drwxr-xr-x 2 root root 16384 2022-02-02 08:24 ./slackware64/d -rw-r--r-- 1 root root 163 2021-05-21 18:57 ./slackware64/d/sassc-3.6.2-x86_64-1.txz.asc -rw-r--r-- 1 root root 456 2021-11-03 01:06 ./slackware64/d/scons-4.2.0-x86_64-2.txt -rw-r--r-- 1 root root 1811308 2021-11-03 01:06 ./slackware64/d/scons-4.2.0-x86_64-2.txz --rw-r--r-- 1 root root 163 2021-11-03 01:06 ./slackware64/d/scons-4.2.0-x86_64-2.txz.asc --rw-r--r-- 1 root root 467 2021-11-14 17:09 ./slackware64/d/slacktrack-2.22-x86_64-1.txt --rw-r--r-- 1 root root 100612 2021-11-14 17:09 ./slackware64/d/slacktrack-2.22-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-11-03 01:06 ./slackware64/d/scons-4.2.0-x86_64-2.txz.asc +-rw-r--r-- 1 root root 467 2021-11-14 17:09 ./slackware64/d/slacktrack-2.22-x86_64-1.txt +-rw-r--r-- 1 root root 100612 2021-11-14 17:09 ./slackware64/d/slacktrack-2.22-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-11-14 17:09 ./slackware64/d/slacktrack-2.22-x86_64-1.txz.asc -rw-r--r-- 1 root root 547 2022-01-10 21:03 ./slackware64/d/strace-5.16-x86_64-1.txt -rw-r--r-- 1 root root 447740 2022-01-10 21:03 ./slackware64/d/strace-5.16-x86_64-1.txz @@ -5479,9 +5482,9 @@ drwxr-xr-x 2 root root 32768 2022-02-01 04:47 ./slackware64/n -rw-r--r-- 1 root root 163 2021-02-13 12:32 ./slackware64/n/ulogd-2.0.7-x86_64-4.txz.asc -rw-r--r-- 1 root root 282 2021-02-13 12:32 ./slackware64/n/uucp-1.07-x86_64-5.txt -rw-r--r-- 1 root root 387040 2021-02-13 12:32 ./slackware64/n/uucp-1.07-x86_64-5.txz --rw-r--r-- 1 root root 163 2021-02-13 12:32 ./slackware64/n/uucp-1.07-x86_64-5.txz.asc --rw-r--r-- 1 root root 432 2021-02-13 12:32 ./slackware64/n/vlan-1.9-x86_64-5.txt --rw-r--r-- 1 root root 24320 2021-02-13 12:32 ./slackware64/n/vlan-1.9-x86_64-5.txz +-rw-r--r-- 1 root root 163 2021-02-13 12:32 ./slackware64/n/uucp-1.07-x86_64-5.txz.asc +-rw-r--r-- 1 root root 432 2021-02-13 12:32 ./slackware64/n/vlan-1.9-x86_64-5.txt +-rw-r--r-- 1 root root 24320 2021-02-13 12:32 ./slackware64/n/vlan-1.9-x86_64-5.txz -rw-r--r-- 1 root root 163 2021-02-13 12:32 ./slackware64/n/vlan-1.9-x86_64-5.txz.asc -rw-r--r-- 1 root root 498 2021-08-04 19:53 ./slackware64/n/vsftpd-3.0.5-x86_64-1.txt -rw-r--r-- 1 root root 112332 2021-08-04 19:53 ./slackware64/n/vsftpd-3.0.5-x86_64-1.txz @@ -8580,10 +8583,10 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/flex -rwxr-xr-x 1 root root 4301 2021-02-13 05:31 ./source/d/flex/flex.SlackBuild -rw-r--r-- 1 root root 823 2018-02-27 06:13 ./source/d/flex/slack-desc drwxr-xr-x 3 root root 4096 2021-08-08 05:35 ./source/d/gcc --rw-r--r-- 1 root root 224 2015-08-03 18:13 ./source/d/gcc/c89.sh --rw-r--r-- 1 root root 215 2015-08-03 18:13 ./source/d/gcc/c99.sh --rw-r--r-- 1 root root 80888824 2021-07-28 07:30 ./source/d/gcc/gcc-11.2.0.tar.xz --rw-r--r-- 1 root root 310 2021-07-28 07:30 ./source/d/gcc/gcc-11.2.0.tar.xz.sig +-rw-r--r-- 1 root root 224 2015-08-03 18:13 ./source/d/gcc/c89.sh +-rw-r--r-- 1 root root 215 2015-08-03 18:13 ./source/d/gcc/c99.sh +-rw-r--r-- 1 root root 80888824 2021-07-28 07:30 ./source/d/gcc/gcc-11.2.0.tar.xz +-rw-r--r-- 1 root root 310 2021-07-28 07:30 ./source/d/gcc/gcc-11.2.0.tar.xz.sig -rwxr-xr-x 1 root root 22757 2021-08-25 08:09 ./source/d/gcc/gcc.SlackBuild drwxr-xr-x 2 root root 4096 2021-08-25 17:54 ./source/d/gcc/patches -rw-r--r-- 1 root root 600 2021-08-25 08:13 ./source/d/gcc/patches/7185690.diff.gz @@ -15049,7 +15052,7 @@ drwxr-xr-x 10 root root 4096 2019-10-28 19:02 ./source/x/x11/post-install -rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-bh-type1.post-install -rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-bitstream-100dpi.post-install -rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-bitstream-75dpi.post-install --rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-bitstream-speedo.post-install +-rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-bitstream-speedo.post-install -rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-bitstream-type1.post-install -rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-cronyx-cyrillic.post-install -rw-r--r-- 37 root root 275 2007-02-13 21:50 ./source/x/x11/post-install/font-cursor-misc.post-install diff --git a/patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txt b/patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txt deleted file mode 100644 index 4b07a89f4..000000000 --- a/patches/packages/kernel-firmware-20230724_59fbffa-noarch-1.txt +++ /dev/null @@ -1,11 +0,0 @@ -kernel-firmware: kernel-firmware (Firmware for the kernel) -kernel-firmware: -kernel-firmware: These are firmware files for the Linux kernel. -kernel-firmware: -kernel-firmware: You'll need these to use certain hardware drivers with Linux. -kernel-firmware: -kernel-firmware: Upstream site: -kernel-firmware: -kernel-firmware: git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git -kernel-firmware: -kernel-firmware: diff --git a/patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txt b/patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txt new file mode 100644 index 000000000..4b07a89f4 --- /dev/null +++ b/patches/packages/kernel-firmware-20230725_b6ea35f-noarch-1.txt @@ -0,0 +1,11 @@ +kernel-firmware: kernel-firmware (Firmware for the kernel) +kernel-firmware: +kernel-firmware: These are firmware files for the Linux kernel. +kernel-firmware: +kernel-firmware: You'll need these to use certain hardware drivers with Linux. +kernel-firmware: +kernel-firmware: Upstream site: +kernel-firmware: +kernel-firmware: git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git +kernel-firmware: +kernel-firmware: diff --git a/patches/source/kernel-firmware/kernel-firmware.SlackBuild b/patches/source/kernel-firmware/kernel-firmware.SlackBuild new file mode 100755 index 000000000..cd45d508d --- /dev/null +++ b/patches/source/kernel-firmware/kernel-firmware.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/bash + +# Copyright 2011, 2016, 2018, 2023 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=kernel-firmware +ARCH=noarch +BUILD=${BUILD:-1} +# Compress the firmware blobs? +# Default is "none" for no compression. +# Other types known to be currently supported are "xz" and "zstd". +COMPRESSION=${COMPRESSION:-none} + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + # Internally, git considers the repo date to be the date the last committed + # patch was submitted. This is somewhat confusing, as it can lead to a newer + # git clone having a date older than the last one we used. To avoid this + # situation, we're going to deviate a little and use the date the HEAD + # patch or merge occured as the repo date, rather than the date of the + # patch itself. + #DATE="$(lynx -dump -width=256 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=HEAD | grep " author " | head -n 1 | rev | cut -f 3 -d ' ' | rev | tr -d -)" + DATE="$(lynx -dump -width=256 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=HEAD | grep " committer " | head -n 1 | rev | cut -f 3 -d ' ' | rev | tr -d -)" + HEADISAT="$(lynx -dump -width=256 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=HEAD | grep " commit " | head -n 1 | cut -f 2 -d ] | cut -b 1-7)" + echo "$PKGNAM-${DATE}_${HEADISAT}-$ARCH-$BUILD.txz" + exit 0 +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $PKG +git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git +# Better determine these the same way as above. +DATE="$(lynx -dump -width=256 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=HEAD | grep " committer " | head -n 1 | rev | cut -f 3 -d ' ' | rev | tr -d -)" +HEADISAT="$(lynx -dump -width=256 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=HEAD | grep " commit " | head -n 1 | cut -f 2 -d ] | cut -b 1-7)" +find . -name ".git*" -exec rm -rf "{}" \+ +chown -R root:root . +mkdir -p lib/firmware + +# Install the firmware from the download directory using "make $INSTALLTARGET": +case $COMPRESSION in + xz) INSTALLTARGET="install-xz" ;; + zstd) INSTALLTARGET="install-zst" ;; + *) INSTALLTARGET="install" ;; +esac +( cd linux-firmware + echo "Running make DESTDIR=$PKG ${INSTALLTARGET}..." + make DESTDIR=$PKG $INSTALLTARGET 2> /dev/null +) + +# Install documentation: +( cd linux-firmware + mkdir -p $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT} + cp -a README $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT}/README.linux-firmware + cp -a WHENCE $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT}/WHENCE.linux-firmware + cp -a GPL* LICEN* \ + $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT} + cp -a amd-ucode/README $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT}/README.amd-ucode + cp -a isci/README $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT}/README.isci + cp -a carl9170fw/COPYRIGHT $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT}/COPYRIGHT.carl9170fw + cp -a carl9170fw/README $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT}/README.carl9170fw + cp -a rtw88/README $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT}/README.rtw88 + cp -a wfx/LICENCE.wf200 $PKG/usr/doc/kernel-firmware-${DATE}_${HEADISAT} +) + +# Remove git repo clone: +rm -rf linux-firmware + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-${DATE}_${HEADISAT}-$ARCH-$BUILD.txz + diff --git a/patches/source/kernel-firmware/slack-desc b/patches/source/kernel-firmware/slack-desc new file mode 100644 index 000000000..3866645db --- /dev/null +++ b/patches/source/kernel-firmware/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +kernel-firmware: kernel-firmware (Firmware for the kernel) +kernel-firmware: +kernel-firmware: These are firmware files for the Linux kernel. +kernel-firmware: +kernel-firmware: You'll need these to use certain hardware drivers with Linux. +kernel-firmware: +kernel-firmware: Upstream site: +kernel-firmware: +kernel-firmware: git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git +kernel-firmware: +kernel-firmware: -- cgit v1.2.3-65-gdbad