Commit Graph

31 Commits

Author SHA1 Message Date
Sebastian Kemper e6884e5544 sqlite3: bump to 3.31.1
Upstreamed patch removed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-03 20:19:21 +01:00
Sebastian Kemper d13f831ba8 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 (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:37:27 +02:00
Sebastian Kemper e814c888d0 sqlite3: change maintainer
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-20 18:44:48 +01:00
Sebastian Kemper 578762f4fc 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-19 20:24:17 +01:00
Sebastian Kemper 68694dddb1 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 21:12:47 +01: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
Etienne CHAMPETIER 77cca26711 sqlite3: update to 3.8.4.3 (2014-04-03), add myself as maintainer
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
2014-06-04 12:59:49 +02:00
Etienne CHAMPETIER 9236e4f3e3 sqlite3: import 3.7.12.1 (2012-05-22) from packages
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
2014-06-04 12:55:46 +02:00