pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 30 18:39:24 UTC 2025

Modified Files:
        pkgsrc/databases/sqlite3: Makefile.common distinfo
        pkgsrc/databases/sqlite3-docs: PLIST distinfo
        pkgsrc/databases/sqlite3-tcl: Makefile PLIST distinfo
        pkgsrc/devel/lemon: distinfo
Removed Files:
        pkgsrc/databases/sqlite3-tcl/patches: patch-Makefile.in patch-configure

Log Message:
sqlite3: updated to 3.50.2

Prior changes from version 3.50.0 (2025-05-29):

Add the sqlite3_setlk_timeout() interface which sets a separate timeout, distinct from the sqlite3_busy_timeout(), for blocking locks on builds that support blocking locks.
The SQLITE_DBCONFIG_ENABLE_COMMENTS constraint (added in the previous release) is relaxed slightly so that comments are always allowed when reading the schema out of a pre-existing sqlite_schema 
table. Comments are only blocked in new SQL.
New SQL functions:
unistr()
unistr_quote()
For the %Q and %q conversions in the built-in printf() (which covers the sqlite3_mprintf() API and the format() SQL function and similar) the alternate-form-1 flag ("#") causes control characters to 
be converted into backslash-escapes suitable for unistr().
CLI enhancements:
Avoids direct output of most control characters.
The output of the .dump command makes use of the new unistr() SQL function to encode special characters, unless the --escape mode is set to off.
Better formatting of complex partial indexes in the output from the ".schema --indent" command.
Enhancements to sqlite3_rsync:
The requirement that the database be in WAL mode has been removed.
The sync protocol is enhanced to use less network bandwidth when both sides start out being very similar to one another.
The sqlite3_rsync program now works on Macs without having to specify the full pathname of the sqlite3_rsync executable on the remote side as long as you install the sqlite3_rsync executable in one 
of these directories: $HOME/bin:/usr/local/bin:/opt/homebrew/bin
Changes to JSON functions:
Bug fix: Enforce the JSON5 restriction that the "\0" escape must not be followed by a digit.
Bug fix: When the LABEL argument to json_group_object(LABEL,VALUE) is NULL, that element of the resulting object is omitted.
Optimization: If the jsonb_set() or jsonb_replace() functions make a change in the interior of a large JSONB object, they strive to keep the size of the JSONB object unchanged and to modify as few 
bytes as possible on the interior of the object. This helps reduce I/O as it allows SQLite to write only the page that contains the changed bytes and not all the surrounding pages.
Improved support for building on Cygwin and MinGW and similar, as well as Termux.
Typo fixes in the documentation and in the source code comments.
Miscellaneous performance improvements.
JavaScript/WASM:
Fix a long-standing filename digest calculation bug in the OPFS SAHPool VFS. Databases created in that VFS by 3.50.0+ cannot be read by older versions of the VFS, but 3.50.0 can backwards-compatibly 
work with existing databases created by older versions.

Prior changes from version 3.50.1 (2025-06-06):

Fix a long-standing bug in jsonb_set() and similar that was exposed by new optimizations added in version 3.50.0.
Fix an apparently harmless ASAN warning that can occur on builds that use -DSQLITE_DEFAULT_MEMSTATUS=0.
Fix an off-by-one bug in sqlite3_rsync that can result in the last page not being transferred for the replicate database.
Query planner optimization: Allow the right-hand side of a LEFT JOIN to be flattened even if it is a virtual table.
Fix sqlite3_setlk_timeout() to use a blocking lock when opening a snapshot transaction and when blocked by another process running recovery.
Other minor fixes that were reported after the 3.50.0 release.

Changes in this specific patch release, version 3.50.2 (2025-06-28):

