aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/sqlite
AgeCommit message (Collapse)Author
2017-11-30sqlite3: use 1024 for MAX_PATHNAMrbt/longRobert Yang
The 512 is a little small when len(TMPDIR) == 410, it would be failed when do_rootfs, use 1024 to fix problem: Fixed when len(TMPDIR) == 410: $ bitbake core-image-minimal [snip] "tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 799, in _get_cursor self._conn = sqlite.connect(self._db_file) sqlite3.OperationalError: unable to open database file [YOCTO #12374] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2017-11-21sqlite3: upgrade to 3.21.0Maxin B. John
Remove upstreamed patch: 1. sqlite3-fix-CVE-2017-13685.patch Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-10-16sqlite3: fix CVE-2017-13685Wenzong Fan
The dump_callback function in SQLite 3.20.0 allows remote attackers to cause a denial of service (EXC_BAD_ACCESS and application crash) via a crafted file. Backport patch to fix the issue. Some references: https://sqlite.org/src/info/02f0f4c54f2819b3 http://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg105314.html Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-18sqlite3: upgrade to 3.2.0Wenzong Fan
* Uprev from 3.19.3 to 3.2.0 for fixing CVE-2017-10989: The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blobs in a crafted database, leading to a heap-based buffer over-read or possibly unspecified other impact. https://nvd.nist.gov/vuln/detail/CVE-2017-10989 * LIC_FILES_CHKSUM updated for below changes: -** 2001 September 15 +** 2001-09-15 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-24sqlite3.inc: set CVE_PRODUCT to sqliteMikko Rapeli
It is used in NVD for CVE's like: https://nvd.nist.gov/vuln/detail/CVE-2016-6153 Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-07-21sqlite3: upgrade to 3.19.3Maxin B. John
3.19.2 -> 3.19.3 Fixes a bug associated with auto_vacuum that can lead to database corruption. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03sqlite3: upgrade 3.18.0 -> 3.19.2Maxin B. John
Bug fixes: 1. Fix a problem in REPLACE that can result in a corrupt database containing two or more rows with the same rowid. 2. Fix a problem in PRAGMA integrity_check that was causing a subsequent VACUUM to behave suboptimally. 3. Fix the PRAGMA foreign_key_check command so that it works correctly with foreign keys on WITHOUT ROWID tables. 4. Disallow leading zeros in numeric constants in JSON. 5. Disallow control characters inside of strings in JSON. 6. Limit the depth of recursion for JSON objects and arrays in order to avoid excess stack usage in the recursive descent parser. 7. Fix more bugs in the LEFT JOIN flattening optimization. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-18sqlite3: upgrade to 3.18.0Maxin B. John
Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01sqlite3: upgrade to 3.17.0Maxin B. John
3.16.2 -> 3.17.0 * Approximately 25% better performance from the R-Tree extension. * Other performance improvements. Uses about 6.5% fewer CPU cycles. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-16sqlite3: upgrade to 3.16.2Maxin B. John
3.15.2 -> 3.16.2 1. Updated the SRC_URI for releases in 2017 2. Removed the following revert patch as the fix is present in this release: a) 0001-revert-ad601c7962-that-brings-2-increase-of-build-ti.patch [YOCTO #10695] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-05sqlite3: upgrade to 3.15.2Maxin B. John
Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-12-16meta: remove True option to getVar callsJoshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-12-16sqlite: build position-independent codeRoss Burton
pseudo links against this and uses PIC, so some toolchain combinations will refuse to link against sqlite unless it is also PIC. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-12-08sqlite3: 3.14.1 -> 3.15.1Huang Qiyu
Upgrade sqlite3 from 3.14.1 to 3.15.1. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-10-15sqlite3: Revert ad601c7962 from 3.14.1 amalgamation packageJianxun Zhang
It turns out this change between 3.12.2 and 3.13 introduces a 2% increase of build time based on statistic data in bz10367. The added patch is forged by diffing the new sqlite3.c generated from reverting the change in raw source of sqlite3 project, and then manually migrate the delta to a sqlite3.c from the 3.14.1 tarball package because what recipes reference is actually a generated C code (amalgamation) release package and we cannot apply the real change to 3.14.1 cleanly due to so many changes happened. Fixes [YOCTO #10367] Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-09-03sqlite3: upgrade to 3.14.1Maxin B. John
Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-17sqlite3: update 3.13.0 -> 3.14.0Maxin B. John
3.13.0 -> 3.14.0 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-05-25sqlite3: update to 3.13.0Maxin B. John
3.12.2 -> 3.13.0 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-09sqlite3: upgrade to 3.12.2Maxin B. John
3.11.0 -> 3.12.2 Remove upstreamed patch: 1. fix-disable-static-shell.patch Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-18sqlite3: update 3.10.2 -> 3.11.0Andre McCurdy
http://www.sqlite.org/releaselog/3_11_0.html Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24sqlite3: update 3.10.0 -> 3.10.2Andre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24sqlite3.inc: add PACKAGECONFIG to support building against libeditAndre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24sqlite3.inc: dynamically link the sqlite3 command-line utilityAndre McCurdy
By default, the sqlite3 command-line utility will be statically linked with sqlite3. For OE, dynamic linking is probably more appropriate and can be enabled by configuring with "--disable-static-shell". Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24sqlite: formatting improvements, move more stuff into sqlite3.incAndre McCurdy
Reformatting only, no functional changes. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24sqlite3.inc: drop obsolete config_BUILD_CC, etc exportsAndre McCurdy
These exports date back to 2007, when sqlite needed patching in order to cross compile: http://git.openembedded.org/openembedded-core/commit/?id=4ffe8f6b1ff640722880cf2cd88990956de87e30 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24sqlite3.inc: fix readline PACKAGECONFIGAndre McCurdy
Make it clearer that readline support for the target build is now disabled by default. Since readline dependencies and configure options are now handled by PACKAGECONFIG, avoid duplicating readline in DEPENDS or duplicating --disable-readline in EXTRA_OECONF. Also add --disable-editline to EXTRA_OECONF to avoid a potential floating dependency, since the configure script checks for libedit before it checks for libreadline. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24sqlite3: fix the parallel build fix patchAndre McCurdy
The previous parallel.patch broke dynamically linking sqlite3 with libsqlite3.so (ie using the --disable-static-shell configure option). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-17sqlite3: upgrade to version 3.10.0Maxin B. John
3.9.2 -> 3.10.0 1. Fixed a parallel build problem 2. Added a PACKAGECONFIG for readline Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08package_regex.inc: split the rest of the entries to their recipesAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-01sqlite3: update 3.9.0 -> 3.9.2Andre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16sqlite: 3.8.10.2 -> 3.9.0Kai Kang
Upgrade sqlite from 3.8.10.2 to 3.9.0. * update python function to get right SRC_URI * drop 0001-using-the-dynamic-library.patch which use dynamic library that it is done that way in new version Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-22sqlite3: Upgrade 3.8.10.0 -> 3.8.10.2Aníbal Limón
Minor upgrade contains fixes see [1]. [1] https://www.sqlite.org/releaselog/3_8_10_2.html Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-20sqlite3: upgrade to 3.8.10Roy Li
upgrade to include CVE fixes: CVE-2015-3414 CVE-2015-3415 CVE-2015-3416 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-30sqlite3: Upgrade to 3.8.7.4Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23sqlite3: Upgrade to 2.8.6.0Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25sqlite3: Update to 3.8.5.0Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30sqlite3: restore upstream version numberingPaul Eggleton
Regardless of the numbering used in source archive filenames, the upstream version number is in dotted form in documentation, release notes and the website, so we need to be using that here since that is what people will expect to see. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24sqlite3: Update to 3080403Saul Wold
And rename the PV to match the upstream versioning This requires a PE Bump to ensure package versions don't go backwards. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-25sqlite: rename to match upstream versioningSaul Wold
Since we are re-doing the version from a big number down to a dot based number we have to bump the Package Epoch (PE). Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-25sqlite3: Update to 3080301Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02sqlite: remove unrecognised options: --enable-tempstoreSaul Wold
This option appears to be commented out in the configure.ac with no explaination, It does not appear to be commented out in the source, so it occurs during the sqlite release process! Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-11-30sqlite3: Fix configure option warningRichard Purdie
WARNING: QA Issue: sqlite3: configure was passed unrecognised options: --disable-tcl There is no tcl option or support now so remove the option. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-08sqlite3: Add support for column metadata APIAlex J Lennon
I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries. ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333 The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code. I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6 - with column meta-data API 610360 libsqlite3.so.0.8.6 - without column meta-data API 608880 libsqlite3.so.0.8.6 Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-14sqlite3: update to 3.8.0.2Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14sqlite3: update to version 3.8.0.1Maxin B. John
Upgrade to latest version 3.8.0.1 Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24sqlite3: update to 3.7.17Jack Mitchell
build and runtime tested on armv7a Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29sqlite: Update to 3071602Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28sqlite: rename version to match upstream versioning changeSaul Wold
Upstream changed to a single grouped number, change our numbering to match thiers. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-01sqlite3: Update to 3.7.15.2Saul Wold
(From OE-Core rev: bacdb06ed7795400ea08b25946dc94b956b7578b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>