summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
Commit message (Collapse)AuthorAgeFilesLines
* influxdb: Enable network during do_compileKhem Raj2022-01-121-0/+5
| | | | | | | | | This should actually be fixed in the package's build system to not do the network access during compile task but go modules are invoked during do_compile which needs to access the network. Lets workaround it for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: fix CVE-2021-23214,CVE-2021-23222Changqing Li2021-12-233-0/+249
| | | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* soci: update to 4.0.2Oleksandr Kravchuk2021-12-132-8/+45
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* influxdb: Fix build with Go 1.17 on x86_64Khem Raj2021-12-013-6/+46
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* influxdb: Upgrade to 1.8.10Khem Raj2021-12-011-6/+5
| | | | | | | | | | | | | Changes are here [1] License-Update: Updated copyright info [2] Fix sh interpreter path [1] https://dl.influxdata.com/platform/nightlies/1.8/CHANGELOG.md [2] https://github.com/influxdata/influxdb/commit/809ac4f0d5280a2391ed1af84e2a331d37525913#diff-c693279643b8cd5d248172d9c22cb7cf4ed163a3c98c8a3f69c2717edd3eacb7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Fix openssl 3.x compatibilityMingli Yu2021-11-222-0/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport a patch [1] to fix the below mariadb crash issue which related to compatibility with openssl 3.x. # mysql_install_db --basedir=/usr Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... /usr/bin/mysql_install_db: line 525: 430 Aborted "$mysqld_bootstrap" $defaults $defaults_group_suffix "$mysqld_opt" --bootstrap $silent_startup "--basedir=$basedir" "--datadir=$ldata" --log-warnings=0 --enforce-storage-engine="" "--plugin-dir=${plugindir}" $args --max_allowed_packet=8M --net_buffer_length=16K Installation of system tables failed! Examine the logs in /var/log/mysqld.log or /var/lib/mysql for more information. [snip] # cat /var/log/mysqld.log [snip] Thread pointer: 0x55e203ab6d98 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x7ffd0c35dd18 thread_stack 0x49000 /usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x55e2027e533e] /usr/sbin/mariadbd(handle_fatal_signal+0x478)[0x55e20233eac8] libc_sigaction.c:0(__restore_rt)[0x7fbdf353b8f0] nptl/pthread_kill.c:46(__pthread_kill_internal)[0x7fbdf3586693] posix/raise.c:27(__GI_raise)[0x7fbdf353b846] stdlib/abort.c:81(__GI_abort)[0x7fbdf35267a3] posix/libc_fatal.c:161(__GI___libc_fatal)[0x7fbdf357ae50] debug/fortify_fail.c:25(__GI___fortify_fail)[0x7fbdf3613c4a] :0(__stack_chk_fail_local)[0x7fbdf3613c14] /usr/sbin/mariadbd(+0xacc8b5)[0x55e20253f8b5] mysys_ssl/my_md5.cc:92(my_md5)[0x55e202203533] /usr/sbin/mariadbd(_Z17mysql_create_viewP3THDP10TABLE_LIST21enum_view_create_mode+0x9e1)[0x55e2021f44b1] /usr/sbin/mariadbd(_Z21mysql_execute_commandP3THDb+0x2249)[0x55e202131f79] /usr/sbin/mariadbd(_Z11mysql_parseP3THDPcjP12Parser_state+0x1d8)[0x55e202135098] sql/table.cc:5635(TABLE_LIST::calc_md5(char const*))[0x55e20213546e] sql/sql_class.h:1219(Query_arena::memdup(void const*, unsigned long))[0x55e202073dee] nptl/libc_start_call_main.h:58(__libc_start_call_main)[0x7fbdf352751b] csu/libc-start.c:128(call_init)[0x7fbdf35275cc] /usr/sbin/mariadbd(_start+0x25)[0x55e2020686b5] [snip] [1] https://github.com/MariaDB/server/commit/1b238e343506b43825092941d4cd294d9b866bef Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-033-3/+3
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmdb: replace tag with commit id in SRCREVSakib Sajal2021-09-241-1/+1
| | | | | | | | | | | Using tag in SRCREV does not work when the git source is added to the PREMIRRORS and set BB_NO_NETWORK = "1". This is because there is no SRCREV, and bitbake needs check the original url to get it. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: upgrade 13.3 -> 13.4Changqing Li2021-09-142-4/+9
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Upgrade to 10.6.4Mingli Yu2021-08-238-96/+28
| | | | | | | | | | | Drop patches such as 0001-disable-ucontext-on-musl.patch is used to patch include/my_context.h which is deleted in 10.6.x [1] and rebase one patch to avoid fuzz warnings. [1] https://github.com/MariaDB/server/commit/32a29afea777d8bbfcea7a2b5e6e5ee674013cb5 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmdb: use libprefix in Makefile to install librariesSakib Sajal2021-08-202-2/+36
| | | | | | | | | | | Makefile used libdir which had hardcoded "$(exec_prefix)/lib" directory to install libraries. This is a problem for MULTILIB builds as libraries are installed in "lib64" directory. Hence use libprefix which contains the correct path for installing libraries. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Update SRC_URIMingli Yu2021-08-061-1/+1
| | | | | | | | | | | | The previous SRC_URI only stores the latest source tarball and we will meet do_fetch issue if not upgrade timely. Update the SRC_URI which stores all versions to fix some warning like below: WARNING: mariadb-10.5.9-r0 do_fetch: Failed to fetch URL https://downloads.mariadb.org/interstitial/mariadb-10.5.9/source/mariadb-10.5.9.tar.gz, attempting MIRRORS if available Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: manually fix the conversionMartin Jansa2021-08-031-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-0310-141/+141
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: redefine log-error itemMingli Yu2021-07-302-6/+1
| | | | | | | | | | | | | | | | | | | The log-error item which defined in my.cnf is "/var/log/mysqld.err" previouly and it's not consistent with which created in install_db service file which will call mysql-systemd-start to create the file "/var/log/mysqld.log". And it fails when boot with sysvinit as below: $ service mysqld start Starting MariaDB.210727 04:05:03 mysqld_safe Logging to '/var/log/mysqld.err'. 210727 04:05:03 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql /usr/bin/mysqld_safe_helper: Can't create/write to file '/var/log/mysqld.err' (Errcode: 13 "Permission denied") So make the log-error item consistent to fix the above failure and also remove the related workaround when boot with systemd. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmdb: add recipeSakib Sajal2021-07-272-0/+64
| | | | | | | | lmdb provides a high-performance embedded transactional database in the form of a key-value store. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: fix failures to start install_db.serviceKai Kang2021-07-131-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It fails to start install_db.service when install mariadb-setupdb from a package repo via dnf: root@qemux86-64:~# systemctl status install_db x install_db.service - Install MySQL Community Server Database Loaded: loaded (/lib/systemd/system/install_db.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2021-07-09 02:55:12 UTC; 5s ago Process: 504 ExecStart=/usr/bin/mysql-systemd-start pre (code=exited, status=203/EXEC) Main PID: 504 (code=exited, status=203/EXEC) Jul 09 02:55:12 qemux86-64 systemd[1]: Starting Install MySQL Community Server Database... Jul 09 02:55:12 qemux86-64 systemd[504]: install_db.service: Failed to locate executable /usr/bin/mysql-systemd-start: No such file or directo> Jul 09 02:55:12 qemux86-64 systemd[504]: install_db.service: Failed at step EXEC spawning /usr/bin/mysql-systemd-start: No such file or direct> Jul 09 02:55:12 qemux86-64 systemd[1]: install_db.service: Main process exited, code=exited, status=203/EXEC Jul 09 02:55:12 qemux86-64 systemd[1]: install_db.service: Failed with result 'exit-code'. Jul 09 02:55:12 qemux86-64 systemd[1]: Failed to start Install MySQL Community Server Database. The scripts required by install_db.service are packaged in mariadb-server which depends on mariadb-setupdb already. So move the scripts to mariadb-setupdb to make sure start install_db.service successfully. And move creating user 'mysql' in mariadb-setupdb as well. Packageconfig 'setupdb' has been useless from last upgrade, so remove it at same time. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Upgrade to 10.5.11Zoltán Böszörményi2021-07-084-2/+2
| | | | | | | Forward port musl patches Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Use qemu to run cross-compiled binariesZoltán Böszörményi2021-07-084-108/+15
| | | | | | | This way, mariadb does not depend on mariadb-native anymore. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Fix build with gcc on rv32 and mipsKhem Raj2021-06-182-0/+63
| | | | | | | | __sync_fetch_and_add (64bit) are not impelemented in gcc and clang smartly converts them to __atomic_fetch_add() APIs, so do that manually when using gcc for compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Implement timer for armv6+Khem Raj2021-06-182-0/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Implement timer for mipsKhem Raj2021-06-182-0/+20
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Fix build with ppc64/muslKhem Raj2021-06-182-0/+29
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Implement toku_time_now function for rv32/rv64Khem Raj2021-06-182-0/+45
| | | | | | | | | Fixes build utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_time.h:137:2: error: #error No timer implementation for this platform 137 | #error No timer implementation for this platform | ^~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Upgrade to 6.20.3Khem Raj2021-06-185-23/+29
| | | | | | | Refresh patches Add a fix to build with clang on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Fix build with clang/muslKhem Raj2021-06-182-0/+12
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Include missing sys/type.h for ssize_tKhem Raj2021-06-012-0/+16
| | | | | | | | | | | | | musl finds this problem in sources where its missing to include needed system header for ssize_t Fixes wsrep-lib/include/wsrep/gtid.hpp:80:5: error: unknown type name 'ssize_t'; did you mean 'size_t'? ssize_t scan_from_c_str(const char* buf, size_t buf_len, ^~~~~~~ size_t Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: upgrade 13.2 -> 13.3zangrc2021-05-192-2/+2
| | | | | | | | Refresh the following patch: 0001-configure.in-bypass-autoconf-2.69-version-check.patch Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Upgrade to 10.5.10Khem Raj2021-05-116-56/+10
| | | | | | | | | Drop fix-a-building-failure.patch because upstream has made is narrower to apply to emulator builds and not just any cross compiling builds Add missing dependency on boost Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Fix configureAndreas Müller2021-05-112-0/+36
| | | | | | | Assume recent CMake upgrade made this pop up. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Fix build on newer 32bit architecturesKhem Raj2021-04-063-0/+67
| | | | | | | | newer 32bit arches e.g. RV32 and ARC do not have __NR_io_getevents syscall and have started of with 64bit time_t so there is no 32bit version Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: upgrade 10.5.8 -> 10.5.9wangmy2021-04-065-48/+9
| | | | | | | | | refresh c11_atomics.patch remove 0001-stacktrace-t.c-make-the-test-conditional.patch since it is included in 10.5.9 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mysql-python, lio-utils, openlmi-tools: add conditional PNBLACKLIST like ↵Martin Jansa2021-03-281-0/+2
| | | | | | | | | | | | | | | | meta-python2 does * it depends on target python(2) recipes from meta-python2 which are restricted with this conditional since: https://git.openembedded.org/meta-python2/commit/?h=hardknott&id=10c65fc18998d302f34634ffceaf31ab335056dd * telepathy-idle and cherokee from: meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb meta-webserver/recipes-httpd/cherokee/cherokee_git.bb also depend on meta-python2, but use only pythonnative from there, so they aren't blacklisted. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Fix build on musl/ppcKhem Raj2021-03-132-0/+52
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>