From patchwork Wed Feb 19 13:30:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8468 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4YycjF73mxz3xF3 for ; Wed, 19 Feb 2025 13:30:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4YycjB0gNlz4fH; Wed, 19 Feb 2025 13:30:54 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Yycj94yD6z33fX; Wed, 19 Feb 2025 13:30:53 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Yycj73S1Qz32PH for ; Wed, 19 Feb 2025 13:30:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Yycj71zSgz4Zq; Wed, 19 Feb 2025 13:30:51 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1739971851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9rCFnDec5ZPimeCkrw/sjdOD3Sbxg7p0FcGZi0qW7uc=; b=MPh5ih2yd50cewdG1M5CdbGzgir+8w85ni2a2u3ZHv3sGDsOZLhHWWEUqXWNtaefBF4SaX d1Fr0BgsAYq8zLDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1739971851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9rCFnDec5ZPimeCkrw/sjdOD3Sbxg7p0FcGZi0qW7uc=; b=shlcBKpusgkdUONiXLRKGXjYoxK+/8/zQtL7g6AQHw7w+Ak1eZsUloLapUhlZDevIZQWdy woyCZv/up+HA90YyfZXRmjFtffD8xCra9943umWa0vzppli/oI6Ax5NLv+6KOKyU9wDAO/ 1ZEWJSUv0Ly+E3chz6HpoY4ksh5NjID8a6br4iC8b8qged9PA41vkk13IaYlFSBaOObFS3 mYElKTz7iJsWuPE7GULA7mf73IPbO7G6XkBI3j89pMNptXi3hjs5ShHdIdbcYubUt6fh87 9zH2z41BYPRd0vT+PXuHIv6rFcT/MBqn/9jTRJdDezaGJeoFISgOgQqYZ6Q11Q== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] sqlite: Update to version 3490100 Date: Wed, 19 Feb 2025 14:30:44 +0100 Message-ID: <20250219133044.3222870-2-adolf.belka@ipfire.org> In-Reply-To: <20250219133044.3222870-1-adolf.belka@ipfire.org> References: <20250219133044.3222870-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: FADHJHQOIV5CBXUB6TWJWSN5QYWAAQR4 X-Message-ID-Hash: FADHJHQOIV5CBXUB6TWJWSN5QYWAAQR4 X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 3470200 to 3490100 - Update of rootfile - Changelog 3490100 Improve portability of makefiles and configure scripts. Fix a bug in the concat_ws() function, introduced in version 3.44.0, that could lead to a memory error if the separator string is very large (hundreds of megabytes). Enhanced the SQLITE_DBCONFIG_LOOKASIDE interface to make it more robust against misuse. 3490000 Enhancements to the query planner: Improve the query-time index optimization so that it works on WITHOUT ROWID tables. Better query plans for large star-query joins. This fixes three different performance regressions that were reported on the SQLite Forum. When two or more queries have the same estimated cost, use the one with the fewer bytes per row. Enhance the iif() SQL function so that it can accept any number of arguments greater than or equal to two. Enhance the session extension so that it works on databases that make use of generated columns. Omit the SQLITE_USE_STDIO_FOR_CONSOLE compile-time option which was not implemented correctly and never worked right. In its place add the SQLITE_USE_W32_FOR_CONSOLE_IO compile-time option. This option applies to command-line tools like the CLI only, not to the SQLite core. It causes Win32 APIs to be used for console I/O instead of stdio. This option affects Windows builds only. Three new options to sqlite3_db_config(). All default to "on". SQLITE_DBCONFIG_ENABLE_ATTACH_CREATE SQLITE_DBCONFIG_ENABLE_ATTACH_WRITE SQLITE_DBCONFIG_ENABLE_COMMENTS Replace Autotools with Autosetup for the configure script used in the precompiled amalgamation tarball. The configure script for the canonical source code was changed to Autosetup in the previous (3.48.0) release. Only the main SQLite configure script in the amalgamation tarball is changed. The (deprecated) configuration script use by TEA subdirectory of the amalgamation tarball still relies on Autotools. Various minor patches and fixes for problems seen in the 3.48.0 release. 3480000 Refactor the "configure" script used to help build SQLite from canonical sources, to fix bugs, improve performance, and make the code more maintainable. This does not affect the "configure" script in the sqlite3-autoconf-NNNNNNN.tar.gz "amalgamation tarball", only the canonical sources. The build system for the amalgamation tarball is unchanged. If you are using the amalgamation tarball, nothing about this change log entry applies to you. The key innovation here is that Autosetup is now used instead of GNU Autoconf. That seems like a big change, but it is really just an implementation detail. The ./configure script is coded very differently, but should work the same as before. One advantage of the new configure is that you no longer need to install TCL in order to build most SQLite targets. TCL is still required to run tests or to build accessory programs (like sqlite3_analyzer) that use TCL, but it is not required for most common targets. Hence, as of this release, the only build dependencies are a C compiler and "make" or "nmake". Improved EXPLAIN QUERY PLAN output for covering indexes. Allow a two-argument version of the iif() SQL function. Also allow if() as an alternative spelling for iif(). Add the ".dbtotxt" command to the CLI. Add the SQLITE_IOCAP_SUBPAGE_READ property to the xDeviceCharacteristics method of the sqlite3_io_methods object. Add the SQLITE_PREPARE_DONT_LOG option to sqlite3_prepare_v3() that prevents warning messages being sent to the error log if the SQL is ill-formed. This allows sqlite3_prepare_v3() to be used to do test compiles of SQL to check for validity without polluting the error log with false messages. Increase the minimum allowed value of SQLITE_LIMIT_LENGTH from 1 to 30. Added the SQLITE_FCNTL_NULL_IO file control. Extend the FTS5 auxiliary API xInstToken() to work with prefix queries via the insttoken configuration option and the fts5_insttoken() SQL function. Increase the maximum number of arguments to an SQL function from 127 to 1000. Remove vestigial traces of SQLITE_USER_AUTHENTICATION. Various obscure bug fixes. Signed-off-by: Adolf Belka --- config/rootfiles/common/sqlite | 4 +--- lfs/sqlite | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config/rootfiles/common/sqlite b/config/rootfiles/common/sqlite index c3863bdb7..074e1f685 100644 --- a/config/rootfiles/common/sqlite +++ b/config/rootfiles/common/sqlite @@ -1,10 +1,8 @@ usr/bin/sqlite3 #usr/include/sqlite3.h #usr/include/sqlite3ext.h -#usr/lib/libsqlite3.a -#usr/lib/libsqlite3.la #usr/lib/libsqlite3.so usr/lib/libsqlite3.so.0 -usr/lib/libsqlite3.so.0.8.6 +usr/lib/libsqlite3.so.3.49.1 #usr/lib/pkgconfig/sqlite3.pc #usr/share/man/man1/sqlite3.1 diff --git a/lfs/sqlite b/lfs/sqlite index ee7d96033..ea3edcec2 100644 --- a/lfs/sqlite +++ b/lfs/sqlite @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2024 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 3470200 +VER = 3490100 THISAPP = sqlite-autoconf-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 3c2ea6cba87f5850a9c2355cc213182d351a9d7b26687f77c07178526b300eec19040804a713e6fa3db704dcb4e0e4921ef849f6bc14496adcfc22875048c640 +$(DL_FILE)_BLAKE2 = 08f9379977b9a7962de5283cb532ecdd500e6e9b00d5e64e14e323777b47ea90e15745528d441328b7907060b7f594dc5054b327b471189477e595c0575c43a0 install : $(TARGET)