Fix the concat_ws() SQL function so that it includes empty strings in the concatenation. Forum post 52503ac21d.
Fix the file-io extension (used by the CLI) so that it can be built using the MinGW compiler chain.
Avoid writing frames with no checksums into the wal file if a savepoint is rolled back after dirty pages have already been spilled into the wal file. Forum post b490f726db.
Fix the Bitvec object to avoid stack overflow when the database is within 60 pages of its maximum size.
Fix a problem with UPDATEs on fts5 tables that contain BLOB values.
Fix an issue with transitive IS constraints on a RIGHT JOIN.
Raise an error early if the number of aggregate terms in a query exceeds the maximum number of columns, to avoid downstream assertion faults.
Ensure that sqlite3_setlk_timeout() holds the database mutex.
Fix typos in API documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 pkgsrc/databases/sqlite3/Makefile.common
cvs rdiff -u -r1.213 -r1.214 pkgsrc/databases/sqlite3/distinfo
cvs rdiff -u -r1.141 -r1.142 pkgsrc/databases/sqlite3-docs/PLIST
cvs rdiff -u -r1.144 -r1.145 pkgsrc/databases/sqlite3-docs/distinfo
cvs rdiff -u -r1.126 -r1.127 pkgsrc/databases/sqlite3-tcl/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/sqlite3-tcl/PLIST
cvs rdiff -u -r1.158 -r1.159 pkgsrc/databases/sqlite3-tcl/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/databases/sqlite3-tcl/patches/patch-Makefile.in
cvs rdiff -u -r1.7 -r0 pkgsrc/databases/sqlite3-tcl/patches/patch-configure
cvs rdiff -u -r1.85 -r1.86 pkgsrc/devel/lemon/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/sqlite3/Makefile.common
diff -u pkgsrc/databases/sqlite3/Makefile.common:1.119 pkgsrc/databases/sqlite3/Makefile.common:1.120
--- pkgsrc/databases/sqlite3/Makefile.common:1.119      Tue May 20 16:47:52 2025
+++ pkgsrc/databases/sqlite3/Makefile.common    Mon Jun 30 18:39:24 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.119 2025/05/20 16:47:52 schmonz Exp $
+# $NetBSD: Makefile.common,v 1.120 2025/06/30 18:39:24 adam Exp $
 #
 # used by databases/sqlite3/Makefile
 # used by databases/sqlite3-diff/Makefile
@@ -6,8 +6,8 @@
 # used by databases/sqlite3-tcl/Makefile
 # used by devel/lemon/Makefile
 
-SQLITE3_DISTVERSION=   3490200
-SQLITE3_VERSION=       3.49.2
+SQLITE3_DISTVERSION=   3500200
+SQLITE3_VERSION=       3.50.2
 
 MASTER_SITES=  http://www.sqlite.org/2025/
 MASTER_SITES+= http://www.hwaci.com/sw/sqlite/2025/

Index: pkgsrc/databases/sqlite3/distinfo
diff -u pkgsrc/databases/sqlite3/distinfo:1.213 pkgsrc/databases/sqlite3/distinfo:1.214
--- pkgsrc/databases/sqlite3/distinfo:1.213     Thu May  8 04:57:14 2025
+++ pkgsrc/databases/sqlite3/distinfo   Mon Jun 30 18:39:24 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.213 2025/05/08 04:57:14 adam Exp $
+$NetBSD: distinfo,v 1.214 2025/06/30 18:39:24 adam Exp $
 
-BLAKE2s (sqlite-autoconf-3490200.tar.gz) = 514e948874b327dc46c81603dd651c2d184c5dbcc6a8ec23a7c0e648164535d3
-SHA512 (sqlite-autoconf-3490200.tar.gz) = 59bbed0f49bcc17abcc3ba180858c7a7128038e43fd0b24a786505f0223340f85eb956e64a2b66e245d0b8d0769daa5e4688ae4686c64fc8ff91c546acce0070
-Size (sqlite-autoconf-3490200.tar.gz) = 3230309 bytes
+BLAKE2s (sqlite-autoconf-3500200.tar.gz) = 478ccccc3548515115ee8750f535212a6d5aa58155b1791975538bb9aaf8ee15
+SHA512 (sqlite-autoconf-3500200.tar.gz) = 678e2fd4b6404a094d1222f228ef3bc7de25b821dcab6f469df72e8276fb971cd6ffde443d5b2ce4baa38e5939e83bed61e944ad44d6c5c3c2fd87cc631edd8f
+Size (sqlite-autoconf-3500200.tar.gz) = 3172568 bytes
 SHA1 (patch-autosetup_proj.tcl) = b0e8241e57e82a1dadd721a64128f62e7409f600

