Commit Graph

52 Commits

Author SHA1 Message Date
Tianling Shen f1e33826fb sqlite3: Update to 3.41.2
Fixes: CVE-2021-20227

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-02 17:25:11 +03:00
Tianling Shen a7dfb006fe sqlite3: Update to 3.41.1
Removed `SQLITE3_JSON1` option as it was dropped by upstream.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-14 01:20:08 -07:00
Tianling Shen a4a0f0793b sqlite3: Update to 3.40.0
1. Added a new option for SQLITE3_COLUMN_METADATA.
2. Minor cleanup Makefile and fixed 2 typo errors.

Fixes: CVE-2022-35737

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-18 23:17:58 +08:00
Marius Dinu b2309dc25e sqlite: update to v3.37 (2021-11-27)
Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2021-12-21 21:37:57 +01:00
Jan Hoffmann 4bc7ba7fe8 sqlite3: add option for batch-atomic write support
This allows to build SQLite with support for the batch-atomic write
optimization. It makes use of atomic write support provided by the
underlying file system. Currently, this is only supported on F2FS. It
it does not work with overlayfs.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2021-02-26 17:31:24 -05:00
Jan Pavlinec 389ad36a8f
sqlite3: update to version 3.33.0 (security fix)
Fixes:
CVE-2020-13871
CVE-2020-15358

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-25 14:55:59 +02:00
Sebastian Kemper 8274603dd1 sqlite3: remove maintainer
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-07-08 18:29:31 +02:00
Robert Marko 724e0f4f0d
sqlite3: update to version 3.32.1
Update SQLite to version 3.32.1 to mitigate two security vulnerability CVE-s.

This mitigates CVE-s: CVE-2020-13434 and CVE-2020-13435

https://nvd.nist.gov/vuln/detail/CVE-2020-13434
https://nvd.nist.gov/vuln/detail/CVE-2020-13435

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2020-05-26 10:57:27 +02:00
Robert Marko e90b8cd8ba
sqlite3: update to version 3.32.0
Update SQLite to version 3.32.0 to mitigate a security vulnerability.

This mitigates CVE-2020-11656
https://nvd.nist.gov/vuln/detail/CVE-2020-11656

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2020-05-23 19:25:42 +02:00
Josip Kelečić 7861ccda34 sqlite3: update to version 3.31.1
Signed-off-by: Josip Kelečić <josip.kelecic@sartura.hr>
2020-02-03 11:08:52 +01:00
Sebastian Kemper 33fecfefec sqlite3: bump to version 3.30.1
In other news:

- adds ABI_VERSION
- prefers INSTALL_DATA over CP
- removes gratuitous trailing slashes

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-14 22:01:04 +02:00
Eneas U de Queiroz 2593eabd6b treewide: Capitalize submenus
Fixed a typo in tcpreplay.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-25 09:35:40 +08:00
Sebastian Kemper 2f7fbde7d6 sqlite3: bump to 3.29.0
Also drops upstreamed patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-07-19 21:21:10 +02:00
Sebastian Kemper 2573c9c7c1 sqlite3: fix arm endian issue
Forum user portuquesa raised a topic (see [1]) about being unable to use
Asterisk on his armeb xscale device. We narrowed it down to sqlite3.
Asterisk was unable to insert a simple table into its db.

In short, sqlite3 assumes little endian for every ARM device. This
worked OK for 4 Byte bit (unaligned) access. But once upstream (back in
2015) added a function which accesses 2 Bytes (see [2]) this failed for
some (if not all) ARM big endian devices. ARM CPUs are bi-endian for 4
Byte reads but not for 2 Byte reads.

This patch fixes the problem by setting the endianness adequately for
ARM targets, for both 32 bit and 64 bit varieties. The patch was applied
upstream (see [3]).

