aboutsummaryrefslogtreecommitdiff
path: root/utils/mariadb/patches
Commit message (Collapse)AuthorAge
* mariadb: fix compilation with newer fmtRosen Penev2024-02-18
| | | | | | Upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mariadb: update to 10.9.8Rosen Penev2023-12-19
| | | | | | | Remove upstreamed patch. Signed-off-by: Rosen Penev <rosenp@gmail.com> Tested-by: Michael Heimpold <mhei@heimpold.de>
* mariadb: fix gcc 13 buildingOskari Rauta2023-05-20
| | | | | | | | | | | fixes: FAILED: tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o /usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/bin/x86_64-openwrt-linux-musl-g++ -DDBUG_TRACE -DHAVE_CONFIG_H -DHAVE_URING -D_FILE_OFFSET_BITS=64 -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/wsrep-lib/include -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/wsrep-lib/wsrep-API/v26 -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/include -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/include/providers -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3=mariadb-10.9.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/usr/include -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/include/fortify -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/include -DNDEBUG -DDBUG_OFF -std=gnu++11 -DHAVE_IO_URING_MLOCK_SIZE -MD -MT tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o -MF tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o.d -o tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o -c /usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc /usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc: In constructor '{anonymous}::aio_uring::aio_uring(tpool::thread_pool*, int)': /usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc:64:18: error: 'runtime_error' is not a member of 'std' 64 | throw std::runtime_error("aio_uring()"); Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* mariadb: Update to the latest version 10.9.3Michal Hrusecky2022-10-25
| | | | | | | | | | | | | | | | | | | | Update to the latest upstream version. For more details, see: https://mariadb.com/kb/en/changes-improvements-in-mariadb-109/ Added new dependency on libfmt. Following two patches dropped as the issues were fixed in upstream. * 130-c11_atomics.patch * 140-mips-connect-unaligned.patch The rest of the patches were refreshed. Don't need to disable cassandra and tokudb anymore as they were dropped from upstream tarball. Signed-off-by: Michal Hrusecky <michal@hrusecky.net>
* mariadb: fix compilation with ppc64Rosen Penev2022-09-04
| | | | | | | MariaDB's PPC64 CRC32 support requires AltiVec, which QoriQ does not support. Disable it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mariadb: Update to version 10.6.4Michal Hrusecky2021-10-30
| | | | | | | Update to the latest stable version of MariaDB. Dropped few no longer needed patches. Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
* mariadb: fix cmake issueSebastian Kemper2021-06-26
| | | | | | Same fix that went into libmariadb package with commit fd13c12. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* mariadb: Update to 10.4.17Michal Hrusecky2020-11-16
| | | | | | Update to the latest version from 10.4 series Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
* mariadb: fix compilation when selinux is presentRosen Penev2020-10-11
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mariadb: switch init to mysqld_safe and mysqladminSebastian Kemper2020-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysqld_safe is the recommended way to start the server on non-systemd systems ([1]). For instance, it has a crash detection with auto-restart function, can update ulimits, setup core files, set the niceness of the server etc. It looks like it could also be helpful when trying to set up clusters. It's maintained upstream and adding it means we don't need to add these features into our init script. mysqld_safe is a script itself, so it's added to conffiles in case users want to edit it. It can't be run under procd, so the init script is converted to a normal System V type. To stop the server and to reload the privileges tables mysqladmin is used. To that end mysqladmin is moved into the server package. While changing the init script, the Debian init script was used for ideas. It wasn't copied verbatim and adapted a bit here and there. Thanks to whoever wrote it! This commit removes the support for starting the service as a user other than "mariadb". This makes the init script simpler. If anybody wants to play around with the user then it's up to them to fix the permissions. [1] https://mariadb.com/kb/en/mysqld_safe/ Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: security bump to 10.4.12Sebastian Kemper2020-01-30
| | | | | | Fixes CVE-2020-2574. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: bump to major version 10.4Sebastian Kemper2019-11-17
| | | | | | | | | | | | | | | | Highlights: - Bump from 10.2.26 to 10.4.10 - auth_pam got replaced with never version, old one still available as auth_pam_v1 - semisync plugins were merged into the core - Upstream now installs symlinks for binaries with mariadb prefix. To accommodate that this commit updates Package/mariadb/install/bin accordingly. - Patches are updated with new ones from Debian and Arch (thanks!) - libedit patch dropped because it's upstream now. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: security bump to 10.2.26Sebastian Kemper2019-08-01
| | | | | | | | | | | | | | | | | | | New upstream release. Addresses: CVE-2019-2805 CVE-2019-2740 CVE-2019-2739 CVE-2019-2737 CVE-2019-2758 Package updates: - includes "THIRDPARTY" in PKG_LICENSE_FILES - drops client_ed25519 as a dynamic plugin and install it with the lib as per upstream decision - refreshes patches Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: bump to 10.2.24Sebastian Kemper2019-05-10
| | | | | | | | | | | | | | | | | | | | | | | | From Release Notes: Security MDEV-18686 - Add option to PAM authentication plugin to allow case insensitive username matching bugfix - multi-update checked privileges on views incorrectly (commit 5057d4637525eadad438d25ee6a4870a4e6b384c) MDEV-19276 - during connect, write error log warning for ER_DBACCESS_DENIED_ERROR, if log_warnings > 1 MDEV-17456 - Malicious SUPER user can possibly change audit log configuration without leaving traces. Fixes for the following security vulnerabilities: CVE-2019-2614 CVE-2019-2627 CVE-2019-2628 OpenWrt changes: - added PKG_CPE_ID - shortened default description to make "opkg info" output easier on the eyes - refreshed patches Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: bump to 10.2.22Sebastian Kemper2019-02-11
| | | | | | | | | | | | | | | | | | | | From upstream release notes: - Backport Information Schema CHECK_CONSTRAINTS Table. - MDEV-17475: Maximum value of table_definition_cache is now 2097152. - InnoDB ALTER TABLE fixes: MDEV-16499, MDEV-18186, MDEV-18237, MDEV-18222, MDEV-18256, MDEV-18016, MDEV-16849 - Mariabackup fixes: MDEV-18185, MDEV-18201, MDEV-18194 - Galera crash recovery fix: MDEV-15740 - Encryption fixes: MDEV-18129, MDEV-18183, MDEV-18279 - Fixes for the following security vulnerabilities: - CVE-2019-2510 - CVE-2019-2537 OpenWrt notes: - OpenSSL patch dropped as issue fixed upstream Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: Fix compilation without deprecated OpenSSL APIsRosen Penev2019-01-19
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mariadb: use system libedit for mysqlSebastian Kemper2018-12-15
| | | | | | | | | | | | | libedit changed its interface a while back. mariadb currently does not recognize this interface and instead uses a static old readline version. It does not link in the system readline due to licence incompatibility. This commit adds a patch that enables mariadb to detect and use the system libedit. The patch was sent upstream already ([1]). [1] https://github.com/MariaDB/server/pull/1001 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: security bump to 10.2.19Sebastian Kemper2018-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many, many bug fixes, see release notes for details: https://mariadb.com/kb/en/library/mariadb-10219-release-notes/ Fixed CVEs: CVE-2018-3282 CVE-2016-9843 CVE-2018-3174 CVE-2018-3143 CVE-2018-3156 CVE-2018-3251 CVE-2018-3185 CVE-2018-3277 CVE-2018-3162 CVE-2018-3173 CVE-2018-3200 CVE-2018-3284 OpenWrt package changes: - include sha256_password in libmariadb package - upstream provided new pkgconfig file libmariadb.pc - refreshed one patch, dropped two others (included in upstream source now) Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: fix pthread_detachSebastian Kemper2018-11-11
| | | | | | | Include fix from upstream for MDEV-17200. musl-1.1.20 segfaults when pthread_detach() is called for already detached threads. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: bump to 10.2.17Sebastian Kemper2018-08-21
| | | | | | | | | | | | | | | | | | | | | | | | From Release Notes: - New variable innodb_log_optimize_ddl for avoiding delay due to page flushing and allowing concurrent backup - InnoDB updated to 5.7.23 - ALTER TABLE fixes: MDEV-14637 - Fix hang due to DDL with FOREIGN KEY or persistent statistics MDEV-15953 - Alter InnoDB Partitioned Table Moves Files (which were originally not in the datadir) to the datadir MDEV-16515 - InnoDB: Failing assertion: ++retries < 10000 in file dict0dict.cc line 2737 MDEV-16809 - Allow full redo logging for ALTER TABLE - Temporary tables: MDEV-16713 - InnoDB hang with repeating log entry - indexed virtual columns: MDEV-15855 - Deadlock between purge thread and DDL statement - locking: MDEV-16664 - Change the default to innodb_lock_schedule_algorithm=fcfs - Galera: MDEV-15822 - WSREP: BF lock wait long for trx - Fixes for the following security vulnerabilities: CVE-2018-3060 CVE-2018-3064 CVE-2018-3063 CVE-2018-3058 CVE-2018-3066 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: bump to 10.2.x releaseSebastian Kemper2018-06-28
| | | | | | | | | | | | | | Bump to 10.2.x release series which has support for OpenSSL 1.1.x. - libmariadbclient was replaced by libmaria - libmaria uses LGPL, hence license info updated - upstream disabled xtradb engine, innodb is now default (cannot be built as plugin anymore) - complex charsets are now all included (size increase), as otherwise compile fails - patches adapted/refreshed Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: new packageSebastian Kemper2018-04-28
MariaDB is a drop-in replacement for MySQL. This commit adds a current and stable version of MariaDB to the tree. Quite a few ideas/patches were copied from Alpine Linux, Busybox Buildroot and Debian. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>