summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-03-13 23:15:32 +0000
committer Eric Hameleers <alien@slackware.com>2023-03-14 02:41:42 +0100
commit335ab38e49db41f335c70c17e46b025899d41e55 (patch)
tree947cc805781dd1e86f88d18c3c072279b6403e15 /source
parent52e0d46f007bff2e4118bf4928e7f8c05e876364 (diff)
downloadcurrent-335ab38e49db41f335c70c17e46b025899d41e55.tar.gz
current-335ab38e49db41f335c70c17e46b025899d41e55.tar.xz
Mon Mar 13 23:15:32 UTC 202320230313231532
a/kernel-firmware-20230313_c761dbe-noarch-1.txz: Upgraded. a/kernel-generic-6.1.19-x86_64-1.txz: Upgraded. a/kernel-huge-6.1.19-x86_64-1.txz: Upgraded. a/kernel-modules-6.1.19-x86_64-1.txz: Upgraded. a/mcelog-192-x86_64-1.txz: Upgraded. d/ccache-4.8-x86_64-1.txz: Upgraded. d/kernel-headers-6.1.19-x86-1.txz: Upgraded. d/rust-1.67.1-x86_64-2.txz: Rebuilt. Moved here from /testing (not actually rebuilt). k/kernel-source-6.1.19-noarch-1.txz: Upgraded. l/imagemagick-7.1.1_3-x86_64-1.txz: Upgraded. n/vsftpd-3.0.5-x86_64-3.txz: Rebuilt. Patched to compile against openssl-3.0.8. Thanks to Stuart Winter. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. testing/packages/rust-1.68.0-x86_64-1.txz: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source')
-rwxr-xr-xsource/d/rust/rust.SlackBuild8
-rw-r--r--source/d/rust/rust.url6
-rw-r--r--source/k/kernel-configs/config-generic-6.1.19 (renamed from source/k/kernel-configs/config-generic-6.1.18)2
-rw-r--r--source/k/kernel-configs/config-generic-6.1.19.x64 (renamed from source/k/kernel-configs/config-generic-6.1.18.x64)2
-rw-r--r--source/k/kernel-configs/config-generic-smp-6.1.19-smp (renamed from source/k/kernel-configs/config-generic-smp-6.1.18-smp)2
-rw-r--r--source/k/kernel-configs/config-huge-6.1.19 (renamed from source/k/kernel-configs/config-huge-6.1.18)2
-rw-r--r--source/k/kernel-configs/config-huge-6.1.19.x64 (renamed from source/k/kernel-configs/config-huge-6.1.18.x64)2
-rw-r--r--source/k/kernel-configs/config-huge-smp-6.1.19-smp (renamed from source/k/kernel-configs/config-huge-smp-6.1.18-smp)2
-rw-r--r--source/n/vsftpd/vsftpd-3.0.5-replace-deprecated-openssl-functions.patch72
-rwxr-xr-xsource/n/vsftpd/vsftpd.SlackBuild5
10 files changed, 89 insertions, 14 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index cd9843830..0c926c00d 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
-VERSION=${VERSION:-1.66.1}
+VERSION=${VERSION:-1.67.1}
BUILD=${BUILD:-2}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
@@ -34,9 +34,9 @@ BUILD=${BUILD:-2}
SYSTEM_LLVM=${SYSTEM_LLVM:-YES}
# Bootstrap variables (might not be kept updated for latest Rust):
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.65.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2022-11-03}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-1.65.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.66.1}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2023-01-10}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-1.66.1}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
# Automatically determine the architecture we're building on:
diff --git a/source/d/rust/rust.url b/source/d/rust/rust.url
index 134650e43..570640395 100644
--- a/source/d/rust/rust.url
+++ b/source/d/rust/rust.url
@@ -1,5 +1,5 @@
# Source code (repacked to .tar.lz):
-VERSION=1.66.1
+VERSION=1.67.1
rm -f rustc-${VERSION}-src.tar.*
lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz
lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz.asc
@@ -20,8 +20,8 @@ fi
# update the settings below, look at src/stage0.json in the Rust sources.
exit 0
-BOOTSTRAP_DATE=2022-11-03
-BOOTSTRAP_VERSION=1.65.0
+BOOTSTRAP_DATE=2023-01-10
+BOOTSTRAP_VERSION=1.66.1
BOOTSTRAP_CARGO=$BOOTSTRAP_VERSION
# i686 bootstrap:
diff --git a/source/k/kernel-configs/config-generic-6.1.18 b/source/k/kernel-configs/config-generic-6.1.19
index 930e6c7d6..400ed5fc5 100644
--- a/source/k/kernel-configs/config-generic-6.1.18
+++ b/source/k/kernel-configs/config-generic-6.1.19
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 6.1.18 Kernel Configuration
+# Linux/x86 6.1.19 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.18.x64 b/source/k/kernel-configs/config-generic-6.1.19.x64
index 61d6942fc..1a98fd909 100644
--- a/source/k/kernel-configs/config-generic-6.1.18.x64
+++ b/source/k/kernel-configs/config-generic-6.1.19.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 6.1.18 Kernel Configuration
+# Linux/x86 6.1.19 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.18-smp b/source/k/kernel-configs/config-generic-smp-6.1.19-smp
index 553fb52e2..90fb79dcc 100644
--- a/source/k/kernel-configs/config-generic-smp-6.1.18-smp
+++ b/source/k/kernel-configs/config-generic-smp-6.1.19-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 6.1.18 Kernel Configuration
+# Linux/x86 6.1.19 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.18 b/source/k/kernel-configs/config-huge-6.1.19
index a2d32bdfc..a22cfaf4b 100644
--- a/source/k/kernel-configs/config-huge-6.1.18
+++ b/source/k/kernel-configs/config-huge-6.1.19
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 6.1.18 Kernel Configuration
+# Linux/x86 6.1.19 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.18.x64 b/source/k/kernel-configs/config-huge-6.1.19.x64
index b5fd36b87..0b9c311b4 100644
--- a/source/k/kernel-configs/config-huge-6.1.18.x64
+++ b/source/k/kernel-configs/config-huge-6.1.19.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 6.1.18 Kernel Configuration
+# Linux/x86 6.1.19 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.18-smp b/source/k/kernel-configs/config-huge-smp-6.1.19-smp
index 7eb2ad743..412dd1083 100644
--- a/source/k/kernel-configs/config-huge-smp-6.1.18-smp
+++ b/source/k/kernel-configs/config-huge-smp-6.1.19-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 6.1.18 Kernel Configuration
+# Linux/x86 6.1.19 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y
diff --git a/source/n/vsftpd/vsftpd-3.0.5-replace-deprecated-openssl-functions.patch b/source/n/vsftpd/vsftpd-3.0.5-replace-deprecated-openssl-functions.patch
new file mode 100644
index 000000000..d56373e99
--- /dev/null
+++ b/source/n/vsftpd/vsftpd-3.0.5-replace-deprecated-openssl-functions.patch
@@ -0,0 +1,72 @@
+https://src.fedoraproject.org/rpms/vsftpd/raw/rawhide/f/vsftpd-3.0.5-replace-deprecated-openssl-functions.patch
+
+diff --git a/ssl.c b/ssl.c
+--- ssl.c
++++ ssl.c
+@@ -28,17 +28,17 @@
+ #include <openssl/err.h>
+ #include <openssl/rand.h>
+ #include <openssl/bio.h>
+ #include <openssl/bn.h>
+ #include <openssl/param_build.h>
+ #include <errno.h>
+ #include <limits.h>
+
+ static char* get_ssl_error();
+ static SSL* get_ssl(struct vsf_session* p_sess, int fd);
+ static int ssl_session_init(struct vsf_session* p_sess);
+ static void setup_bio_callbacks();
+ static long bio_callback(
+- BIO* p_bio, int oper, const char* p_arg, int argi, long argl, long retval);
++ BIO* p_bio, int oper, const char* p_arg, size_t len, int argi, long argl, int ret, size_t *processed);
+ static int ssl_verify_callback(int verify_ok, X509_STORE_CTX* p_ctx);
+ static int ssl_alpn_callback(SSL* p_ssl,
+ const unsigned char** p_out,
+@@ -88,7 +88,7 @@
+ long options;
+ int verify_option = 0;
+ SSL_library_init();
+- p_ctx = SSL_CTX_new(SSLv23_server_method());
++ p_ctx = SSL_CTX_new_ex(NULL, NULL, SSLv23_server_method());
+ if (p_ctx == NULL)
+ {
+ die("SSL: could not allocate SSL context");
+@@ -180,13 +180,10 @@
+ die("SSL: RNG is not seeded");
+ }
+ {
+- EC_KEY* key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
+- if (key == NULL)
++ if (!SSL_CTX_set1_groups_list(p_ctx, "P-256"))
+ {
+ die("SSL: failed to get curve p256");
+ }
+- SSL_CTX_set_tmp_ecdh(p_ctx, key);
+- EC_KEY_free(key);
+ }
+ if (tunable_ssl_request_cert)
+ {
+@@ -692,17 +689,19 @@
+ static void setup_bio_callbacks(SSL* p_ssl)
+ {
+ BIO* p_bio = SSL_get_rbio(p_ssl);
+- BIO_set_callback(p_bio, bio_callback);
++ BIO_set_callback_ex(p_bio, bio_callback);
+ p_bio = SSL_get_wbio(p_ssl);
+- BIO_set_callback(p_bio, bio_callback);
++ BIO_set_callback_ex(p_bio, bio_callback);
+ }
+
+ static long
+ bio_callback(
+- BIO* p_bio, int oper, const char* p_arg, int argi, long argl, long ret)
++ BIO* p_bio, int oper, const char* p_arg, size_t len, int argi, long argl, int ret, size_t *processed)
+ {
+ int retval = 0;
+ int fd = 0;
++ (void) len;
++ (void) processed;
+ (void) p_arg;
+ (void) argi;
+ (void) argl;
+
diff --git a/source/n/vsftpd/vsftpd.SlackBuild b/source/n/vsftpd/vsftpd.SlackBuild
index a7879a5fe..fcd92dc79 100755
--- a/source/n/vsftpd/vsftpd.SlackBuild
+++ b/source/n/vsftpd/vsftpd.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2016, 2018, 2021 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2016, 2018, 2021, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -72,7 +72,10 @@ find . \
zcat $CWD/vsftpd.builddefs.diff.gz | patch -p1 --verbose || exit 1
zcat $CWD/vsftpd.conf.diff.gz | patch -p1 --verbose || exit 1
zcat $CWD/vsftpd.crypt.diff.gz | patch -p1 --verbose || exit 1
+# OpenSSL3:
+zcat $CWD/vsftpd-3.0.5-replace-deprecated-openssl-functions.patch.gz | patch -Np1 --fuzz=20 --verbose || exit 1
+# Build:
make $NUMJOBS || make || exit 1
mkdir -p $PKG/usr/sbin