sqlite3: updated to 3.37.1 version 3.37.1 Fix a bug introduced by the UPSERT enhancements of version 3.35.0 that can cause incorrect byte-code to be generated for some obscure but valid SQL, possibly resulting in a NULL-pointer dereference. Fix an OOB read that can occur in FTS5 when reading corrupt database files. Improved robustness of the --safe option in the CLI. Other minor fixes to assert() statements and test cases.diff -r1.144 -r1.145 pkgsrc/databases/sqlite3/Makefile
(adam)
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.144 2021/12/08 16:01:49 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.145 2021/12/30 20:31:51 adam Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "Makefile.common" | 3 | .include "Makefile.common" | |
5 | 4 | |||
6 | DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION} | 5 | DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION} | |
7 | PKGNAME= sqlite3-${SQLITE3_VERSION} | 6 | PKGNAME= sqlite3-${SQLITE3_VERSION} | |
8 | CATEGORIES= databases | 7 | CATEGORIES= databases | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | COMMENT= SQL Database Engine in a C Library | 10 | COMMENT= SQL Database Engine in a C Library | |
12 | 11 | |||
13 | .include "options.mk" | 12 | .include "options.mk" | |
14 | 13 | |||
15 | USE_LIBTOOL= yes | 14 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= gmake | 15 | USE_TOOLS+= gmake |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.82 2021/11/28 20:48:28 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.83 2021/12/30 20:31:51 adam Exp $ | |
2 | # | 2 | # | |
3 | # used by databases/sqlite3/Makefile | 3 | # used by databases/sqlite3/Makefile | |
4 | # used by databases/sqlite3-docs/Makefile | 4 | # used by databases/sqlite3-docs/Makefile | |
5 | # used by databases/sqlite3-tcl/Makefile | 5 | # used by databases/sqlite3-tcl/Makefile | |
6 | # used by devel/lemon/Makefile | 6 | # used by devel/lemon/Makefile | |
7 | 7 | |||
8 | SQLITE3_DISTVERSION= 3370000 | 8 | SQLITE3_DISTVERSION= 3370100 | |
9 | SQLITE3_VERSION= 3.37.0 | 9 | SQLITE3_VERSION= 3.37.1 | |
10 | 10 | |||
11 | MASTER_SITES= http://www.sqlite.org/2021/ | 11 | MASTER_SITES= http://www.sqlite.org/2021/ | |
12 | MASTER_SITES+= http://www.hwaci.com/sw/sqlite/2021/ | 12 | MASTER_SITES+= http://www.hwaci.com/sw/sqlite/2021/ | |
13 | 13 | |||
14 | HOMEPAGE?= http://www.sqlite.org/ | 14 | HOMEPAGE?= http://www.sqlite.org/ | |
15 | LICENSE= public-domain | 15 | LICENSE= public-domain |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.175 2021/11/28 20:48:28 adam Exp $ | 1 | $NetBSD: distinfo,v 1.176 2021/12/30 20:31:51 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (sqlite-autoconf-3370000.tar.gz) = df964e39d338c8a4ba4fecd8a0be9d1b8536867cd0b8e27ed168fc8c202200fb | 3 | BLAKE2s (sqlite-autoconf-3370100.tar.gz) = d8a824e862b52e29909aadee7334848affda012331c7e6ba8767fc4a6b257d90 | |
4 | SHA512 (sqlite-autoconf-3370000.tar.gz) = 413655d7b61b4d0a510bc42eb2e4f3e801ff35dee7d825d84b8397c956f23c5eac6a1a73134d3d7a63e40704968a4607d5762a137557e688ec5f87efb5b729ea | 4 | SHA512 (sqlite-autoconf-3370100.tar.gz) = 426f087733a864ed16648b162f80484ffdb415c55da837224fd22365c2ab4621840af984f9c8eb4f1d91aceaabb1f4c1285bd9e92a678f686fdd5d4544f98c81 | |
5 | Size (sqlite-autoconf-3370000.tar.gz) = 3001298 bytes | 5 | Size (sqlite-autoconf-3370100.tar.gz) = 3001542 bytes | |
6 | SHA1 (patch-configure) = c0aa83bddc20d090b3cd2fd840ac69031f4396e4 | 6 | SHA1 (patch-configure) = c0aa83bddc20d090b3cd2fd840ac69031f4396e4 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.105 2021/11/28 20:48:28 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.106 2021/12/30 20:31:51 adam Exp $ | |
2 | share/doc/sqlite3/34to35.html | 2 | share/doc/sqlite3/34to35.html | |
3 | share/doc/sqlite3/35to36.html | 3 | share/doc/sqlite3/35to36.html | |
4 | share/doc/sqlite3/about.html | 4 | share/doc/sqlite3/about.html | |
5 | share/doc/sqlite3/aff_short.html | 5 | share/doc/sqlite3/aff_short.html | |
6 | share/doc/sqlite3/affcase1.html | 6 | share/doc/sqlite3/affcase1.html | |
7 | share/doc/sqlite3/amalgamation.html | 7 | share/doc/sqlite3/amalgamation.html | |
8 | share/doc/sqlite3/appfileformat.html | 8 | share/doc/sqlite3/appfileformat.html | |
9 | share/doc/sqlite3/appfunc.html | 9 | share/doc/sqlite3/appfunc.html | |
10 | share/doc/sqlite3/arch.html | 10 | share/doc/sqlite3/arch.html | |
11 | share/doc/sqlite3/assert.html | 11 | share/doc/sqlite3/assert.html | |
12 | share/doc/sqlite3/asyncvfs.html | 12 | share/doc/sqlite3/asyncvfs.html | |
13 | share/doc/sqlite3/atomiccommit.html | 13 | share/doc/sqlite3/atomiccommit.html | |
14 | share/doc/sqlite3/autoinc.html | 14 | share/doc/sqlite3/autoinc.html | |
@@ -463,26 +463,27 @@ share/doc/sqlite3/images/shane1.jpg | @@ -463,26 +463,27 @@ share/doc/sqlite3/images/shane1.jpg | |||
463 | share/doc/sqlite3/images/shared.gif | 463 | share/doc/sqlite3/images/shared.gif | |
464 | share/doc/sqlite3/images/sqlite370.jpg | 464 | share/doc/sqlite3/images/sqlite370.jpg | |
465 | share/doc/sqlite3/images/sqlite370_banner.gif | 465 | share/doc/sqlite3/images/sqlite370_banner.gif | |
466 | share/doc/sqlite3/images/sqlitepie.jpg | 466 | share/doc/sqlite3/images/sqlitepie.jpg | |
467 | share/doc/sqlite3/images/src_logo.gif | 467 | share/doc/sqlite3/images/src_logo.gif | |
468 | share/doc/sqlite3/images/sw.gif | 468 | share/doc/sqlite3/images/sw.gif | |
469 | share/doc/sqlite3/images/sw.png | 469 | share/doc/sqlite3/images/sw.png | |
470 | share/doc/sqlite3/images/table-ex1b2.gif | 470 | share/doc/sqlite3/images/table-ex1b2.gif | |
471 | share/doc/sqlite3/images/vfs1.gif | 471 | share/doc/sqlite3/images/vfs1.gif | |
472 | share/doc/sqlite3/imposter.html | 472 | share/doc/sqlite3/imposter.html | |
473 | share/doc/sqlite3/index.html | 473 | share/doc/sqlite3/index.html | |
474 | share/doc/sqlite3/inmemorydb.html | 474 | share/doc/sqlite3/inmemorydb.html | |
475 | share/doc/sqlite3/intern-v-extern-blob.html | 475 | share/doc/sqlite3/intern-v-extern-blob.html | |
476 | share/doc/sqlite3/invalidutf.html | |||
476 | share/doc/sqlite3/isolation.html | 477 | share/doc/sqlite3/isolation.html | |
477 | share/doc/sqlite3/json1.html | 478 | share/doc/sqlite3/json1.html | |
478 | share/doc/sqlite3/keyword_index.html | 479 | share/doc/sqlite3/keyword_index.html | |
479 | share/doc/sqlite3/lang.html | 480 | share/doc/sqlite3/lang.html | |
480 | share/doc/sqlite3/lang_aggfunc.html | 481 | share/doc/sqlite3/lang_aggfunc.html | |
481 | share/doc/sqlite3/lang_altertable.html | 482 | share/doc/sqlite3/lang_altertable.html | |
482 | share/doc/sqlite3/lang_analyze.html | 483 | share/doc/sqlite3/lang_analyze.html | |
483 | share/doc/sqlite3/lang_attach.html | 484 | share/doc/sqlite3/lang_attach.html | |
484 | share/doc/sqlite3/lang_comment.html | 485 | share/doc/sqlite3/lang_comment.html | |
485 | share/doc/sqlite3/lang_conflict.html | 486 | share/doc/sqlite3/lang_conflict.html | |
486 | share/doc/sqlite3/lang_corefunc.html | 487 | share/doc/sqlite3/lang_corefunc.html | |
487 | share/doc/sqlite3/lang_createindex.html | 488 | share/doc/sqlite3/lang_createindex.html | |
488 | share/doc/sqlite3/lang_createtable.html | 489 | share/doc/sqlite3/lang_createtable.html | |
@@ -624,26 +625,27 @@ share/doc/sqlite3/releaselog/3_32_1.html | @@ -624,26 +625,27 @@ share/doc/sqlite3/releaselog/3_32_1.html | |||
624 | share/doc/sqlite3/releaselog/3_32_2.html | 625 | share/doc/sqlite3/releaselog/3_32_2.html | |
625 | share/doc/sqlite3/releaselog/3_32_3.html | 626 | share/doc/sqlite3/releaselog/3_32_3.html | |
626 | share/doc/sqlite3/releaselog/3_33_0.html | 627 | share/doc/sqlite3/releaselog/3_33_0.html | |
627 | share/doc/sqlite3/releaselog/3_34_0.html | 628 | share/doc/sqlite3/releaselog/3_34_0.html | |
628 | share/doc/sqlite3/releaselog/3_34_1.html | 629 | share/doc/sqlite3/releaselog/3_34_1.html | |
629 | share/doc/sqlite3/releaselog/3_35_0.html | 630 | share/doc/sqlite3/releaselog/3_35_0.html | |
630 | share/doc/sqlite3/releaselog/3_35_1.html | 631 | share/doc/sqlite3/releaselog/3_35_1.html | |
631 | share/doc/sqlite3/releaselog/3_35_2.html | 632 | share/doc/sqlite3/releaselog/3_35_2.html | |
632 | share/doc/sqlite3/releaselog/3_35_3.html | 633 | share/doc/sqlite3/releaselog/3_35_3.html | |
633 | share/doc/sqlite3/releaselog/3_35_4.html | 634 | share/doc/sqlite3/releaselog/3_35_4.html | |
634 | share/doc/sqlite3/releaselog/3_35_5.html | 635 | share/doc/sqlite3/releaselog/3_35_5.html | |
635 | share/doc/sqlite3/releaselog/3_36_0.html | 636 | share/doc/sqlite3/releaselog/3_36_0.html | |
636 | share/doc/sqlite3/releaselog/3_37_0.html | 637 | share/doc/sqlite3/releaselog/3_37_0.html | |
638 | share/doc/sqlite3/releaselog/3_37_1.html | |||
637 | share/doc/sqlite3/releaselog/3_3_0.html | 639 | share/doc/sqlite3/releaselog/3_3_0.html | |
638 | share/doc/sqlite3/releaselog/3_3_1.html | 640 | share/doc/sqlite3/releaselog/3_3_1.html | |
639 | share/doc/sqlite3/releaselog/3_3_10.html | 641 | share/doc/sqlite3/releaselog/3_3_10.html | |
640 | share/doc/sqlite3/releaselog/3_3_11.html | 642 | share/doc/sqlite3/releaselog/3_3_11.html | |
641 | share/doc/sqlite3/releaselog/3_3_12.html | 643 | share/doc/sqlite3/releaselog/3_3_12.html | |
642 | share/doc/sqlite3/releaselog/3_3_13.html | 644 | share/doc/sqlite3/releaselog/3_3_13.html | |
643 | share/doc/sqlite3/releaselog/3_3_14.html | 645 | share/doc/sqlite3/releaselog/3_3_14.html | |
644 | share/doc/sqlite3/releaselog/3_3_15.html | 646 | share/doc/sqlite3/releaselog/3_3_15.html | |
645 | share/doc/sqlite3/releaselog/3_3_16.html | 647 | share/doc/sqlite3/releaselog/3_3_16.html | |
646 | share/doc/sqlite3/releaselog/3_3_17.html | 648 | share/doc/sqlite3/releaselog/3_3_17.html | |
647 | share/doc/sqlite3/releaselog/3_3_2.html | 649 | share/doc/sqlite3/releaselog/3_3_2.html | |
648 | share/doc/sqlite3/releaselog/3_3_3.html | 650 | share/doc/sqlite3/releaselog/3_3_3.html | |
649 | share/doc/sqlite3/releaselog/3_3_4.html | 651 | share/doc/sqlite3/releaselog/3_3_4.html |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.108 2021/11/28 20:48:28 adam Exp $ | 1 | $NetBSD: distinfo,v 1.109 2021/12/30 20:31:51 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (sqlite-doc-3370000.zip) = 805b096d27353253ddf402e7a3447ee58628bdfb4ca89a633683345a4cf10522 | 3 | BLAKE2s (sqlite-doc-3370100.zip) = 2dd0c877eb0602d5bc7013e0083b16dd1054f2fa2d02d812772ed04ebc59c35f | |
4 | SHA512 (sqlite-doc-3370000.zip) = f245731675c67347318578e773b8d5f548c26eac7a333d6028cf7e11c4c9d2c3314da0a5428533ff26416f4194dce5c805d7f61f1fef27e02e9b91efa3c6d4c7 | 4 | SHA512 (sqlite-doc-3370100.zip) = 76184e913399734982ddad256273603670e650fc2332ac20a044218fb7e8df69e77ad0970af328d8a8c4403f11de29a7b01ded6a72b9cf727c41d14ccaefd316 | |
5 | Size (sqlite-doc-3370000.zip) = 10509325 bytes | 5 | Size (sqlite-doc-3370100.zip) = 10530906 bytes |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.108 2021/12/08 16:03:50 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.109 2021/12/30 20:31:51 adam Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../databases/sqlite3/Makefile.common" | 3 | .include "../../databases/sqlite3/Makefile.common" | |
5 | 4 | |||
6 | DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION} | 5 | DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION} | |
7 | PKGNAME= sqlite3-tcl-${SQLITE3_VERSION} | 6 | PKGNAME= sqlite3-tcl-${SQLITE3_VERSION} | |
8 | CATEGORIES= databases | 7 | CATEGORIES= databases | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | COMMENT= SQL Database Engine in a C Library (TCL extension) | 10 | COMMENT= SQL Database Engine in a C Library (TCL extension) | |
12 | 11 | |||
13 | WRKSRC= ${WRKDIR}/${DISTNAME}/tea | 12 | WRKSRC= ${WRKDIR}/${DISTNAME}/tea | |
14 | 13 | |||
15 | USE_TOOLS+= gmake | 14 | USE_TOOLS+= gmake | |
16 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.120 2021/11/28 20:48:29 adam Exp $ | 1 | $NetBSD: distinfo,v 1.121 2021/12/30 20:31:51 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (sqlite-autoconf-3370000.tar.gz) = df964e39d338c8a4ba4fecd8a0be9d1b8536867cd0b8e27ed168fc8c202200fb | 3 | BLAKE2s (sqlite-autoconf-3370100.tar.gz) = d8a824e862b52e29909aadee7334848affda012331c7e6ba8767fc4a6b257d90 | |
4 | SHA512 (sqlite-autoconf-3370000.tar.gz) = 413655d7b61b4d0a510bc42eb2e4f3e801ff35dee7d825d84b8397c956f23c5eac6a1a73134d3d7a63e40704968a4607d5762a137557e688ec5f87efb5b729ea | 4 | SHA512 (sqlite-autoconf-3370100.tar.gz) = 426f087733a864ed16648b162f80484ffdb415c55da837224fd22365c2ab4621840af984f9c8eb4f1d91aceaabb1f4c1285bd9e92a678f686fdd5d4544f98c81 | |
5 | Size (sqlite-autoconf-3370000.tar.gz) = 3001298 bytes | 5 | Size (sqlite-autoconf-3370100.tar.gz) = 3001542 bytes | |
6 | SHA1 (patch-Makefile.in) = 6cbbc33a5bc9c98b5aa128279f8e21e47406f537 | 6 | SHA1 (patch-Makefile.in) = 6cbbc33a5bc9c98b5aa128279f8e21e47406f537 |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.49 2021/11/28 20:48:29 adam Exp $ | 1 | $NetBSD: distinfo,v 1.50 2021/12/30 20:31:51 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (sqlite-src-3370000.zip) = 0925ae0bdd00ab5371f9145510a2cc0a5dc3a6596b7bfbfc4ff729569762448f | 3 | BLAKE2s (sqlite-src-3370100.zip) = 11efb1dfad47a0b71310ab259feac5801e45d43fc7d1b97dd4842b1b63651ef5 | |
4 | SHA512 (sqlite-src-3370000.zip) = 5a3c358c42782bc248a0795ca78a10d834861f98ab0a021a05d8358ba1716f3febb3da29ded187dfd205902f77bbf284ed3207aabe4979b68b90d0557d1676f7 | 4 | SHA512 (sqlite-src-3370100.zip) = ff808f9541f53174ae221a6eb0f937643d46157ed3940f72f08910e9c68a08419a118933089dc771ef30d1af5ce397e96d5379198568029b09ad167dfd4242eb | |
5 | Size (sqlite-src-3370000.zip) = 13141152 bytes | 5 | Size (sqlite-src-3370100.zip) = 13142659 bytes |