summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/sqlite/sqlite3.inc
Commit message (Collapse)AuthorAgeFilesLines
* sqlite3: Drop pic as we no longer need the sqlite3 static libRichard Purdie2019-11-141-2/+0
| | | | | | | | | | 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>
* sqlite3: explicitly set target endian-nessAndre McCurdy2019-08-281-1/+5
| | | | | | | | | | | 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>
* sqlite3: make CFLAGS consistent across native, nativesdk and target casesAndre McCurdy2019-08-281-2/+2
| | | | | | | | | | | | | | | 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>
* sqlite3: Fix zlib determinism problemJason Wessel2019-08-071-0/+3
| | | | | | | | | | | | | | | | | | 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>
* sqlite3: Update 3.25.2 -> 3.25.3Jens Rehsack2018-11-201-2/+10
| | | | | | | | | | | | | | | | | | | | | | 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>
* sqlite3: Merge/simplify CFLAGSRichard Purdie2018-06-181-6/+2
| | | | | | | | | | | 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>
* sqlite3: consistent set of features for nativesdkS. Lockwood-Childs2018-06-151-0/+2
| | | | | | | | | 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>
* sqlite3.inc: set CVE_PRODUCT to sqliteMikko Rapeli2017-07-241-0/+2
| | | | | | | | | | | | 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>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-1/+1
| | | | | | | | | | | | | 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>
* sqlite: build position-independent codeRoss Burton2016-12-161-0/+2
| | | | | | | | | | 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>
* sqlite3.inc: add PACKAGECONFIG to support building against libeditAndre McCurdy2016-01-251-1/+1
| | | | | | | (From OE-Core rev: 3200c102cf543cf4d8b9bed7beb056865ac34509) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3.inc: dynamically link the sqlite3 command-line utilityAndre McCurdy2016-01-251-1/+6
| | | | | | | | | | | 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>
* sqlite: formatting improvements, move more stuff into sqlite3.incAndre McCurdy2016-01-251-2/+21
| | | | | | | | | 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>
* sqlite3.inc: drop obsolete config_BUILD_CC, etc exportsAndre McCurdy2016-01-251-8/+0
| | | | | | | | | | | | 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>
* sqlite3.inc: fix readline PACKAGECONFIGAndre McCurdy2016-01-251-5/+6
| | | | | | | | | | | | | | | | | | 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>
* sqlite3: upgrade to version 3.10.0Maxin B. John2016-01-181-0/+2
| | | | | | | | | | | | 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>
* sqlite: remove unrecognised options: --enable-tempstoreSaul Wold2014-01-021-1/+1
| | | | | | | | | | | 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>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | 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>
* sqlite3: Fix configure option warningRichard Purdie2013-11-301-2/+2
| | | | | | | | | | 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>
* sqlite3: Ensure MLPREFIX is applied to AUTO_LIBNAME_PKGSRichard Purdie2013-02-011-1/+1
| | | | | | (From OE-Core rev: c09777a99281e22f006b3e8bdc90b469ba12d9fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-2/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* sqlite3: enable USE_PREADPhil Blundell2012-09-241-0/+4
| | | | | | | | | | 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>
* nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2012-09-021-9/+6
| | | | | | | | | | | | | | | 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>
* sqlite3: refactor packages for staticdevSaul Wold2012-01-241-2/+4
| | | | | | | (From OE-Core rev: 6c642cf6b8aadfa3d1e9299c135f9cfc6abdd162) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Fix nativesdk packaging/QA warningsRichard Purdie2011-09-281-1/+1
| | | | | | | | | | | | 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>
* sqlite3: Ensure nativesdk package extension is handled correctlyRichard Purdie2011-08-101-6/+9
| | | | | | | | | | | | | 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>
* multilib: Use BPN instead of PN for style like lib${PN}Dongxiao Xu2011-08-031-3/+3
| | | | | | | | | | | 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>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | 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>
* sqlite: remove dependency on tcl-nativePhil Blundell2011-06-071-2/+2
| | | | | | | | | | | | 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>
* sqlite: upgrade from 3.7.5 to 3.7.6.2Yu Ke2011-05-111-5/+0
| | | | | | | | | | | | - 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>
* sqlite3-native: Drop dependencies on ncurses and readline plus enable in ↵Richard Purdie2011-02-161-2/+3
| | | | | | memory temporary tables Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-011-0/+33
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>