Index: pkgsrc/databases/sqlite3-docs/PLIST
diff -u pkgsrc/databases/sqlite3-docs/PLIST:1.141 pkgsrc/databases/sqlite3-docs/PLIST:1.142
--- pkgsrc/databases/sqlite3-docs/PLIST:1.141   Thu May  8 04:57:14 2025
+++ pkgsrc/databases/sqlite3-docs/PLIST Mon Jun 30 18:39:24 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.141 2025/05/08 04:57:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.142 2025/06/30 18:39:24 adam Exp $
 share/doc/sqlite3/34to35.html
 share/doc/sqlite3/35to36.html
 share/doc/sqlite3/about.html
@@ -65,6 +65,7 @@ share/doc/sqlite3/c3ref/c_prepare_dont_l
 share/doc/sqlite3/c3ref/c_scanstat_complex.html
 share/doc/sqlite3/c3ref/c_scanstat_est.html
 share/doc/sqlite3/c3ref/c_serialize_nocopy.html
+share/doc/sqlite3/c3ref/c_setlk_block_on_connect.html
 share/doc/sqlite3/c3ref/c_shm_exclusive.html
 share/doc/sqlite3/c3ref/c_shm_nlock.html
 share/doc/sqlite3/c3ref/c_source_id.html
@@ -172,6 +173,7 @@ share/doc/sqlite3/c3ref/result_subtype.h
 share/doc/sqlite3/c3ref/serialize.html
 share/doc/sqlite3/c3ref/set_authorizer.html
 share/doc/sqlite3/c3ref/set_last_insert_rowid.html
+share/doc/sqlite3/c3ref/setlk_timeout.html
 share/doc/sqlite3/c3ref/sleep.html
 share/doc/sqlite3/c3ref/snapshot.html
 share/doc/sqlite3/c3ref/snapshot_cmp.html
@@ -707,6 +709,9 @@ share/doc/sqlite3/releaselog/3_49_2.html
 share/doc/sqlite3/releaselog/3_4_0.html
 share/doc/sqlite3/releaselog/3_4_1.html
 share/doc/sqlite3/releaselog/3_4_2.html
+share/doc/sqlite3/releaselog/3_50_0.html
+share/doc/sqlite3/releaselog/3_50_1.html
+share/doc/sqlite3/releaselog/3_50_2.html
 share/doc/sqlite3/releaselog/3_5_0.html
 share/doc/sqlite3/releaselog/3_5_1.html
 share/doc/sqlite3/releaselog/3_5_2.html
@@ -858,7 +863,6 @@ share/doc/sqlite3/session/sqlite3changes
 share/doc/sqlite3/session/sqlite3changeset_op.html
 share/doc/sqlite3/session/sqlite3changeset_pk.html
 share/doc/sqlite3/session/sqlite3changeset_start.html
-share/doc/sqlite3/session/sqlite3changeset_upgrade.html
 share/doc/sqlite3/session/sqlite3rebaser_configure.html
 share/doc/sqlite3/session/sqlite3rebaser_create.html
 share/doc/sqlite3/session/sqlite3rebaser_delete.html

Index: pkgsrc/databases/sqlite3-docs/distinfo
diff -u pkgsrc/databases/sqlite3-docs/distinfo:1.144 pkgsrc/databases/sqlite3-docs/distinfo:1.145
--- pkgsrc/databases/sqlite3-docs/distinfo:1.144        Thu May  8 04:57:14 2025
+++ pkgsrc/databases/sqlite3-docs/distinfo      Mon Jun 30 18:39:24 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.144 2025/05/08 04:57:14 adam Exp $
+$NetBSD: distinfo,v 1.145 2025/06/30 18:39:24 adam Exp $
 
