diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-11-29 20:56:03 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-11-30 13:30:31 +0100 |
commit | cd369db34258015c83a2a2fb68f75dff0237f748 (patch) | |
tree | 3b4efffbe5ef1e3f2156011df183ddffbcb516ab /patches | |
parent | 52b2b8f314bf13b8191b38b453dba1c0db6dd9b1 (diff) | |
download | current-cd369db34258015c83a2a2fb68f75dff0237f748.tar.gz current-cd369db34258015c83a2a2fb68f75dff0237f748.tar.xz |
Tue Nov 29 20:56:03 UTC 202220221129205603_15.0
patches/packages/kernel-firmware-20221123_cdf9499-noarch-1.txz: Upgraded.
patches/packages/linux-5.15.80/*: Upgraded.
These updates fix various bugs and security issues.
Be sure to upgrade your initrd after upgrading the kernel packages.
If you use lilo to boot your machine, be sure lilo.conf points to the correct
kernel and initrd and run lilo as root to update the bootloader.
If you use elilo to boot your machine, you should run eliloconfig to copy the
kernel and initrd to the EFI System Partition.
For more information, see:
Fixed in 5.15.63:
https://www.cve.org/CVERecord?id=CVE-2022-3629
https://www.cve.org/CVERecord?id=CVE-2022-3635
https://www.cve.org/CVERecord?id=CVE-2022-3633
https://www.cve.org/CVERecord?id=CVE-2022-3625
Fixed in 5.15.64:
https://www.cve.org/CVERecord?id=CVE-2022-39190
https://www.cve.org/CVERecord?id=CVE-2022-3028
https://www.cve.org/CVERecord?id=CVE-2022-2905
Fixed in 5.15.65:
https://www.cve.org/CVERecord?id=CVE-2022-42703
https://www.cve.org/CVERecord?id=CVE-2022-3176
Fixed in 5.15.66:
https://www.cve.org/CVERecord?id=CVE-2022-4095
https://www.cve.org/CVERecord?id=CVE-2022-20421
Fixed in 5.15.68:
https://www.cve.org/CVERecord?id=CVE-2022-3303
https://www.cve.org/CVERecord?id=CVE-2022-2663
https://www.cve.org/CVERecord?id=CVE-2022-40307
https://www.cve.org/CVERecord?id=CVE-2022-3586
Fixed in 5.15.70:
https://www.cve.org/CVERecord?id=CVE-2022-0171
https://www.cve.org/CVERecord?id=CVE-2022-39842
https://www.cve.org/CVERecord?id=CVE-2022-3061
Fixed in 5.15.72:
https://www.cve.org/CVERecord?id=CVE-2022-2308
Fixed in 5.15.73:
https://www.cve.org/CVERecord?id=CVE-2022-2978
https://www.cve.org/CVERecord?id=CVE-2022-43750
Fixed in 5.15.74:
https://www.cve.org/CVERecord?id=CVE-2022-40768
https://www.cve.org/CVERecord?id=CVE-2022-42721
https://www.cve.org/CVERecord?id=CVE-2022-3621
https://www.cve.org/CVERecord?id=CVE-2022-42722
https://www.cve.org/CVERecord?id=CVE-2022-42719
https://www.cve.org/CVERecord?id=CVE-2022-41674
https://www.cve.org/CVERecord?id=CVE-2022-3649
https://www.cve.org/CVERecord?id=CVE-2022-3646
https://www.cve.org/CVERecord?id=CVE-2022-42720
Fixed in 5.15.75:
https://www.cve.org/CVERecord?id=CVE-2022-43945
https://www.cve.org/CVERecord?id=CVE-2022-41849
https://www.cve.org/CVERecord?id=CVE-2022-3535
https://www.cve.org/CVERecord?id=CVE-2022-3594
https://www.cve.org/CVERecord?id=CVE-2022-2602
https://www.cve.org/CVERecord?id=CVE-2022-41850
https://www.cve.org/CVERecord?id=CVE-2022-3565
https://www.cve.org/CVERecord?id=CVE-2022-3542
Fixed in 5.15.77:
https://www.cve.org/CVERecord?id=CVE-2022-3524
Fixed in 5.15.78:
https://www.cve.org/CVERecord?id=CVE-2022-3628
https://www.cve.org/CVERecord?id=CVE-2022-3623
https://www.cve.org/CVERecord?id=CVE-2022-42896
https://www.cve.org/CVERecord?id=CVE-2022-42895
https://www.cve.org/CVERecord?id=CVE-2022-3543
https://www.cve.org/CVERecord?id=CVE-2022-3564
https://www.cve.org/CVERecord?id=CVE-2022-3619
Fixed in 5.15.80:
https://www.cve.org/CVERecord?id=CVE-2022-3521
https://www.cve.org/CVERecord?id=CVE-2022-3169
(* Security fix *)
patches/packages/openssl-1.1.1s-x86_64-1_slack15.0.txz: Upgraded.
This is a bugfix release.
patches/packages/openssl-solibs-1.1.1s-x86_64-1_slack15.0.txz: Upgraded.
Diffstat (limited to 'patches')
-rw-r--r-- | patches/packages/kernel-firmware-20221123_cdf9499-noarch-1.txt | 11 | ||||
-rw-r--r-- | patches/packages/linux-5.15.80/kernel-generic-5.15.80-x86_64-1.txt (renamed from patches/packages/linux-5.15.63/kernel-generic-5.15.63-x86_64-1.txt) | 0 | ||||
-rw-r--r-- | patches/packages/linux-5.15.80/kernel-headers-5.15.80-x86-1.txt (renamed from patches/packages/linux-5.15.63/kernel-headers-5.15.63-x86-1.txt) | 0 | ||||
-rw-r--r-- | patches/packages/linux-5.15.80/kernel-huge-5.15.80-x86_64-1.txt (renamed from patches/packages/linux-5.15.63/kernel-huge-5.15.63-x86_64-1.txt) | 0 | ||||
-rw-r--r-- | patches/packages/linux-5.15.80/kernel-modules-5.15.80-x86_64-1.txt (renamed from patches/packages/linux-5.15.63/kernel-modules-5.15.63-x86_64-1.txt) | 0 | ||||
-rw-r--r-- | patches/packages/linux-5.15.80/kernel-source-5.15.80-noarch-1.txt (renamed from patches/packages/linux-5.15.63/kernel-source-5.15.63-noarch-1.txt) | 0 | ||||
-rw-r--r-- | patches/packages/openssl-1.1.1s-x86_64-1_slack15.0.txt (renamed from patches/packages/openssl-1.1.1q-x86_64-1_slack15.0.txt) | 0 | ||||
-rw-r--r-- | patches/packages/openssl-solibs-1.1.1s-x86_64-1_slack15.0.txt (renamed from patches/packages/openssl-solibs-1.1.1q-x86_64-1_slack15.0.txt) | 0 | ||||
-rwxr-xr-x | patches/source/linux-5.15.80/build-all-kernels.sh (renamed from patches/source/linux-5.15.63/build-all-kernels.sh) | 4 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80 (renamed from patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63) | 4 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80.x64 (renamed from patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63.x64) | 4 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/kernel-configs/config-generic-smp-5.15.80-smp (renamed from patches/source/linux-5.15.63/kernel-configs/config-generic-smp-5.15.63-smp) | 4 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80 (renamed from patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63) | 4 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80.x64 (renamed from patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63.x64) | 4 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/kernel-configs/config-huge-smp-5.15.80-smp (renamed from patches/source/linux-5.15.63/kernel-configs/config-huge-smp-5.15.63-smp) | 4 | ||||
-rwxr-xr-x | patches/source/linux-5.15.80/kernel-generic.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-generic.SlackBuild) | 0 | ||||
-rwxr-xr-x | patches/source/linux-5.15.80/kernel-headers.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-headers.SlackBuild) | 0 | ||||
-rwxr-xr-x | patches/source/linux-5.15.80/kernel-modules.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-modules.SlackBuild) | 19 | ||||
-rwxr-xr-x | patches/source/linux-5.15.80/kernel-source.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-source.SlackBuild) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic-smp.i686 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic-smp.i686) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.i586 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.i586) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.x86_64 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.x86_64) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-headers (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-headers) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge-smp.i686 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge-smp.i686) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.i586 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.i586) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.x86_64 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.x86_64) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-modules-template (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-modules-template) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source.vanilla (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source.vanilla) | 0 | ||||
-rw-r--r-- | patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-template (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-template) | 0 | ||||
-rwxr-xr-x | patches/source/openssl/openssl.SlackBuild | 3 |
31 files changed, 49 insertions, 12 deletions
diff --git a/patches/packages/kernel-firmware-20221123_cdf9499-noarch-1.txt b/patches/packages/kernel-firmware-20221123_cdf9499-noarch-1.txt new file mode 100644 index 000000000..4b07a89f4 --- /dev/null +++ b/patches/packages/kernel-firmware-20221123_cdf9499-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/packages/linux-5.15.63/kernel-generic-5.15.63-x86_64-1.txt b/patches/packages/linux-5.15.80/kernel-generic-5.15.80-x86_64-1.txt index 975a5ba6d..975a5ba6d 100644 --- a/patches/packages/linux-5.15.63/kernel-generic-5.15.63-x86_64-1.txt +++ b/patches/packages/linux-5.15.80/kernel-generic-5.15.80-x86_64-1.txt diff --git a/patches/packages/linux-5.15.63/kernel-headers-5.15.63-x86-1.txt b/patches/packages/linux-5.15.80/kernel-headers-5.15.80-x86-1.txt index 27b46a0e6..27b46a0e6 100644 --- a/patches/packages/linux-5.15.63/kernel-headers-5.15.63-x86-1.txt +++ b/patches/packages/linux-5.15.80/kernel-headers-5.15.80-x86-1.txt diff --git a/patches/packages/linux-5.15.63/kernel-huge-5.15.63-x86_64-1.txt b/patches/packages/linux-5.15.80/kernel-huge-5.15.80-x86_64-1.txt index 2d6170611..2d6170611 100644 --- a/patches/packages/linux-5.15.63/kernel-huge-5.15.63-x86_64-1.txt +++ b/patches/packages/linux-5.15.80/kernel-huge-5.15.80-x86_64-1.txt diff --git a/patches/packages/linux-5.15.63/kernel-modules-5.15.63-x86_64-1.txt b/patches/packages/linux-5.15.80/kernel-modules-5.15.80-x86_64-1.txt index 9a9441043..9a9441043 100644 --- a/patches/packages/linux-5.15.63/kernel-modules-5.15.63-x86_64-1.txt +++ b/patches/packages/linux-5.15.80/kernel-modules-5.15.80-x86_64-1.txt diff --git a/patches/packages/linux-5.15.63/kernel-source-5.15.63-noarch-1.txt b/patches/packages/linux-5.15.80/kernel-source-5.15.80-noarch-1.txt index eb2b0a30c..eb2b0a30c 100644 --- a/patches/packages/linux-5.15.63/kernel-source-5.15.63-noarch-1.txt +++ b/patches/packages/linux-5.15.80/kernel-source-5.15.80-noarch-1.txt diff --git a/patches/packages/openssl-1.1.1q-x86_64-1_slack15.0.txt b/patches/packages/openssl-1.1.1s-x86_64-1_slack15.0.txt index f6169bb30..f6169bb30 100644 --- a/patches/packages/openssl-1.1.1q-x86_64-1_slack15.0.txt +++ b/patches/packages/openssl-1.1.1s-x86_64-1_slack15.0.txt diff --git a/patches/packages/openssl-solibs-1.1.1q-x86_64-1_slack15.0.txt b/patches/packages/openssl-solibs-1.1.1s-x86_64-1_slack15.0.txt index 65fe3aa52..65fe3aa52 100644 --- a/patches/packages/openssl-solibs-1.1.1q-x86_64-1_slack15.0.txt +++ b/patches/packages/openssl-solibs-1.1.1s-x86_64-1_slack15.0.txt diff --git a/patches/source/linux-5.15.63/build-all-kernels.sh b/patches/source/linux-5.15.80/build-all-kernels.sh index 09e684b17..0ac96bdf6 100755 --- a/patches/source/linux-5.15.63/build-all-kernels.sh +++ b/patches/source/linux-5.15.80/build-all-kernels.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2018, 2021, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -66,7 +66,7 @@ for recipe in $RECIPES ; do # files and package naming scheme, and define the output location. if [ "$recipe" = "x86_64" ]; then # Recipe for x86_64: - CONFIG_SUFFIX=".x64" + export CONFIG_SUFFIX=".x64" unset LOCALVERSION OUTPUT=${OUTPUT:-${TMP}/output-x86_64-${VERSION}} elif [ "$recipe" = "IA32_SMP" ]; then diff --git a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63 b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80 index 0e414dc12..0f7026f65 100644 --- a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63 +++ b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.63 Kernel Configuration +# Linux/x86 5.15.80 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0" CONFIG_CC_IS_GCC=y @@ -9866,6 +9866,8 @@ CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options +CONFIG_AS_HAS_NON_CONST_LEB128=y + # # Compile-time checks and compiler options # diff --git a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63.x64 b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80.x64 index ae5d0987a..242390591 100644 --- a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63.x64 +++ b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80.x64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.63 Kernel Configuration +# Linux/x86 5.15.80 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0" CONFIG_CC_IS_GCC=y @@ -9933,6 +9933,8 @@ CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options +CONFIG_AS_HAS_NON_CONST_LEB128=y + # # Compile-time checks and compiler options # diff --git a/patches/source/linux-5.15.63/kernel-configs/config-generic-smp-5.15.63-smp b/patches/source/linux-5.15.80/kernel-configs/config-generic-smp-5.15.80-smp index ffc7e143d..c82e57c40 100644 --- a/patches/source/linux-5.15.63/kernel-configs/config-generic-smp-5.15.63-smp +++ b/patches/source/linux-5.15.80/kernel-configs/config-generic-smp-5.15.80-smp @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.63 Kernel Configuration +# Linux/x86 5.15.80 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0" CONFIG_CC_IS_GCC=y @@ -9936,6 +9936,8 @@ CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options +CONFIG_AS_HAS_NON_CONST_LEB128=y + # # Compile-time checks and compiler options # diff --git a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63 b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80 index 16082678b..cb5e2e143 100644 --- a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63 +++ b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.63 Kernel Configuration +# Linux/x86 5.15.80 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0" CONFIG_CC_IS_GCC=y @@ -9865,6 +9865,8 @@ CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options +CONFIG_AS_HAS_NON_CONST_LEB128=y + # # Compile-time checks and compiler options # diff --git a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63.x64 b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80.x64 index b77d2a747..f87834405 100644 --- a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63.x64 +++ b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80.x64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.63 Kernel Configuration +# Linux/x86 5.15.80 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0" CONFIG_CC_IS_GCC=y @@ -9932,6 +9932,8 @@ CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options +CONFIG_AS_HAS_NON_CONST_LEB128=y + # # Compile-time checks and compiler options # diff --git a/patches/source/linux-5.15.63/kernel-configs/config-huge-smp-5.15.63-smp b/patches/source/linux-5.15.80/kernel-configs/config-huge-smp-5.15.80-smp index 943c07f23..d88be25a8 100644 --- a/patches/source/linux-5.15.63/kernel-configs/config-huge-smp-5.15.63-smp +++ b/patches/source/linux-5.15.80/kernel-configs/config-huge-smp-5.15.80-smp @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.63 Kernel Configuration +# Linux/x86 5.15.80 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0" CONFIG_CC_IS_GCC=y @@ -9935,6 +9935,8 @@ CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options +CONFIG_AS_HAS_NON_CONST_LEB128=y + # # Compile-time checks and compiler options # diff --git a/patches/source/linux-5.15.63/kernel-generic.SlackBuild b/patches/source/linux-5.15.80/kernel-generic.SlackBuild index 1f2fb66f1..1f2fb66f1 100755 --- a/patches/source/linux-5.15.63/kernel-generic.SlackBuild +++ b/patches/source/linux-5.15.80/kernel-generic.SlackBuild diff --git a/patches/source/linux-5.15.63/kernel-headers.SlackBuild b/patches/source/linux-5.15.80/kernel-headers.SlackBuild index 2721350a1..2721350a1 100755 --- a/patches/source/linux-5.15.63/kernel-headers.SlackBuild +++ b/patches/source/linux-5.15.80/kernel-headers.SlackBuild diff --git a/patches/source/linux-5.15.63/kernel-modules.SlackBuild b/patches/source/linux-5.15.80/kernel-modules.SlackBuild index 8d0d48c4d..d7df6d3c4 100755 --- a/patches/source/linux-5.15.63/kernel-modules.SlackBuild +++ b/patches/source/linux-5.15.80/kernel-modules.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2018, 2020, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -37,6 +37,13 @@ KERNEL_NAME=${KERNEL_NAME:-} KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux} KERNEL_CONFIG=${KERNEL_CONFIG:-/usr/src/linux/.config} BUILD=${BUILD:-1} + +# The CONFIG_DEBUG_INFO_BTF_MODULES option adds a huge amount of debugging +# data to the modules which we don't actually need. We'll strip debugging +# information from kernel modules by default. If you are building a debug +# kernel and wish to retain this data, export the variable below set to "NO". +STRIP_DEBUG=${STRIP_DEBUG:-YES} + if [ ! -r "${KERNEL_CONFIG}" ]; then echo "Error: the KERNEL_CONFIG environment variable needs to be set to the" echo ".config file to be used to build these modules. Example:" @@ -109,13 +116,17 @@ fi make $NUMJOBS modules || exit 1 echo "Installing kernel modules to $PKG..." make INSTALL_MOD_PATH=$PKG modules_install || exit 1 - # Fix build and source symlinks if they are pointing into /tmp: + if [ "$STRIP_DEBUG" = "YES" ]; then + echo "Stripping debug info from kernel modules..." + find $PKG -name "*.ko" -exec strip --strip-debug "{}" \; + fi + # Fix build and source symlinks if they are pointing into $TMP: ( cd $PKG/lib/modules/${VERSION}${LOCALVERSION} for symlink in build source ; do target=$(readlink $symlink) - if echo $target | grep -q "^/tmp/package-kernel-source/" ; then + if echo $target | grep -q "^$TMP/package-kernel-source/" ; then rm -f $symlink - ln -sf $(echo $target | sed "s|/tmp/package-kernel-source/|/|g") $symlink + ln -sf $(echo $target | sed "s|$TMP/package-kernel-source/|/|g") $symlink fi done ) diff --git a/patches/source/linux-5.15.63/kernel-source.SlackBuild b/patches/source/linux-5.15.80/kernel-source.SlackBuild index 3e5f7c9dd..3e5f7c9dd 100755 --- a/patches/source/linux-5.15.63/kernel-source.SlackBuild +++ b/patches/source/linux-5.15.80/kernel-source.SlackBuild diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic-smp.i686 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic-smp.i686 index a6abc7703..a6abc7703 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic-smp.i686 +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic-smp.i686 diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.i586 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.i586 index 1054d54ca..1054d54ca 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.i586 +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.i586 diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.x86_64 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.x86_64 index b1410c979..b1410c979 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.x86_64 +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.x86_64 diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-headers b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-headers index 511d5fdc7..511d5fdc7 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-headers +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-headers diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge-smp.i686 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge-smp.i686 index 0757cea35..0757cea35 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge-smp.i686 +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge-smp.i686 diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.i586 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.i586 index 1a5afb09a..1a5afb09a 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.i586 +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.i586 diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.x86_64 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.x86_64 index c15947b1d..c15947b1d 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.x86_64 +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.x86_64 diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-modules-template b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-modules-template index 1338eb2ca..1338eb2ca 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-modules-template +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-modules-template diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source index cf254e748..cf254e748 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source.vanilla b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source.vanilla index cf254e748..cf254e748 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source.vanilla +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source.vanilla diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-template b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-template index a2880bb2f..a2880bb2f 100644 --- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-template +++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-template diff --git a/patches/source/openssl/openssl.SlackBuild b/patches/source/openssl/openssl.SlackBuild index e10aad5ce..3d0e89454 100755 --- a/patches/source/openssl/openssl.SlackBuild +++ b/patches/source/openssl/openssl.SlackBuild @@ -150,6 +150,9 @@ rm -f $PKG1/usr/lib${LIBDIRSUFFIX}/*.a # No thanks on manpages duplicated as html: rm -rf $PKG1/usr/share/doc +# Also no thanks on .pod versions of the already shipped manpages: +rm -rf $PKG1/usr/doc/openssl-*/doc/man* + # Make the .so.? library symlinks: ( cd $PKG1/usr/lib${LIBDIRSUFFIX} ; ldconfig -l lib*.so.* ) |