[1] https://forum.openwrt.org/t/solved-asterisk13-or-15-sqlite3-database-problem/36856
[2] 329428e208
[3] https://www.sqlite.org/src/info/b7aad929619f7043

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-05-23 20:16:12 +02:00
Sebastian Kemper 31fcfa2e24 sqlite3: always build a thread-safe library
Pull request #9033 showed that there are problems with builds where
thread-safe mode is disabled. The binaries still reference functions
from libpthread. This commit removes the thread-safe choice for now.
Once this is addressed upstream the choice can be added back.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-05-23 19:59:50 +02:00
Sebastian Kemper ed5c6cd628 sqlite3: bump to 3.27.2
No ABI/API changes, backward compatible.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-04-22 09:48:30 +02:00
Sebastian Kemper a34c27d9a4 sqlite3: small improvements
This commit:

 - adds support for parallel builds (the possibilities of building parts
   of sqlite3 in parellel are limited, but there is no downside)

 - adds a CVE/CPE ID

 - Removes useless "=1" from -D[EFINES]

 - Adds --disable-debug (default anyway, just makes it explicit), put
   --disable-static-shell up top to sort the list alphabetically

 - Saves one INSTALL_DIR line in the end

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-30 13:37:32 +01:00
Sebastian Kemper 4e30b3b62a sqlite3: make cli-editing support selectable
sqlite3 can use libedit, readline or disable command-line editing
support altogether. This commit adds a choice to menuselect.

The default is changed from readline to libedit, as the latter is
upstream's first choice and is also a bit smaller than readline.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-27 11:11:22 +01:00
Sebastian Kemper 0b6d2678c1 sqlite3: add configure switches to menuselect
Adds (most) configure switches to menuselect. The defaults are _not_
changed, meaning the default configuration itself remains the same.

This enables changing the configuration through menuselect and adds
flags that other packages may use.

Config.in is renamed to Config-lib.in in anticipation of a future commit
where the cli tool package also gets a file to source.

The variables also get a prefix change from SQLITE to SQLITE3 in case
there will be a new major release in the future that may coexist with
sqlite3.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-27 11:10:31 +01:00
Hannu Nyman d3adadf845
Merge pull request #7736 from diizzyy/patch-20
sqlite3: Set platform configuration flags & cleanup
2018-12-26 19:46:36 +02:00
Daniel Engberg 6ec6862d56 sqlite3: Set platform configuration flags & cleanup
Set platform specfic flags to avoid sqlite using built-in variants
Remove CONFIGURE_VARS, already properly set by toolchain
Change order of TARGET_CFLAGS to match upstream documentation

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-12-25 00:28:17 +01:00
Sebastian Kemper 8e559b440b sqlite3: change maintainer
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-20 18:42:53 +01:00
Sebastian Kemper c565ad271b sqlite3: remove $(FPIC)
Defaulting to -fPIC is a bad idea, especially for executables (here:
sqlite3-cli). In short, there are certain security implications as well
as overhead/performance penalties. Details see:

https://wiki.gentoo.org/wiki/Project:Hardened/Position_Independent_Code_internals

The configure script is able to detect the need for PIC and adds the
flag when needed anyway (when compiling the library).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-18 20:57:47 +01:00
Sebastian Kemper 1e5bc17eea sqlite3: security bump
A remote code execution vuln has been found in sqlite. Infos available
here:

https://blade.tencent.com/magellan/index_en.html

sqlite 3.26.0 contains the fix.

This commit also changes source URL to https.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-18 20:51:58 +01:00
Rosen Penev c2ee3e4833 sqlite3: Update to 3.53
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-17 13:13:48 -08:00
Daniel Engberg 499f964f0f
libs/sqlite: Update to 3.24.0
Update sqlite to 3.24.0

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-08-28 22:44:54 +02:00
Daniel Engberg 9c61c21014 libs/sqlite: Update to 3.23.1
Update sqlite to 3.23.1

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-04-12 23:56:36 +02:00
Gaëtan Buchetet 572a717274 sqlite3-cli: use shared library to link sqlite3 binary
The sqlite3 binary was linked against the static library of libsqlite3.
It now uses the .so library of the libsqlite3 package. This dropped size
of the sqlite3 binary from 652k to 91k.