-BLAKE2s (sqlite-doc-3490200.zip) = 552694c2fcb9919a15d1373917e4559a6935c075593f17f67ac03cfcabe4e2a8
-SHA512 (sqlite-doc-3490200.zip) = 0ea707eb52d019f20157a5b5334340169981547b0714ed58912df932fb76dd0d2cabb6ed3afaefcda24e5477ccbc3cdc1fc81a761d792c06dbad3cc3928a3368
-Size (sqlite-doc-3490200.zip) = 11340124 bytes
+BLAKE2s (sqlite-doc-3500200.zip) = 0f2e89a4957a071ac4bd791518ff8c578328c41fd4042e3dc4296989845a15fb
+SHA512 (sqlite-doc-3500200.zip) = d1dbec8bc41cc83d2fd048cdc353e44f1ae4a60949aabec1e5aee50485f8535efba85bdae88f93785c8e53d48feb76b8143f272d70f73ce13368815f978bd4bc
+Size (sqlite-doc-3500200.zip) = 11382890 bytes

Index: pkgsrc/databases/sqlite3-tcl/Makefile
diff -u pkgsrc/databases/sqlite3-tcl/Makefile:1.126 pkgsrc/databases/sqlite3-tcl/Makefile:1.127
--- pkgsrc/databases/sqlite3-tcl/Makefile:1.126 Thu May  8 04:57:14 2025
+++ pkgsrc/databases/sqlite3-tcl/Makefile       Mon Jun 30 18:39:24 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2025/05/08 04:57:14 adam Exp $
+# $NetBSD: Makefile,v 1.127 2025/06/30 18:39:24 adam Exp $
 
 .include "../../databases/sqlite3/Makefile.common"
 
@@ -12,8 +12,9 @@ COMMENT=      SQL Database Engine in a C Libr
 WRKSRC=                ${WRKDIR}/${DISTNAME}/tea
 
 USE_TOOLS+=            gmake
