Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sqlcipher for openSUSE:Factory 
checked in at 2026-08-19 17:59:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sqlcipher (Old)
 and      /work/SRC/openSUSE:Factory/.sqlcipher.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sqlcipher"

Wed Aug 19 17:59:30 2026 rev:24 rq:1371935 version:4.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sqlcipher/sqlcipher.changes      2026-07-10 
17:47:17.565435455 +0200
+++ /work/SRC/openSUSE:Factory/.sqlcipher.new.1258/sqlcipher.changes    
2026-08-19 18:01:44.631367057 +0200
@@ -1,0 +2,12 @@
+Wed Aug 19 07:22:51 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 4.18.0:
+  * Update SQLite baseline from 3.53.3 to 3.53.4
+  * Fix GCC "relocation truncated to fit" link error for
+    optimized x86_64 builds (gh#sqlcipher/sqlcipher#600)
+- Re-enable LTO now that the xoshiro TLS relocation overflow
+  from 4.17.0 is fixed upstream
+- Add a %check smoke test for the encryption path
+- Explicitly BuildRequires gcc and make
+
+-------------------------------------------------------------------

Old:
----
  sqlcipher-4.17.0.tar.gz

New:
----
  sqlcipher-4.18.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sqlcipher.spec ++++++
--- /var/tmp/diff_new_pack.YwQTU2/_old  2026-08-19 18:01:45.341392565 +0200
+++ /var/tmp/diff_new_pack.YwQTU2/_new  2026-08-19 18:01:45.342392601 +0200
@@ -18,13 +18,15 @@
 
 %define         sover 0
 Name:           sqlcipher
-Version:        4.17.0
+Version:        4.18.0
 Release:        0
 Summary:        SQLite database encryption
 License:        BSD-3-Clause
 URL:            http://sqlcipher.net
 Source:         
https://github.com/sqlcipher/sqlcipher/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:       baselibs.conf
+BuildRequires:  gcc
+BuildRequires:  make
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  readline-devel
@@ -73,11 +75,6 @@
 %autosetup
 
 %build
-# Disable LTO: sqlcipher 4.17.0 (SQLite 3.53.3) adds a thread-local xoshiro 
PRNG
-# state; under -flto the x86_64 sqlite3 shell link fails with "relocation
-# truncated to fit: R_X86_64_TPOFF32 against symbol xoshiro_s.lto_priv.0". The
-# overflow is x86_64-specific (local-exec TLS) and only appears with LTO.
-%define _lto_cflags %{nil}
 # sqlcipher 4.16.0 switched to SQLite's autosetup configure and now builds the
 # upstream sqlite3/libsqlite3 names by default.  Following Debian and Arch:
 #  * $CC is exported so the compiler is not derived from %%configure's --host
@@ -113,6 +110,18 @@
   %{buildroot}%{_libdir}/pkgconfig/sqlcipher.pc
 find %{buildroot} -type f -name "*.la" -delete -print
 
+%check
+# Smoke-test the encryption path against the just-installed binary/library.
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
+sqlcipher=%{buildroot}%{_bindir}/sqlcipher
+rm -f smoke.db
+"$sqlcipher" smoke.db "PRAGMA key='smoke'; CREATE TABLE t(x INTEGER); INSERT 
INTO t VALUES(42);"
+if "$sqlcipher" smoke.db "SELECT x FROM t;" >/dev/null 2>&1; then
+  echo "sqlcipher allowed an unkeyed read of an encrypted database" >&2
+  exit 1
+fi
+"$sqlcipher" smoke.db "PRAGMA key='smoke'; SELECT x FROM t;" | grep -qx 42
+
 %ldconfig_scriptlets -n libsqlcipher%{sover}
 
 %files

++++++ sqlcipher-4.17.0.tar.gz -> sqlcipher-4.18.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/sqlcipher/sqlcipher-4.17.0.tar.gz 
/work/SRC/openSUSE:Factory/.sqlcipher.new.1258/sqlcipher-4.18.0.tar.gz differ: 
char 15, line 1

Reply via email to