Sync from SUSE:SLFO:Main sqlite3 revision 0fc6e2ad05edbb872c27662bccb375d1

This commit is contained in:
2025-04-17 18:06:45 +02:00
parent 57c829c09c
commit 27f6232bb5
2 changed files with 21 additions and 14 deletions

View File

@@ -1,13 +1,21 @@
-------------------------------------------------------------------
Tue Mar 11 21:34:05 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- 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 <max@suse.com>
- 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 <max@suse.com>

View File

@@ -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