-GNU_CONFIGURE=         yes
+HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
+INSTALL_TARGET=                install-core
 
 PLIST_SUBST+=          TCL_TRIM_DOTS=${PKGVERSION_NOREV:S/.//g}
 
@@ -28,8 +29,8 @@ post-extract:
 .if ${OPSYS} == "Darwin"
 post-install:
        install_name_tool -id \
-           ${PREFIX}/lib/sqlite3/libsqlite${PKGVERSION_NOREV}.dylib \
-           ${DESTDIR}${PREFIX}/lib/sqlite3/libsqlite${PKGVERSION_NOREV}.dylib
+           ${PREFIX}/lib/tcl8.6/sqlite${PKGVERSION_NOREV}/libsqlite${PKGVERSION_NOREV}.dylib \
+           ${DESTDIR}${PREFIX}/lib/tcl8.6/sqlite${PKGVERSION_NOREV}/libsqlite${PKGVERSION_NOREV}.dylib
 .endif
 
 .include "../../databases/sqlite3/buildlink3.mk"

Index: pkgsrc/databases/sqlite3-tcl/PLIST
diff -u pkgsrc/databases/sqlite3-tcl/PLIST:1.9 pkgsrc/databases/sqlite3-tcl/PLIST:1.10
--- pkgsrc/databases/sqlite3-tcl/PLIST:1.9      Tue Feb  4 13:28:08 2014
+++ pkgsrc/databases/sqlite3-tcl/PLIST  Mon Jun 30 18:39:24 2025
@@ -1,4 +1,3 @@
-@comment $NetBSD: PLIST,v 1.9 2014/02/04 13:28:08 adam Exp $
-lib/sqlite3/libsqlite${PKGVERSION}.so
-lib/sqlite3/pkgIndex.tcl
-man/mann/sqlite3-tcl.n
+@comment $NetBSD: PLIST,v 1.10 2025/06/30 18:39:24 adam Exp $
+lib/tcl8.6/sqlite${PKGVERSION}/libsqlite${PKGVERSION}.so
+lib/tcl8.6/sqlite${PKGVERSION}/pkgIndex.tcl

Index: pkgsrc/databases/sqlite3-tcl/distinfo
diff -u pkgsrc/databases/sqlite3-tcl/distinfo:1.158 pkgsrc/databases/sqlite3-tcl/distinfo:1.159
--- pkgsrc/databases/sqlite3-tcl/distinfo:1.158 Thu May  8 04:57:14 2025
+++ pkgsrc/databases/sqlite3-tcl/distinfo       Mon Jun 30 18:39:24 2025
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.158 2025/05/08 04:57:14 adam Exp $
+$NetBSD: distinfo,v 1.159 2025/06/30 18:39:24 adam Exp $
 
-BLAKE2s (sqlite-autoconf-3490200.tar.gz) = 514e948874b327dc46c81603dd651c2d184c5dbcc6a8ec23a7c0e648164535d3
-SHA512 (sqlite-autoconf-3490200.tar.gz) = 59bbed0f49bcc17abcc3ba180858c7a7128038e43fd0b24a786505f0223340f85eb956e64a2b66e245d0b8d0769daa5e4688ae4686c64fc8ff91c546acce0070
-Size (sqlite-autoconf-3490200.tar.gz) = 3230309 bytes
-SHA1 (patch-Makefile.in) = 8f68039c9169bc69eb0da4bd0f910c7584aed2b5
-SHA1 (patch-configure) = 31f4cdc68c30daa6fdc5fa2e0dab217016380136
+BLAKE2s (sqlite-autoconf-3500200.tar.gz) = 478ccccc3548515115ee8750f535212a6d5aa58155b1791975538bb9aaf8ee15
+SHA512 (sqlite-autoconf-3500200.tar.gz) = 678e2fd4b6404a094d1222f228ef3bc7de25b821dcab6f469df72e8276fb971cd6ffde443d5b2ce4baa38e5939e83bed61e944ad44d6c5c3c2fd87cc631edd8f
+Size (sqlite-autoconf-3500200.tar.gz) = 3172568 bytes

Index: pkgsrc/devel/lemon/distinfo
diff -u pkgsrc/devel/lemon/distinfo:1.85 pkgsrc/devel/lemon/distinfo:1.86
--- pkgsrc/devel/lemon/distinfo:1.85    Thu May  8 04:57:14 2025
+++ pkgsrc/devel/lemon/distinfo Mon Jun 30 18:39:24 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.85 2025/05/08 04:57:14 adam Exp $
+$NetBSD: distinfo,v 1.86 2025/06/30 18:39:24 adam Exp $
 
-BLAKE2s (sqlite-src-3490200.zip) = ff6662bea8f3eec66a72cefe46f011f81fb9ea6780ff389ebf4f186f0186c382
-SHA512 (sqlite-src-3490200.zip) = d07600391df9fd635b1d43cff208021450a18cedad67221e239b0ed86ef287f2f31c040ac413c8a69123615f01658b68f26b6e70a71da39be3ead372a13c8bdc
-Size (sqlite-src-3490200.zip) = 14377708 bytes
+BLAKE2s (sqlite-src-3500200.zip) = a01f558e178109b676ca9fb0809b4ff0518d1e61ede6160ae6145ef734c16269
+SHA512 (sqlite-src-3500200.zip) = 827c78b2bfd823626cdae6a88fff882cbd90430babfab6c6fd224cf05c8764b43499184a4f07293fb00bfcbbaedfec958d1afbfe4431ea9b24b189c561213e7d
+Size (sqlite-src-3500200.zip) = 14392422 bytes



Home | Main Index | Thread Index | Old Index