From 27f6232bb521a4539ab75a003ddc5914a0fee4d1273425d95ce09399200a01d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 17 Apr 2025 18:06:45 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main sqlite3 revision 0fc6e2ad05edbb872c27662bccb375d1 --- sqlite3.changes | 20 ++++++++++++++------ sqlite3.spec | 15 +++++++-------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/sqlite3.changes b/sqlite3.changes index c6cc3c1..48550f3 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,13 +1,21 @@ +------------------------------------------------------------------- +Tue Mar 11 21:34:05 UTC 2025 - Jan Engelhardt + +- Mark build recipe as POSIX-sh-incompatible +- Run mkdir/rm with verbose mode for the build log + ------------------------------------------------------------------- Tue Feb 18 16:21:23 UTC 2025 - Reinhard Max -- Update to release 3.19.1: +- Update to release 3.49.1: * 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. + * CVE-2025-29087, bsc#1241020: 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). + * CVE-2025-29088, bsc#1241078: Enhanced the + SQLITE_DBCONFIG_LOOKASIDE interface to make it more robust + against misuse. ------------------------------------------------------------------- Thu Feb 6 17:58:46 UTC 2025 - Reinhard Max diff --git a/sqlite3.spec b/sqlite3.spec index d2dbdbe..383e32d 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -16,6 +16,7 @@ # +%define _buildshell /bin/bash %define oname sqlite %define tarversion 3490100 %define docversion 3490100 @@ -66,7 +67,7 @@ application that supports the Qt database plug-ins. %package -n libsqlite3-0 Summary: Shared libraries for the Embeddable SQL Database Engine -Group: Development/Libraries/C and C++ +Group: System/Libraries %description -n libsqlite3-0 This package contains the shared libraries for the Embeddable SQL @@ -122,13 +123,12 @@ Group: Documentation/Other BuildArch: noarch %description doc - Contains HTML documentation for SQLite: SQL Syntax, C/C++ API and other documentation found on sqlite.org. The files can be found in %{_docdir}/%{name}-doc. %prep -# Version and %tarversion need to match, but %docversion might be different, +# Version and %%tarversion need to match, but %%docversion might be different, IFS=. read a b c d <<< "%version" if [ "%tarversion" != $(printf "%1d%02d%02d%02d" $a $b $c $d) ] then @@ -188,15 +188,14 @@ export CFLAGS="%{optflags} \ %install %make_install -#mkdir -p %{buildroot}/%{_mandir}/man{1,n}/ -install -Dp -m 0644 -t %{buildroot}/%{_mandir}/man1 sqlite3.1 -install -Dp -m 0644 -t %{buildroot}/%{_mandir}/mann autoconf/tea/doc/sqlite3.n +#mkdir -pv %{buildroot}/%{_mandir}/man{1,n}/ +install -Dpvm 0644 -t %{buildroot}/%{_mandir}/man1 sqlite3.1 +install -Dpvm 0644 -t %{buildroot}/%{_mandir}/mann autoconf/tea/doc/sqlite3.n # tcl bindings are provided by tcl itself #rm -rf %{buildroot}%{_libdir}/tcl/tcl8.?/sqlite3* find %{buildroot} -type f -name "*.la" -delete -print -%post -n libsqlite3-0 -p /sbin/ldconfig -%postun -n libsqlite3-0 -p /sbin/ldconfig +%ldconfig_scriptlets -n libsqlite3-0 %files %{_bindir}/sqlite3