From: Jens Rehsack Date: Sun, 18 Nov 2018 18:36:31 +0000 (+0100) Subject: sqlite3: Update 3.25.2 -> 3.25.3 X-Git-Tag: uninative-2.4~1097 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d533ad9b93383a8d721b72b4030b112a3799d559;p=openembedded-core.git sqlite3: Update 3.25.2 -> 3.25.3 Update SQLite3 from 3.25.2 to 3.25.3 to fix following issues: * Disallow the use of window functions in the recursive part of a CTE. * Fix the behavior of typeof() and length() on virtual tables. * Strengthen defenses against deliberately corrupted database files. * Fix a problem in the query planner that results when a row-value expression is used with a PRIMARY KEY with redundant columns. * Fix the query planner so that it works correctly for IS NOT NULL operators in the ON clause of a LEFT JOIN with the SQLITE_ENABLE_STAT4 compile-time option. Also introduce PACKAGECONFIG tunables to enable/disable e.g. index and search functions to allow shrinking the library for very small targets. Signed-off-by: Jens Rehsack Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 1834867d10..daf3db5e9f 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc @@ -21,11 +21,19 @@ CVE_PRODUCT = "sqlite" inherit autotools pkgconfig -PACKAGECONFIG ?= "" -PACKAGECONFIG_class-native = "" +# enable those which are enabled by default in configure +PACKAGECONFIG ?= "fts4 fts5 json1 rtree dyn_ext" +PACKAGECONFIG_class-native ?= "fts4 fts5 json1 rtree dyn_ext" PACKAGECONFIG[editline] = "--enable-editline,--disable-editline,libedit" PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses" +PACKAGECONFIG[fts3] = "--enable-fts3,--disable-fts3" +PACKAGECONFIG[fts4] = "--enable-fts4,--disable-fts4" +PACKAGECONFIG[fts5] = "--enable-fts5,--disable-fts5" +PACKAGECONFIG[json1] = "--enable-json1,--disable-json1" +PACKAGECONFIG[rtree] = "--enable-rtree,--disable-rtree" +PACKAGECONFIG[session] = "--enable-session,--disable-session" +PACKAGECONFIG[dyn_ext] = "--enable-dynamic-extensions,--disable-dynamic-extensions" EXTRA_OECONF = " \ --enable-shared \ diff --git a/meta/recipes-support/sqlite/sqlite3_3.25.2.bb b/meta/recipes-support/sqlite/sqlite3_3.25.3.bb similarity index 59% rename from meta/recipes-support/sqlite/sqlite3_3.25.2.bb rename to meta/recipes-support/sqlite/sqlite3_3.25.3.bb index 31c9a6f2d2..a7cf6d1b81 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.25.2.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.25.3.bb @@ -6,5 +6,5 @@ LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed0 SRC_URI = "\ http://www.sqlite.org/2018/sqlite-autoconf-${SQLITE_PV}.tar.gz \ " -SRC_URI[md5sum] = "bfade31d59f58badc51aeaa6ae26a5de" -SRC_URI[sha256sum] = "da9a1484423d524d3ac793af518cdf870c8255d209e369bd6a193e9f9d0e3181" +SRC_URI[md5sum] = "06db8206bc8febf07141b78ad58595ea" +SRC_URI[sha256sum] = "00ebf97be13928941940cc71de3d67e9f852698233cd98ce2d178fd08092f3dd"