diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2023-03-31 18:01:09 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-03-31 21:43:36 +0200 |
commit | b689ecb8821052a424c41754d4e4ca53fc18ad0e (patch) | |
tree | 3faf9ce7b99302beb71c793ad39c9b0c1e5392dc /source | |
parent | 32316b07e4f42c70fc8ebd630320ae111e228952 (diff) | |
download | current-b689ecb8821052a424c41754d4e4ca53fc18ad0e.tar.gz current-b689ecb8821052a424c41754d4e4ca53fc18ad0e.tar.xz |
Fri Mar 31 18:01:09 UTC 202320230331180109
a/kernel-generic-6.1.22-x86_64-1.txz: Upgraded.
a/kernel-huge-6.1.22-x86_64-1.txz: Upgraded.
a/kernel-modules-6.1.22-x86_64-1.txz: Upgraded.
a/mkinitrd-1.4.11-x86_64-32.txz: Rebuilt.
Add /lib/firmware directory to _initrd-tree.tar.gz. Thanks to walecha.
d/cmake-3.26.2-x86_64-1.txz: Upgraded.
d/kernel-headers-6.1.22-x86-1.txz: Upgraded.
d/llvm-16.0.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
Thanks to Heinz Wiesinger for the assistance.
Compiled with -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
-DCLANG_LINK_CLANG_DYLIB=ON.
I think we'll get 16.0.1 next week if we need to make any adjustments.
d/ruby-3.2.2-x86_64-1.txz: Upgraded.
This update fixes security issues:
ReDoS vulnerability in URI.
ReDoS vulnerability in Time.
For more information, see:
https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/
https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
https://www.cve.org/CVERecord?id=CVE-2023-28755
https://www.cve.org/CVERecord?id=CVE-2023-28756
(* Security fix *)
k/kernel-source-6.1.22-noarch-1.txz: Upgraded.
kde/kdevelop-22.12.3-x86_64-2.txz: Rebuilt.
Recompiled against llvm-16.0.0.
l/openexr-3.1.7-x86_64-1.txz: Upgraded.
l/qt5-5.15.8_20230325_c1a3e988-x86_64-1.txz: Upgraded.
Compiled against llvm-16.0.0.
l/spirv-llvm-translator-16.0.0-x86_64-1.txz: Upgraded.
Compiled against llvm-16.0.0.
Thanks to Heinz Wiesinger for finding the fix for -DBUILD_SHARED_LIBS=ON.
n/pssh-2.3.5-x86_64-1.txz: Upgraded.
n/samba-4.18.1-x86_64-1.txz: Upgraded.
This update fixes security issues:
An incomplete access check on dnsHostName allows authenticated but otherwise
unprivileged users to delete this attribute from any object in the directory.
The Samba AD DC administration tool, when operating against a remote LDAP
server, will by default send new or reset passwords over a signed-only
connection.
The fix in 4.6.16, 4.7.9, 4.8.4 and 4.9.7 for CVE-2018-10919 Confidential
attribute disclosure via LDAP filters was insufficient and an attacker may
be able to obtain confidential BitLocker recovery keys from a Samba AD DC.
Installations with such secrets in their Samba AD should assume they have
been obtained and need replacing.
For more information, see:
https://www.samba.org/samba/security/CVE-2023-0225.html
https://www.samba.org/samba/security/CVE-2023-0922.html
https://www.samba.org/samba/security/CVE-2023-0614.html
https://www.cve.org/CVERecord?id=CVE-2023-0225
https://www.cve.org/CVERecord?id=CVE-2023-0922
https://www.cve.org/CVERecord?id=CVE-2023-0614
(* Security fix *)
x/mesa-23.0.1-x86_64-2.txz: Rebuilt.
Recompiled against llvm-16.0.0 and spirv-llvm-translator-16.0.0.
xap/seamonkey-2.53.16-x86_64-1.txz: Upgraded.
This update contains security fixes and improvements.
For more information, see:
https://www.seamonkey-project.org/releases/seamonkey2.53.16
(* Security fix *)
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
testing/packages/rust-1.68.2-x86_64-2.txz: Rebuilt.
Use the bundled LLVM rather than the system LLVM.
This version of Rust actually does compile with llvm-16.0.0, but since it
bundles LLVM 15 let's let it use that for now.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source')
22 files changed, 257 insertions, 137 deletions
diff --git a/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh b/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh index 4370db374..5491535f1 100755 --- a/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh +++ b/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh @@ -1,18 +1,18 @@ # Run this script in the root of the skeleton tree # to re-create the required device nodes mkdir -p dev -mknod -m 644 dev/systty c 4 0 +mknod -m 644 dev/console c 5 1 mkdir -p dev -mknod -m 644 dev/tty1 c 4 1 +mknod -m 644 dev/null c 1 3 mkdir -p dev mknod -m 644 dev/ram b 1 1 mkdir -p dev +mknod -m 644 dev/systty c 4 0 +mkdir -p dev +mknod -m 644 dev/tty1 c 4 1 +mkdir -p dev mknod -m 644 dev/tty2 c 4 1 mkdir -p dev mknod -m 644 dev/tty3 c 4 1 mkdir -p dev -mknod -m 644 dev/null c 1 3 -mkdir -p dev mknod -m 644 dev/tty4 c 4 1 -mkdir -p dev -mknod -m 644 dev/console c 5 1 diff --git a/source/a/mkinitrd/mkinitrd.SlackBuild b/source/a/mkinitrd/mkinitrd.SlackBuild index 4042d355c..64ad8466c 100755 --- a/source/a/mkinitrd/mkinitrd.SlackBuild +++ b/source/a/mkinitrd/mkinitrd.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mkinitrd VERSION=${VERSION:-1.4.11} BB=1.32.1 -BUILD=${BUILD:-31} +BUILD=${BUILD:-32} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/d/cmake/cmake.url b/source/d/cmake/cmake.url index 2c5c9cfc9..cb6d8af71 100644 --- a/source/d/cmake/cmake.url +++ b/source/d/cmake/cmake.url @@ -1,2 +1,2 @@ https://github.com/Kitware/CMake/releases -https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1.tar.gz +https://github.com/Kitware/CMake/releases/download/v3.26.2/cmake-3.26.2.tar.gz diff --git a/source/d/llvm/llvm.SlackBuild b/source/d/llvm/llvm.SlackBuild index 5996a1001..af3baf881 100755 --- a/source/d/llvm/llvm.SlackBuild +++ b/source/d/llvm/llvm.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for llvm # Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,23 +27,19 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=llvm VERSION=${VERSION:-$(echo llvm-*.tar.xz | rev | cut -f 4- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # For the two options below, either set both to OFF or *only one* to ON: -# Build using -DBUILD_SHARED_LIBS=ON. -# While this is not the officially recommended way to build LLVM, it produces -# a smaller package and the compiler seems to be reliable when built this way. -BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:=ON} - # Build using -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DCLANG_LINK_CLANG_DYLIB=ON: -# This is the recommended way to built LLVM with shared libraries, however -# the resulting package is twice as large and also wasn't able to build -# Firefox or Thunderbird here. If you rebuild LLVM with this option, you'll -# also need to recompile spirv-llvm-translator, mesa, and possibly other -# third party packages. The resulting compiler has not been reliable here. -# I would not recommend using this option, but feel free to try it. -LLVM_BUILD_LLVM_DYLIB=${LLVM_BUILD_LLVM_DYLIB:=OFF} +# This is the upstream recommended way to build LLVM with shared libraries and +# seems to be the way to go these days. +LLVM_BUILD_LLVM_DYLIB=${LLVM_BUILD_LLVM_DYLIB:=ON} + +# Build using -DBUILD_SHARED_LIBS=ON. +# We used this for years here to get a smaller LLVM package, but it no longer +# works. Feel free to try it, but expect breakage. +BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:=OFF} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -55,19 +51,6 @@ if [ -z "$ARCH" ]; then esac fi -# Building clangd will be determined automatically unless BUILD_CLANG is -# preset to YES or NO: -if [ -z $BUILD_CLANGD ]; then - if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then - BUILD_CLANGD=NO - else - BUILD_CLANGD=YES - fi -fi -if [ "$BUILD_CLANGD" = "NO" ]; then - CLANGD="-DCLANG_ENABLE_CLANGD=OFF" -fi - # 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. @@ -80,20 +63,37 @@ TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM BUILDDIR=${TMP}/llvm-build-${VERSION} +# Ignore that which should be ignored to avoid long build times and +# massive warning spew: +IGNORE_GNU_EXTENSIONS=${IGNORE_GNU_EXTENSIONS:--Wno-unknown-warning-option -Wno-gnu-line-marker -Wno-gnu-anonymous-struct} + if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-O2 -march=i586 -mtune=i686 $IGNORE_GNU_EXTENSIONS" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686 $IGNORE_GNU_EXTENSIONS" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-O2 -fPIC $IGNORE_GNU_EXTENSIONS" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" + SLKCFLAGS="-O2 $IGNORE_GNU_EXTENSIONS" LIBDIRSUFFIX="" fi +# Building clangd will be determined automatically unless BUILD_CLANG is +# preset to YES or NO: +if [ -z $BUILD_CLANGD ]; then + if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then + BUILD_CLANGD=NO + else + BUILD_CLANGD=YES + fi +fi +if [ "$BUILD_CLANGD" = "NO" ]; then + CLANGD="-DCLANG_ENABLE_CLANGD=OFF" +fi + # Python2 short version: PY2=$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' | cut -f 2 -d n | cut -f 1 -d /) # Python3 short version: @@ -116,6 +116,12 @@ cd $BUILDDIR touch configure chmod 755 configure +# Extract and rename some support files: +tar xvf $CWD/cmake-$VERSION.src.tar.xz || exit 1 +mv cmake-$VERSION.src cmake +tar xvf $CWD/third-party-$VERSION.src.tar.xz || exit 1 +mv third-party-$VERSION.src third-party + rm -rf $PKGNAM-${VERSION}.src $PKGNAM-${VERSION} tar xvf $CWD/$PKGNAM-$VERSION.src.tar.xz || exit 1 @@ -134,9 +140,9 @@ cd tools/clang/tools || exit 1 tar xvf $CWD/clang-tools-extra-$VERSION.src.tar.xz || exit 1 mv clang-tools-extra-${VERSION} extra 2>/dev/null \ || mv clang-tools-extra-${VERSION}.src extra || exit 1 - # HACK # Otherwise the build fails because files aren't found. - rm -rf $TMP/clang-tools-extra - cp -a extra $TMP/clang-tools-extra + ## HACK # Otherwise the build fails because files aren't found. + #rm -rf $TMP/clang-tools-extra + #cp -a extra $TMP/clang-tools-extra cd ../../../ cd projects || exit 1 @@ -158,26 +164,16 @@ cd ../ # Support GCC built for i586-slackware-linux: zcat $CWD/clang.toolchains.i586.triple.diff.gz | patch -p1 --verbose || exit 1 -# Hack to fix build with polly. Maybe we should just not use polly... ? -zcat $CWD/llvm.polly.hack.diff.gz | patch -p1 --verbose || exit 1 - # We require libatomic on 32-bit platforms: -if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then - zcat $CWD/lldb.32-bit.link.libatomic.diff.gz | patch -p1 --verbose || exit 1 +if [ -f ./tools/lldb/source/Utility/CMakeLists.txt ]; then + if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then + zcat $CWD/lldb.32-bit.link.libatomic.diff.gz | patch -p1 --verbose || exit 1 + fi fi -# Won't build without this. See https://github.com/llvm/llvm-project/issues/54941 -#zcat $CWD/llvm.bypass.broken.benchmarks.diff.gz | patch -p1 --verbose || exit 1 - -# Patch to fix build with glibc-2.36: -zcat $CWD/llvm.sanitizer_platform_limits_posix.cpp.glibc-2.36.diff.gz | patch -p1 --verbose || exit 1 - -# These hackish links seem to be required... +# This hackish link seems to be required... cd .. -ln -sf */utils/gn/secondary/third-party . ln -sf */runtimes . -ln -sf */projects/libcxx . -ln -sf */projects/libcxxabi . cd - chown -R root:root . @@ -210,19 +206,25 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLLVM_LIBDIR_SUFFIX=${LIBDIRSUFFIX} \ + -DLIBCXX_LIBDIR_SUFFIX=${LIBDIRSUFFIX} \ + -DLIBCXXABI_LIBDIR_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release \ $SHARED_LIBRARY_OPTIONS \ - -DLLVM_USE_LINKER=gold \ + -DLLVM_USE_LINKER=lld \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_FFI=ON \ + -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_ENABLE_ASSERTIONS=OFF \ + -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=NO \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ - -DCLANG_RESOURCE_DIR="../lib${LIBDIRSUFFIX}/clang/${VERSION}" \ + -DCLANG_RESOURCE_DIR="../lib${LIBDIRSUFFIX}/clang/$(echo $VERSION | cut -f 1 -d .)" \ -DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \ - -DLLDB_USE_SYSTEM_SIX=1 \ -DLLVM_INCLUDE_BENCHMARKS=OFF \ + -DLIBCXX_INCLUDE_BENCHMARKS=OFF \ -DCOMPILER_RT_BUILD_LIBFUZZER=OFF \ + -DCLANG_DEFAULT_PIE_ON_LINUX=ON \ + -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ $CLANGD \ .. || exit 1 @@ -248,6 +250,7 @@ if [ ! -r $PKG/usr/bin/lit-cpuid ]; then chown root:root $PKG/usr/bin/lit-cpuid chmod 755 $PKG/usr/bin/lit-cpuid fi + # Remove symlink to libgomp, which is already provided by gcc: rm -f $PKG/usr/lib$LIBDIRSUFFIX/libgomp.so diff --git a/source/d/llvm/llvm.polly.hack.diff b/source/d/llvm/llvm.polly.hack.diff deleted file mode 100644 index eb607ca2b..000000000 --- a/source/d/llvm/llvm.polly.hack.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- ./projects/polly/lib/CMakeLists.txt.orig 2020-03-23 10:01:02.000000000 -0500 -+++ ./projects/polly/lib/CMakeLists.txt 2020-03-24 14:47:14.602756953 -0500 -@@ -139,7 +139,8 @@ - ) - - # Polly-ACC requires the NVPTX target to be present in the executable it is linked to -- set_property(TARGET bugpoint APPEND PROPERTY LINK_LIBRARIES LLVMTarget) -+ # Randomly commented to fix build lol -+ #set_property(TARGET bugpoint APPEND PROPERTY LINK_LIBRARIES LLVMTarget) - endif () - - # Create a loadable module Polly.so that can be loaded using diff --git a/source/d/llvm/llvm.sanitizer_platform_limits_posix.cpp.glibc-2.36.diff b/source/d/llvm/llvm.sanitizer_platform_limits_posix.cpp.glibc-2.36.diff deleted file mode 100644 index 901741a06..000000000 --- a/source/d/llvm/llvm.sanitizer_platform_limits_posix.cpp.glibc-2.36.diff +++ /dev/null @@ -1,27 +0,0 @@ ---- ./projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp.orig 2022-06-22 11:46:24.000000000 -0500 -+++ ./projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp 2022-08-05 22:46:21.288664504 -0500 -@@ -73,7 +73,9 @@ - #include <sys/vt.h> - #include <linux/cdrom.h> - #include <linux/fd.h> -+#if SANITIZER_ANDROID - #include <linux/fs.h> -+#endif - #include <linux/hdreg.h> - #include <linux/input.h> - #include <linux/ioctl.h> -@@ -857,10 +859,10 @@ - unsigned IOCTL_EVIOCGPROP = IOCTL_NOT_PRESENT; - unsigned IOCTL_EVIOCSKEYCODE_V2 = IOCTL_NOT_PRESENT; - #endif -- unsigned IOCTL_FS_IOC_GETFLAGS = FS_IOC_GETFLAGS; -- unsigned IOCTL_FS_IOC_GETVERSION = FS_IOC_GETVERSION; -- unsigned IOCTL_FS_IOC_SETFLAGS = FS_IOC_SETFLAGS; -- unsigned IOCTL_FS_IOC_SETVERSION = FS_IOC_SETVERSION; -+ unsigned IOCTL_FS_IOC_GETFLAGS = _IOR('f', 1, long); -+ unsigned IOCTL_FS_IOC_GETVERSION = _IOR('v', 1, long); -+ unsigned IOCTL_FS_IOC_SETFLAGS = _IOW('f', 2, long); -+ unsigned IOCTL_FS_IOC_SETVERSION = _IOW('v', 2, long); - unsigned IOCTL_GIO_CMAP = GIO_CMAP; - unsigned IOCTL_GIO_FONT = GIO_FONT; - unsigned IOCTL_GIO_UNIMAP = GIO_UNIMAP; diff --git a/source/d/llvm/llvm.url b/source/d/llvm/llvm.url index 6defe5750..bad892337 100644 --- a/source/d/llvm/llvm.url +++ b/source/d/llvm/llvm.url @@ -1,25 +1,29 @@ -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/llvm-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/clang-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/clang-tools-extra-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/compiler-rt-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/flang-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/lldb-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/openmp-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/polly-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/libcxx-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/libcxxabi-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/lld-14.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/libunwind-14.0.6.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/llvm-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/clang-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/clang-tools-extra-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/compiler-rt-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/flang-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/lldb-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/openmp-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/polly-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/libcxx-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/libcxxabi-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/lld-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/libunwind-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/cmake-16.0.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/third-party-16.0.0.src.tar.xz -#http://llvm.org/releases/14.0.6/llvm-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/clang-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/clang-tools-extra-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/compiler-rt-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/flang-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/lldb-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/openmp-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/polly-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/libcxx-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/libcxxabi-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/lld-14.0.6.src.tar.xz -#http://llvm.org/releases/14.0.6/libunwind-14.0.6.src.tar.xz +#http://llvm.org/releases/16.0.0/llvm-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/clang-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/clang-tools-extra-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/compiler-rt-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/flang-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/lldb-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/openmp-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/polly-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/libcxx-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/libcxxabi-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/lld-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/libunwind-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/cmake-16.0.0.src.tar.xz +#http://llvm.org/releases/16.0.0/third-party-16.0.0.src.tar.xz diff --git a/source/d/ruby/ruby.SlackBuild b/source/d/ruby/ruby.SlackBuild index 092377804..d3c486f53 100755 --- a/source/d/ruby/ruby.SlackBuild +++ b/source/d/ruby/ruby.SlackBuild @@ -32,7 +32,7 @@ else VERSION=$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev) fi -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/k/kernel-configs/config-generic-6.1.21 b/source/k/kernel-configs/config-generic-6.1.22 index 667e579ba..2379501fa 100644 --- a/source/k/kernel-configs/config-generic-6.1.21 +++ b/source/k/kernel-configs/config-generic-6.1.22 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.21 Kernel Configuration +# Linux/x86 6.1.22 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0" CONFIG_CC_IS_GCC=y diff --git a/source/k/kernel-configs/config-generic-6.1.21.x64 b/source/k/kernel-configs/config-generic-6.1.22.x64 index ecdb3d259..8295dd39c 100644 --- a/source/k/kernel-configs/config-generic-6.1.21.x64 +++ b/source/k/kernel-configs/config-generic-6.1.22.x64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.21 Kernel Configuration +# Linux/x86 6.1.22 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0" CONFIG_CC_IS_GCC=y diff --git a/source/k/kernel-configs/config-generic-smp-6.1.21-smp b/source/k/kernel-configs/config-generic-smp-6.1.22-smp index ea63b8fb7..0e46e2129 100644 --- a/source/k/kernel-configs/config-generic-smp-6.1.21-smp +++ b/source/k/kernel-configs/config-generic-smp-6.1.22-smp @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.21 Kernel Configuration +# Linux/x86 6.1.22 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0" CONFIG_CC_IS_GCC=y diff --git a/source/k/kernel-configs/config-huge-6.1.21 b/source/k/kernel-configs/config-huge-6.1.22 index fd9a9be62..20e8fb760 100644 --- a/source/k/kernel-configs/config-huge-6.1.21 +++ b/source/k/kernel-configs/config-huge-6.1.22 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.21 Kernel Configuration +# Linux/x86 6.1.22 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0" CONFIG_CC_IS_GCC=y diff --git a/source/k/kernel-configs/config-huge-6.1.21.x64 b/source/k/kernel-configs/config-huge-6.1.22.x64 index 6fa9c463d..9603635d1 100644 --- a/source/k/kernel-configs/config-huge-6.1.21.x64 +++ b/source/k/kernel-configs/config-huge-6.1.22.x64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.21 Kernel Configuration +# Linux/x86 6.1.22 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0" CONFIG_CC_IS_GCC=y diff --git a/source/k/kernel-configs/config-huge-smp-6.1.21-smp b/source/k/kernel-configs/config-huge-smp-6.1.22-smp index ecf0b51e1..56c97ee53 100644 --- a/source/k/kernel-configs/config-huge-smp-6.1.21-smp +++ b/source/k/kernel-configs/config-huge-smp-6.1.22-smp @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.21 Kernel Configuration +# Linux/x86 6.1.22 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0" CONFIG_CC_IS_GCC=y diff --git a/source/kde/kde/build/kdevelop b/source/kde/kde/build/kdevelop index d00491fd7..0cfbf0888 100644 --- a/source/kde/kde/build/kdevelop +++ b/source/kde/kde/build/kdevelop @@ -1 +1 @@ -1 +2 diff --git a/source/kde/kde/cmake/kdevelop b/source/kde/kde/cmake/kdevelop new file mode 100644 index 000000000..0ef680aa1 --- /dev/null +++ b/source/kde/kde/cmake/kdevelop @@ -0,0 +1,28 @@ +# The -DCLANG_BUILTIN_DIR below is there because with our llvm-16.0.0 the +# cmake script to find the clang builtin includes directory doesn't seem +# to be working. In previous versions of LLVM the number in the path was +# the full version number (i.e. 16.0.0), but now it's just 16. Perhaps +# future versions of kdevelop will locate this properly, so test periodically +# to see if that's the case. +mkdir cmake-build +cd cmake-build + cmake \ + $KDE_OPT_ARGS \ + -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc/kde \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DLIB_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DQT_PLUGIN_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/plugins \ + -DQML_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/qml \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DBUILD_TESTING=OFF \ + -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \ + -DCLANG_BUILTIN_DIR=$(/bin/ls -d /usr/lib$LIBDIRSUFFIX/clang/*/include) \ + .. diff --git a/source/l/spirv-llvm-translator/1889.patch b/source/l/spirv-llvm-translator/1889.patch new file mode 100644 index 000000000..cd6f21e52 --- /dev/null +++ b/source/l/spirv-llvm-translator/1889.patch @@ -0,0 +1,73 @@ +From 98fadafeae0204defedd89f015f7fb88f2888b2f Mon Sep 17 00:00:00 2001 +From: Tulio Magno Quites Machado Filho <tuliom@redhat.com> +Date: Fri, 17 Mar 2023 14:27:10 -0300 +Subject: [PATCH] Fix standalone builds with LLVM_LINK_LLVM_DYLIB=ON + +Move the LLVM components to LINK_COMPONENTS because the DEPENDS list has +the same semantics as add_dependencies(). In this +case it doesn't include the LLVM components when calling the linker. +--- + lib/SPIRV/CMakeLists.txt | 47 ++++++++++++---------------------------- + 1 file changed, 14 insertions(+), 33 deletions(-) + +diff --git a/lib/SPIRV/CMakeLists.txt b/lib/SPIRV/CMakeLists.txt +index bbef00528..2810c6b2c 100644 +--- a/lib/SPIRV/CMakeLists.txt ++++ b/lib/SPIRV/CMakeLists.txt +@@ -38,42 +38,23 @@ set(SRC_LIST + libSPIRV/SPIRVType.cpp + libSPIRV/SPIRVValue.cpp + ) +-if(LLVM_LINK_LLVM_DYLIB) +- add_llvm_library(LLVMSPIRVLib STATIC DISABLE_LLVM_LINK_LLVM_DYLIB +- ${SRC_LIST} +- DEPENDS +- intrinsics_gen +- LLVMAnalysis +- LLVMBitWriter +- LLVMCodeGen +- LLVMCore +- LLVMDemangle +- LLVMIRReader +- LLVMLinker +- LLVMPasses +- LLVMSupport +- LLVMTargetParser +- LLVMTransformUtils +- ) +-else() +- add_llvm_library(LLVMSPIRVLib +- ${SRC_LIST} +- LINK_COMPONENTS +- Analysis +- BitWriter +- CodeGen +- Core +- Demangle +- IRReader +- Linker +- Passes +- Support +- TargetParser +- TransformUtils ++add_llvm_library(LLVMSPIRVLib STATIC DISABLE_LLVM_LINK_LLVM_DYLIB ++ ${SRC_LIST} ++ LINK_COMPONENTS ++ Analysis ++ BitWriter ++ CodeGen ++ Core ++ Demangle ++ IRReader ++ Linker ++ Passes ++ Support ++ TargetParser ++ TransformUtils + DEPENDS + intrinsics_gen + ) +-endif() + + target_include_directories(LLVMSPIRVLib + PRIVATE diff --git a/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild b/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild index 7caf33fa7..0abb464a2 100755 --- a/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild +++ b/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=spirv-llvm-translator VERSION=${VERSION:-$(echo SPIRV-LLVM-Translator-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -88,6 +88,9 @@ find . \ # the -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR option below. tar xf $CWD/SPIRV-Headers.tar.lz +# Fix -DBUILD_SHARED_LIBS=ON +zcat $CWD/1889.patch.gz | patch -p1 --verbose || exit 1 + # Build and install: mkdir -p build cd build @@ -100,9 +103,9 @@ cd build -DSYSCONF_INSTALL_DIR=/etc \ -DINCLUDE_INSTALL_DIR=/usr/include \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=$TMP/SPIRV-LLVM-Translator-$VERSION/SPIRV-Headers \ + -DBUILD_SHARED_LIBS=ON \ .. make $NUMJOBS || make || exit 1 make $NUMJOBS llvm-spirv || make llvm-spirv || exit 1 diff --git a/source/n/pssh/pssh.SlackBuild b/source/n/pssh/pssh.SlackBuild index 0b83be580..9aa9764dd 100755 --- a/source/n/pssh/pssh.SlackBuild +++ b/source/n/pssh/pssh.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=pssh VERSION=${VERSION:-$(echo pssh*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-6} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -70,6 +70,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +cp -a $CWD/setup.py . +chmod 755 setup.py + # Install python3 setup.py build install --root=$PKG diff --git a/source/n/pssh/setup.py b/source/n/pssh/setup.py new file mode 100644 index 000000000..fd19afd8a --- /dev/null +++ b/source/n/pssh/setup.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python + +import os + +from setuptools import setup + +from psshlib import version + +long_description = """PSSH (Parallel SSH) provides parallel versions of OpenSSH and related tools, including pssh, pscp, prsync, pnuke, and pslurp. The project includes psshlib which can be used within custom applications.""" + +setup( + name = "pssh", + version = version.VERSION, + author = "Andrew McNabb", + author_email = "amcnabb@mcnabbs.org", + url = "https://github.com/lilydjwg/pssh", + description = "Parallel version of OpenSSH and related tools", + long_description = long_description, + license = "BSD", + platforms = ['linux'], + + classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: BSD License", + "Operating System :: POSIX", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: System :: Clustering", + "Topic :: System :: Networking", + "Topic :: System :: Systems Administration", + ], + + packages = ['psshlib'], + scripts = [os.path.join("bin", p) for p in ["pssh", "pnuke", "prsync", "pslurp", "pscp", "pssh-askpass"]], + data_files = [('share/man/man1', [ + 'man/man1/pssh.1', 'man/man1/pscp.1', + 'man/man1/prsync.1', 'man/man1/pslurp.1', 'man/man1/pnuke.1', + ])], +) diff --git a/source/n/samba/samba.url b/source/n/samba/samba.url index bba455673..01adf212e 100644 --- a/source/n/samba/samba.url +++ b/source/n/samba/samba.url @@ -1,2 +1,2 @@ -https://download.samba.org/pub/samba/stable/samba-4.18.0.tar.gz -https://download.samba.org/pub/samba/stable/samba-4.18.0.tar.asc +https://download.samba.org/pub/samba/stable/samba-4.18.1.tar.gz +https://download.samba.org/pub/samba/stable/samba-4.18.1.tar.asc diff --git a/source/x/mesa/mesa.SlackBuild b/source/x/mesa/mesa.SlackBuild index 6f42f6607..eb8a61779 100755 --- a/source/x/mesa/mesa.SlackBuild +++ b/source/x/mesa/mesa.SlackBuild @@ -26,7 +26,7 @@ PKGNAM=mesa VERSION=${VERSION:-$(echo $PKGNAM-[0-9]*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} AMBERVERS=${AMBERVERS:-21.3.9} DEMOVERS=${DEMOVERS:-8.5.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} BUILD_AMBER=${BUILD_AMBER:-YES} BUILD_DEMOS=${BUILD_DEMOS:-YES} CODECS=${CODECS:-h264dec,h264enc,h265dec,h265enc,vc1dec} |