summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
Commit message (Collapse)AuthorAgeFilesLines
* influxdb: Generate checksums for term moduleKhem Raj2021-02-241-0/+11
| | | | | | | | go 1.16 does no longer regenrate them with go list command intentionally, Therefore add the replacement repo checksums to go.sum Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: upgrade 13.1 -> 13.2zhengruoqin2021-02-225-26/+6
| | | | | | | | | | | | | | | -License-Update: Copyright year updated to 2021. Upgrade patches to fix ERROR: postgresql-13.2-r0 do_patch: Fuzz detected: Applying patch 0001-configure.in-bypass-autoconf-2.69-version-check.patch patching file configure.in Hunk #1 succeeded at 19 with fuzz 2. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: update to 6.15.5Oleksandr Kravchuk2021-02-211-3/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: bypass autoconf version checkYi Fan Yu2021-02-052-0/+33
| | | | | | | allowing autoconf to be upgraded 2.69->2.71. Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: upgrade to 10.5.8Mingli Yu2021-01-275-8/+47
| | | | | | | | | | | | | | | | Fixes for the following security vulnerabilities: CVE-2020-14812 CVE-2020-14765 CVE-2020-14776 CVE-2020-14789 CVE-2020-28912 (MDEV-24040) Rebase c11_atomics.patch to avoid fuzz warnings and add a patch to fix below build error on musl. /prj/tmp/work/cortexa57-poky-linux-musl/mariadb/10.5.8-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/../../libexec/aarch64-poky-linux-musl/gcc/aarch64-poky-linux-musl/10.2.0/ld.bfd: /usr/src/debug/mariadb/10.5.8-r0/mariadb-10.5.8/unittest/mysys/stacktrace-t.c:36: undefined reference to `my_safe_print_str' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: add package config zstdKai Kang2021-01-261-0/+1
| | | | | | | | | | | | Add package config zstd to fix file-rdeps issue when ccache is enabled: | ERROR: mariadb-10.5.6-r0 do_package_qa: QA Issue: | /usr/lib64/plugin/ha_rocksdb.so contained in package mariadb-server | requires libzstd.so.1() (64bit), but no providers found in | RDEPENDS_mariadb-server? [file-rdeps] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* influxdb: Fix build on mipsKhem Raj2021-01-112-0/+22
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Thomas Perrot <thomas.perrot@bootlin.com>
* influxdb: add new recipeThomas Perrot2021-01-113-0/+884
| | | | | | | | InfluxDB is a time series database designed to handle high write and query loads. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: upgrade 12.4 -> 13.1changqing.li@windriver.com2020-12-292-10/+12
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: Use /dev/urandom when openssl is not usedKhem Raj2020-12-231-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: Inherit python3targetconfigKhem Raj2020-11-171-1/+1
| | | | | | | | | | it now ends up searching native python shared libraries and tries to link with it and fails on non-host architectures recipe-sysroot-native/usr/lib/libpython3.9.so: file not recognized: file format not recognized collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Update to 6.12.7Khem Raj2020-11-152-3/+51
| | | | | | Add a patch to fix build on riscv32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Fix build on 32bit arches with 64bit time_tKhem Raj2020-11-152-0/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Upgrade to 10.5.6Mingli Yu2020-10-145-52/+3
| | | | | | | | | | Fixes for the following security vulnerabilities: - CVE-2020-15180 Rebase one patch and remove one backported patch Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: 6.6.4 -> 6.11.4Pascal Bach2020-10-134-43/+63
| | | | | | | | | - Thread patch was fixed upstream - CMake atomic patch is still pending but was refreshed - Additional patch for proper bz2 support in CMake added. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: Update to 12.4Robert Joslyn2020-09-122-5/+2
| | | | | | | | | createlang, droplang, and the tsearch2 module were all removed in the 10.0 release. More details are in the release notes: https://www.postgresql.org/docs/10/release-10.html Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: package executables named with mariadbMingli Yu2020-08-201-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | After mariadb upgrades to 10.5.x, the below commit introduced: 9e1b3af4a49 MDEV-21303 Make executables MariaDB named Before the above commit: $ ls -l tmp-glibc/work/core2-64-wrs-linux/mariadb/10.4.12-r0/build/scripts/mysql_install_db -rwxr-xr-x 1 myu users 21649 Aug 20 10:36 tmp-glibc/work/core2-64-wrs-linux/mariadb/10.4.12-r0/build/scripts/mysql_install_db $ ls -l tmp-glibc/work/core2-64-wrs-linux/mariadb/10.4.12-r0/build/scripts/mariadb-install-db lrwxrwxrwx 1 myu users 16 Aug 20 10:36 tmp-glibc/work/core2-64-wrs-linux/mariadb/10.4.12-r0/build/scripts/mariadb-install-db -> mysql_install_db After the above commit: $ ls -l tmp-glibc/work/corei7-64-wrs-linux/mariadb/10.5.4-r0/build/scripts/mysql_install_db lrwxrwxrwx 1 myu users 18 Aug 19 15:02 tmp-glibc/work/corei7-64-wrs-linux/mariadb/10.5.4-r0/build/scripts/mysql_install_db -> mariadb-install-db $ ls -l tmp-glibc/work/corei7-64-wrs-linux/mariadb/10.5.4-r0/build/scripts/mariadb-install-db -rwxr-xr-x 1 myu users 21630 Aug 19 15:02 tmp-glibc/work/corei7-64-wrs-linux/mariadb/10.5.4-r0/build/scripts/mariadb-install-db So package the corresponding mariadb named executables to -server and -client packages and also correct MULTILIB_SCRIPTS part accordingly. Also cleanup some deprecated files defined for mariadb-server and mariadb-client. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: not use the bundled libpcre2Mingli Yu2020-08-043-2/+3
| | | | | | | | | | | | | | | | >From mariadb 10.5.1, it starts to use pcre2 [1] which is the bundled libpre2 by default. If using the bundled one, it will fetch, unpack and build the libpcre2 during mariadb do_compile phase as mariadb uses the bundled libpcre2 as an external project, more details in [2]. To avoid downloading the libpcre2 source from website during mariadb do_compile phase, switch to use the system libpcre2. [1] https://mariadb.com/kb/en/pcre/ [2] https://github.com/MariaDB/server/blob/10.5/cmake/pcre.cmake Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: upgrade to 10.5.4Mingli Yu2020-07-287-61/+97
| | | | | | | | | | | | | | | | | * Remove one backported patch * Remove SRC_URI[md5sum] * Rebase two patches to fix fuzz warnings * Add curl depends to fix below error: | ./mariadb-10.5.4/storage/maria/libmarias3/libmarias3/marias3.h:26:10: fatal error: curl/curl.h: No such file or directory * update the pam_user_map.so install logic as below commit introduced in this new mariadb version 236aed3f5f0 MDEV-21656: Wrong directory for pam_user_map.so JIRA:https://jira.mariadb.org/browse/MDEV-17292 * Backport a patch to fix the undefined reference to `crc32c_arm64' on arm64 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: remove vacuumlo from contribKonrad Weihmann2020-07-061-1/+1
| | | | | | | as it is already packaged in client package Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: 12.2 -> 12.3Wang Mingyu2020-06-053-53/+2
| | | | | | | | 0001-Use-pkg-config-for-libxml2-detection.patch removed since it is not available in 12.3 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Link with pthreads on riscvKhem Raj2020-04-211-0/+2
| | | | | | | | Fixes librocksdb.so.6.6.4: undefined reference to `__atomic_compare_exchange_1' collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: clean the empty /lib dirMingli Yu2020-04-161-0/+1
| | | | | | | | | | | | | | | | | | | When usrmerge is enabled in DISTRO_FEATURES, there comes below error: ERROR: mariadb-10.4.12-r0 do_package_qa: QA Issue: mariadb-leftovers package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] ERROR: mariadb-10.4.12-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. It is because empty /lib dir exists in mariadb-leftovers as below: $ rpm -qpl mariadb-leftovers-10.4.12-r0.core2_64.rpm |grep ^/lib /lib Considering the empty /lib dir is introduced when pam is enabled in DISTRO_FEATURES, so remove the empty /lib dir when pam is enabled to fix the above error. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Upgrade to 10.4.12Mingli Yu2020-04-094-7/+17
| | | | | | | | | | | | | | | * Fixes for the following security vulnerabilities: CVE-2020-2574 CVE-2020-7221 * Rework fix-arm-atomic.patch to remove fuzz warnings * Fix the warning when pam is enabled in DISTRO_FEATURES: WARNING: mariadb-10.4.12-r0 do_package_qa: QA Issue: mariadb-dbg: found library in wrong location: /lib/security/.debug/pam_user_map.so mariadb-leftovers: found library in wrong location: /lib/security/pam_user_map.so [libdir] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Fix build on platforms not having all atomic intrinsicsKhem Raj2020-03-182-0/+116
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: upgrade 6.5.2 -> 6.6.4Wang Mingyu2020-03-172-40/+3
| | | | | | | | 0001-Fix-build-breakage-from-lock_guard-error-6161.patch removed since it is included in 6.6.4 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: 12.1 -> 12.2Wang Mingyu2020-03-132-12/+12
| | | | | | | -License-Update: Copyright year updated to 2020. Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* conf/layer.conf: add BBFILES_DYNAMIC and dynamic layersChangqing Li2020-03-1113-537/+0
| | | | | | | | | | | | | | | | | | | | | | | | some recipes under meta-oe have dependency on meta-python, and test_world of yocto-check-layer will failed with error like: ERROR: test_world (common.CommonCheckLayer) ERROR: Nothing PROVIDES 'python3-pytoml-native' (but /meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb DEPENDS on or otherwise requires it). Close matches: python3-numpy-native python3-pycairo-native python3-rpm-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mozjs', 'python3-pytoml-native'] fix by make these recipes only active when identified layers are present Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Add pam_auth to server package.Jeremy A. Puhlman2020-02-181-0/+1
| | | | | | | | | | | | | | | | | | When pam is enabled, the pam plugin in pulled into the server package but not the auth tool which results in following error on boot: Starting to install database for mariadb chown: cannot access '/usr/lib/plugin/auth_pam_tool_dir': No such file or directory Cannot change ownership of the '/usr/lib/plugin/auth_pam_tool_dir' directory to the 'mysql' user. Check that you have the necessary permissions and try again. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: Add python3 to dependsKhem Raj2020-01-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: bump version to r4.2.2Vincent Prince2020-01-231-3/+3
| | | | | Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Replace using BBPATH with BBFILE_COLLECTIONS for meta-python2 checkKhem Raj2020-01-221-1/+1
| | | | | | BBPATH check actually does not work Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Turn inherit classes from meta-py2 to conditional constructsKhem Raj2020-01-221-1/+1
| | | | | | helps parsing without meta-py2 in mix Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mysql-python: Enable only when meta-py2 is presentKhem Raj2020-01-221-1/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Remove using python2Khem Raj2020-01-222-2/+2
| | | | | | | This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: fix library LZ4 lookupSumit Garg2020-01-132-0/+31
| | | | | | | | | | 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: Khem Raj <raj.khem@gmail.com>
* rocksdb: Disable WerrorKhem Raj2020-01-111-0/+1
| | | | | | | Using newer compilers e.g. gcc10/clang10 it spews new warnings so its better to disable warning as errors for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Fix compile error for DEBUG_BUILDRobert Yang2020-01-092-0/+32
| | | | | | | | Fixed do_compile error when DEBUG_BUILD = "1": db/write_thread.cc:183:14: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Upgrade to 10.4.11Khem Raj2019-12-295-10/+38
| | | | | | | | | Backport a rocksdb patch to fix clang error Refresh existing patches as needed Switch SRC_URI to downloads.mariadb.org since archive.mariadb.org is too slow if no mirrors are used Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Upgrade to 6.5.2Khem Raj2019-12-296-211/+43
| | | | | | | Backport an upstream patch to fix build Delete patches which are either upstreamed or not required Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: 12.0 -> 12.1Wang Mingyu2019-12-051-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* leveldb: Upgrade 1.20 -> 1.22Alex Kiernan2019-11-246-155/+43
| | | | | | | | Upstream has moved to cmake, so drop the build patches which are no longer relevant. Add run-ptest and PACKAGECONFIG support. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: replace dependency readline with libeditKai Kang2019-11-202-2/+1
| | | | | | | | | | | Because readline changed its license to GPLv3 from version 6.0, if build mariadb for distribution, it skips readline and turns to libedit. If no libedit available, it uses bundled readline in the source code finally. There is readline 8.0 in oe-core, so remove dependency readline and use libedit instead. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: upgrade 11.5 -> 12.0Zheng Ruoqin2019-11-072-7/+11
| | | | | | | Update 0001-Use-pkg-config-for-libxml2-detection.patch for new version. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: upgrade 10.3.16 -> 10.3.18Zheng Ruoqin2019-11-073-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: Clarify BSD license variantChristophe PRIOUZEAU2019-10-251-1/+1
| | | | | | | The License of postgresql is BSD-0-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Turn system libpcre support into packageconfigKhem Raj2019-10-081-3/+3
| | | | | | | | 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>
* mariadb: update SRC_URI to use archive.mariadb.orgDenys Dmytriyenko2019-10-051-1/+1
| | | | | | | 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>
* mongodb: Remove non building arches from COMPATIBLE_HOSTKhem Raj2019-09-251-9/+1
| | | | | | 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>
* mongodb: Fix build on musl/aarch64Khem Raj2019-09-233-31/+32
| | | | | | | 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>