aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
AgeCommit message (Collapse)Author
2020-01-29mariadb: fix library LZ4 lookupSumit Garg
While cross-compiling mariadb package it tries to link lz4 library present in the target sysroot and if not found it tries to link host lz4 library which is incorrect leading to linker errors. So fix that via restricting lz4 library lookup to target sysroot only. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-11-24mariadb: upgrade 10.3.16 -> 10.3.18Zheng Ruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> [Bug fix only update https://mariadb.com/kb/en/library/mariadb-10318-release-notes/ includes: CVE-2019-2805 CVE-2019-2740 CVE-2019-2739 CVE-2019-2737 CVE-2019-2758 ] Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-10-08mongodb: Turn system libpcre support into packageconfigKhem Raj
when libpcre is built with clang and mongodb with gcc then they dont link well, in such cases its better to use in-tree pcre, this paves a way to achieve that if needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-05mariadb: update SRC_URI to use archive.mariadb.orgDenys Dmytriyenko
archive.mariadb.org does not go 404 on releases over time Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25mongodb: Remove non building arches from COMPATIBLE_HOSTKhem Raj
c++17 is default now so we don't need to edit out c++11 options Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-23mongodb: Fix build on musl/aarch64Khem Raj
one impl of strerror_r is glibc specific, therefore check for __GLIBC__ also before using it Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-22mongodb: bump to version 4.2.0+git18ce5c9Vincent Prince
MongoDB v4.2.0 adds python3 support that is needed by scons upgrade [44f303b scons: inherit python3native]. - mongodb git commit 18ce5c9 was needed to fix https://jira.mongodb.org/browse/SERVER-42787 - Add PREFIX and prefix to scons environment to fix unknown variable check (SConstruct#L1073) - fix musl compilation (strerror_r) - Remove compatibility for clang/x86 due to missing "Hardware interference size" - Previous patches are refreshed Signed-off-by: Vincent Prince <vincent.prince.external@saftbatteries.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-04mariadb: fix file conflictions when multilib enabledKai Kang
When multilib is enabled, it complains file conflictions of /usr/bin/mysql_install_db and /usr/bin/mysqld_safe. Inherit multilib_script to solve the issues. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-02postgresql: 11.4 -> 11.5Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-11mongodb: add mongo shell as a PACKAGECONF optionVincent Prince
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10postgresql: upgrade 11.3 -> 11.4Zang Ruochen
-Upgrade from postgresql_11.3.bb to postgresql_11.4.bb. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25mongodb: add to PNBLACKLISTHongxu Jia
Since commit [44f303b scons: inherit python3native] applied in oe-core, but mongodb v4.0 requires python2 to build Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-17mariadb: Upgrade to 10.3.16Mingli Yu
License-Update: The address of Free Software Foundation updated Bug fixes: MDEV-19490: show tables fails when selecting the information_schema database MDEV-19541: InnoDB crashes when trying to recover a corrupted page More details check: https://jira.mariadb.org/browse/MDEV-19490 https://jira.mariadb.org/browse/MDEV-19541 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15rocksdb: 5.18.3 -> 6.0.2Pascal Bach
Also add support for gflags as these are enabled by default and recipes are available in meta-oe. They can still be disabled via PACKAGECONFIG. zstd is also added as an PACKAGECONFIG but currently the zstd recipe is not in meta-oe so it stays disabled for the moment. This also includes a patch that fixes GCC9 compatibility, it's currently submitted upstream but not yet accepted due to style issues. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15postgresql: improve reproducibilityHongxu Jia
- Make pg_config not record var-CC, var-CFLAGS, and configure which contains build paths - Split pgxs in which Makefile.global contains build path from package postgresql to postgresql-server-dev, it refers ubuntu Here is we got from Ubuntu 18.04 $ dpkg -c /var/cache/apt/archives/postgresql-server-dev-10_10.8-0ubuntu0.18.04.1_amd64.deb -rwxr-xr-x root/root 30792 2019-05-07 17:20 ./usr/lib/postgresql/10/bin/pg_config drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/ drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/ drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/config/ drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/src/ -rw-r--r-- root/root 31309 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/src/Makefile.global Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-24mariadb: Upgrade to 10.3.15Mingli Yu
Fixes for the following security vulnerabilities: CVE-2019-2614 CVE-2019-2627 CVE-2019-2628 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10rocksdb: Upgrade 5.18.2 -> 5.18.3Adrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10postgresql: Upgrade 11.2 -> 11.3Adrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-06mongodb: Fix build with gccVincent Prince
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-02postgresql: fix compile errorChangqing Li
configuration: MULTILIB_GLOBAL_VARIANTS_append = " libn32" MULTILIBS ?= "multilib:lib32 multilib:libn32" DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips" DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32" require conf/multilib.conf SELECTED_OPTIMIZATION = "${DEBUG_OPTIMIZATION}" DEBUG_BUILD = "1" EXTRA_IMAGE_FEATURES += "dbg-pkgs" with above configuration and option -Og, postgresql compile failed with: | make[4]: Nothing to be done for 'all'. | make[4]: Leaving directory '/tmp/work/mips-pokymllib32-linux/lib32-postgresql/11.2-r0/build/src/fe_utils' | {standard input}: Assembler messages: | {standard input}:58887: Error: branch out of range | <builtin>: recipe for target 'tab-complete.o' failed | make[3]: *** [tab-complete.o] Error 1 | make[3]: Leaving directory '/tmp/work/mips-pokymllib32-linux/lib32-postgresql/11.2-r0/build/src/bin/psql' | Makefile:41: recipe for target 'all-psql-recurse' failed | make[2]: *** [all-psql-recurse] Error 2 replace -Og with -O to fix this error Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19utilities: Fix build failure with -Werror=maybe-uninitializedHe Zhe
Initialize magic_number to zero to avoid such failure. utilities/blob_db/blob_log_format.cc:91:3: error: 'magic_number' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (magic_number != kMagicNumber) { ^~ Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-15postgresql: Fix build for RISC-VKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-15mariadb: fix atomic support on armMingli Yu
Check to link with libatomic to enable C11 atomics support to fix below build error on arm: | /build/tmp/work/armv5e-wrs-linux-gnueabi/mariadb/10.3.13-r0/recipe-sysroot-native/usr/bin/arm-wrs-linux-gnueabi/../../libexec/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/8.3.0/ld.bfd: librocksdblib.a(env_posix.cc.o): in function `std::__atomic_base<unsigned long long>::store(unsigned long long, std::memory_order)': | /usr/include/c++/8.3.0/bits/atomic_base.h:374: undefined reference to `__atomic_store_8' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07mysql-python: fix compilation with MariaDB 10.3.13Mingli Yu
Use standard API function MYSQL_OPT_RECONNECT instead of direct modification of internal structures which does not work for MariaDB to fix below compile issue. | _mysql.c: In function '_mysql_ConnectionObject_ping': | _mysql.c:2005:41: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06mariadb: Upgrade to 10.3.13Mingli Yu
Per https://mariadb.org/about/maintenance-policy/, mariadb 5.5.x series only supported until next year April 2020, so upgrade it to 10.3.13. Remove some deprecated patches, add some new patches to fix build failure and rework two patches to avoid fuzz warnings. Add -latomic to linker flags for armv5 Use -pthread to link for mussing atomic symbols on arches e.g. riscv Fixes issues like ld.bfd: librocksdblib.a(memtable.cc.o):/usr/include/c++/9.0.1/bits/atomic_base.h:438: more undefined references to `__atomic_compare_exchange_1' follow Fix build with musl add libxml2 to depends Fix build with clang Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-04leveldb: restrict building for mips64Slater, Joseph
Do not try to build lib32-leveldb. libn32-leveldb will build. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22postgresql: upgrade 1.11.1 -> 1.11.2Changqing Li
License-Update: Copyright Year Update Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-13rocksdb: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-05mongodb: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-05mongodb: Upgrade to 4.0.6Khem Raj
Change License to SSPL version 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-05rocksdb: Update to 5.18 branch ( 5.18.2 )Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19rocksdb: make resulting cmake config relocatablePascal Bach
RocksDB is still using CMake 2.8 and thus does not make use of importet targets. This leads to hardcoded paths to the build directory in the resulting packaged files. The workaround for the issue is to bypass CMakes detection and let the linker deal with finding the right library. This is necessary until RocksDB moves to a more modern CMake. It's also applied in the Poco recipe right now. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19rocksdb: fix qa warning of buildpathsKai Kang
rocksdb fails qa check buildpaths: | WARNING: rocksdb-5.17.2-r0 do_package_qa: QA Issue: File | /work/core2-64-poky-linux/rocksdb/5.17.2-r0/packages-split/rocksdb-dev/usr/lib64/cmake/rocksdb/RocksDBTargets.cmake | in package contained reference to tmpdir [buildpaths] Removing buildpath info from the cmake file. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-15postgresql: Update the regex to determine PGMAJORVERSION to match v10+ ↵Akram Hameed
database clusters Older versions of postgresql would generate MAJVER.MINVER in new clusters. 10+ do not. Update the regex to determine PGMAJORVERSION as a single int. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11postgresql: correctly build against target perlAlexander Kanavin
Previously perl-native headers were erroneously included, which was causing issues with the new perl recipe. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18rocksdb: Upgrade to 5.17.2Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-29postgresql: upgrade to 11.1Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26postgresql: Allow successful run of postgresql-setupOtavio Salvador
The postgresql-setup utility log-in on postgres user to create the database, however, the shell was set to bash and it wasn't being installed as runtime dependency. This rework this expectation to use busybox ash as shell and avoid the new dependency Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02mariadb: Upgrade to 5.5.62Mingli Yu
MariaDB 5.5.62 is a maintenance release. It includes bugfixes and updates, including from MySQL 5.5.62. . XtraDB updated to 5.5.61-38.13 . Fixes for the following security vulnerabilities: CVE-2018-3282 CVE-2018-3174 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-22postgresql: Fix build issue with timezone 2018f updateArmin Kuster
Sync our copy of the timezone library with IANA release tzcode2018f. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-29mongodb: Consolidate COMPATIBLE_HOSTKhem Raj
Its only available on fewer arches so express that via COMPATIBLE_HOST wiredtiger is only for 64bit, so add it directly to config args based on bitness Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-18mariadb: split one dpg packageHongxu Jia
Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one. Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-18postgresql: split one dpg packageHongxu Jia
Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one. Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27mongodb: Exclude on mips archKhem Raj
Support does not exist Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24mongodb: Upgrade to 4.0.1 releaseKhem Raj
Drop/adapt patches as some of them are not needed anymore Add patches to support musl especially thread stack and resolver functionality Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-22postgresql: Upgrade 10.4 -> 10.5Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11postgresql: upgrade 9.4.18 -> 10.4Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03mariadb: Upgrade to 5.5.61Mingli Yu
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27postgresql: use util-linux's uuidRoss Burton
Postgreqsql was configured to use ossp-uuid but ossp-uuid is dead and everyone will be building util-linux anyway, so use the libuuid.so from there. Confusing the option is called e2fs because the library originated in e2fsprogs. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-29postgresql: upgrade 9.4.17 -> 9.4.18changqing.li@windriver.com
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>