summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/sqlite/sqlite3.inc
AgeCommit message (Collapse)Author
2023-05-29Revert "sqlite3: update CVE_PRODUCT"schitrod=cisco.com@lists.openembedded.org
This reverts commit 8800976e79d65956218ab462d9644d0661579301. As per NVD database "ghost:sqlite3" product is specific to "node.js" CVEs reported against above products are not applicable to us. (From OE-Core rev: 7616b1d28cb119adb471b5268a77ec61d5dd555c) Signed-off-by: Sanjay Chitroda <schitrod@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-10sqlite3: update CVE_PRODUCTChen Qi
Both 'sqlite' and 'sqlite3' are used in NVD database. (From OE-Core rev: 8800976e79d65956218ab462d9644d0661579301) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02sqlite3: upgrade 3.37.2 -> 3.38.0wangmy
Remove invalid PACKAGECONFIG : json1 (From OE-Core rev: 3f665656e3c0134994015235c24240086d5324fc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipesMeh Mbeh Ida Delphine
Fixes: [YOCTO #13471] (From OE-Core rev: 6db24928d62aeb093a0e6da6619713eaca57a96f) Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-14sqlite3: Drop pic as we no longer need the sqlite3 static libRichard Purdie
This was added in: https://git.openembedded.org/openembedded-core/commit/?id=6a58e12d19c539deac9e90679a68438497a42fa4 but is no longer needed now pseudo doesn't use sqlite's static lib. (From OE-Core rev: 5f614a24ed3b6e4da34beb9a3cede07004134503) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-28sqlite3: explicitly set target endian-nessAndre McCurdy
Unless SQLITE_BYTEORDER is predefined, the code falls back to build time huristics - which are not always correct (e.g. in sqlite 3.28.0 big-endian ARM is mis-detected). (From OE-Core rev: c0fc43c228acd44499d9a1c257ec5e4cf42ed050) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-28sqlite3: make CFLAGS consistent across native, nativesdk and target casesAndre McCurdy
The previous simplification: https://git.openembedded.org/openembedded-core/commit/?id=604777acfc54d285f315b622bd147ed02d55d6fd looked OK but didn't actually work as expected. The native and nativesdk classes re-set CFLAGS after the += has been applied and so any modifications made via += are lost. Use _append instead. (From OE-Core rev: b02d83f7ffc72b96799a7964a90709eef02aa29d) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07sqlite3: Fix zlib determinism problemJason Wessel
sqlite3-native in particular was finding zlib from the host if zlib-devel was installed. This could lead to races where pseudo-native may or may not fail to build. We don't need/use compressed page support with sqlite so disable the dependency (it doesn't have a configure option so use a autoconf cache variable). The target binaries were not previously building with zlib, so we will leave the default being zlib turned off, while the host binaries were building with it "occasionally", but not for anything at runtime. (From OE-Core rev: 0af2c6af0d5c060666f7ee6f2ef428c1a414cb86) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-20sqlite3: Update 3.25.2 -> 3.25.3Jens Rehsack
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. (From OE-Core rev: d533ad9b93383a8d721b72b4030b112a3799d559) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18sqlite3: Merge/simplify CFLAGSRichard Purdie
An earlier version of a change was merged from S. Lockwood-Childs <sjl@vctlabs.com> which made the CFLAGS consistent across native, nativesdk and target cases. This syncs with a later verison of the patch to remove duplicate CFLAGS settings and simplify the recipe. (From OE-Core rev: 604777acfc54d285f315b622bd147ed02d55d6fd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15sqlite3: consistent set of features for nativesdkS. Lockwood-Childs
Enable use of pread() and enable column metadata API for nativesdk builds. This brings nativesdk in line with target and native builds. (From OE-Core rev: 7c8b85e1c3d852975cd5961a297aa939bf4c7fe7) 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 (From OE-Core rev: cec6f26f4d2f16c9a58fac5a6344e3d43b36ed09) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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\) (From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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. (From OE-Core rev: 6a58e12d19c539deac9e90679a68438497a42fa4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-25sqlite3.inc: add PACKAGECONFIG to support building against libeditAndre McCurdy
(From OE-Core rev: 3200c102cf543cf4d8b9bed7beb056865ac34509) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-25sqlite3.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". (From OE-Core rev: 432952090b2faa14437d550f58a00a364d554b2e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-25sqlite: formatting improvements, move more stuff into sqlite3.incAndre McCurdy
Reformatting only, no functional changes. (From OE-Core rev: 34ddae767620186646fb5d36ab240fd6c98a5cbb) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-25sqlite3.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 (From OE-Core rev: f161d1ebfe961cee52235f2abfcde7fb13aa7ac1) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-25sqlite3.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. (From OE-Core rev: 2d93f7d6a93e9a4f9f4683e378c939f59461d803) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-18sqlite3: 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 (From OE-Core rev: ed46ac71846845ffc41efcd55a36e27883d9980a) Signed-off-by: Maxin B. John <maxin.john@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! (From OE-Core rev: 30616257b8d611db204cb85126c2578325b9c048) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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. (From OE-Core rev: 7d1fd11e50a280bcc3e6c2160871cdef14864cc2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01sqlite3: Ensure MLPREFIX is applied to AUTO_LIBNAME_PKGSRichard Purdie
(From OE-Core rev: c09777a99281e22f006b3e8bdc90b469ba12d9fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-support: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. NOTE: There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"), otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't need this line, since it is already in the default BUILD_LDFLAGS. Remove it and we don't need to bump the PR since we just removed a unused line. [YOCTO #3297] (From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24sqlite3: enable USE_PREADPhil Blundell
This gives a small but measureable performance improvement for I/O heavy workloads. (From OE-Core rev: e4bd65e68c3d0dd798ff69c2e9491e5b2dcafdc3) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-02nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-24sqlite3: refactor packages for staticdevSaul Wold
(From OE-Core rev: 6c642cf6b8aadfa3d1e9299c135f9cfc6abdd162) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28sqlite3: Fix nativesdk packaging/QA warningsRichard Purdie
When building sqlite3-nativesdk, there was a warning about debug files in the main package. This was due to the order of items in PACKAGES with -dbg after the main package which breaks an assumption native.bbclass makes. Changing the order fixes the packaging problem with no change to the normal target packaging. (From OE-Core rev: 4f5fdc4dc14d287d301069024ddec9cb65d68f7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-10sqlite3: Ensure nativesdk package extension is handled correctlyRichard Purdie
This avoids the warning: NOTE: multiple providers are available for runtime libsqlite3-dev (sqlite3, sqlite3-nativesdk) NOTE: consider defining a PREFERRED_PROVIDER entry to match libsqlite3-dev until such times as we convert nativesdk to use a prefix like multilib. (From OE-Core rev: 8fb81f538c80735d32db86a20e7f46b3902b4e75) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-03multilib: Use BPN instead of PN for style like lib${PN}Dongxiao Xu
When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. (From OE-Core rev: fbb734e5753655de30c82c0a036c9043820e02cb) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07sqlite: remove dependency on tcl-nativePhil Blundell
Older versions of sqlite required tclsh at compile time but this is no longer the case with recent 3.7.x. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003653.html (From OE-Core rev: cf8ef471d9620011e52462a84962b7f7ebf4e128) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11sqlite: upgrade from 3.7.5 to 3.7.6.2Yu Ke
- also remove the libtool.patch since it is already in the release version - update the LIC_FILES_CHKSUM, the license is not changed, just use sqlite3.h as more appropriate license file. the original sqlite3.c is actually not point to license content. (From OE-Core rev: 195d907986f19131d8f545b7473a676553c96028) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-16sqlite3-native: Drop dependencies on ncurses and readline plus enable in ↵Richard Purdie
memory temporary tables Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-09-01packages: Separate out most of the remaining packages into recipesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>