Signed-off-by: Gaëtan Buchetet <bubuche.pub@free.fr>
2018-02-19 11:02:28 +00:00
Hans Dedecker 25757a96fa sqlite: remove gratuitos empty line
Remove gratuitos empty line introduced by accident in commit aac84ff

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2018-02-02 08:52:12 +01:00
Hans Dedecker aac84ff03d sqlite3: add config options to disable FTS3 and RTREE
The full-text search engine version 3 (FTS3) and R*Tree (RTREE) modules are
enabled by default in sqlite3; add config options which allow to disable these
sqlite lib modules.
Disabling FTS3 reduces the so file with 475KB while disabling RTREE reduces
the so file with 121KB on x86 architecture.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2018-01-31 17:19:42 +01:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Ian Leonard 04f699f6ea sqlite: update to 3.21.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-11-02 17:21:01 -07:00
Daniel Engberg 4e7547e4ee libs/sqlite3: Update to 3.20.1
Update sqlite to 3.20.1

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-09-19 10:50:01 +02:00
Etienne Champetier 3bf89aab32 sqlite3: update to 3.19.3
fix possible database corruption
https://www.sqlite.org/releaselog/3_19_3.html

Signed-off-by: Etienne Champetier <echampetier@anevia.com>
2017-07-08 19:11:26 -07:00
Daniel Engberg 339e0004de libs/sqlite3: Update to 3190200
Update sqlite to 3190200
Remove obsolete tarball hash variable

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-05-31 17:11:02 +02:00
Ian Leonard c19a342825 sqlite: update to 3.17.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-02-19 16:06:02 -08:00
Daniel Engberg 8637073669 libs/sqlite3: Update to 3.16.0 and add optimizations
Update to 3.16.0

Add following optimizations:

HAVE_ISNAN
HAVE_MALLOC_USABLE_SIZE

Link: https://www.sqlite.org/compile.html

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-05 01:30:09 -06:00
Etienne CHAMPETIER 847ebdc909 sqlite3: --disable-editline
sqlite3 can now use editline or readline,
most package use readline, and we were using it,
so continue using readline and disable editline

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-08-09 19:15:49 +00:00
Etienne CHAMPETIER eea673bc08 sqlite3: update to 3.13.0
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-06-28 23:07:06 +00:00
Etienne CHAMPETIER 69e62386f9 sqlite3: update to 3.12.2
3.12.0 as been removed from sqlite servers
fixes #2615

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-04-21 15:51:17 +00:00
Etienne CHAMPETIER e78a0ff2c8 sqlite3: update to 3.12.0
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-03-30 17:34:31 +00:00
Daniel Golle 20ccf3c52e sqlite3: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-30 04:16:31 +02:00
Etienne CHAMPETIER 9010339ec9 sqlite: update to 3.8.10.2
quickly run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-05-27 08:10:02 +02:00
Etienne CHAMPETIER 4f5b0b6a74 sqlite3: update to 3.8.8.3
run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-03-10 22:28:26 +01:00
Etienne CHAMPETIER cee2881af1 sqlite3: update to 3.8.8.1
run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-01-28 21:56:23 +01:00
Etienne CHAMPETIER 115c26619c sqlite3: update to 3.8.7.4
compile tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-12-15 22:38:15 +01:00
Etienne CHAMPETIER d6330508bc sqlite3: update to 3.8.7.1
Run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-11-13 22:00:22 +01:00
Christoph König f64163525e sqlite3: update to 3.8.6
Signed-off-by: Christoph Koenig <christoph.koenig@gmail.com>
2014-09-07 10:07:59 +02:00
Etienne CHAMPETIER a801f8edcd sqlite3: update to 3.8.5
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-07-23 01:20:55 +02:00
Etienne CHAMPETIER 9a575ba009 change my email address 2014-07-23 01:20:55 +02:00