aboutsummaryrefslogtreecommitdiff
path: root/utils/mariadb
Commit message (Collapse)AuthorAge
* mariadb: use nls.mk for consistent iconv handlingSebastian Kemper2018-07-12
| | | | | | | | | | @jow- mentioned that depending on libiconv-full on uClibc is not the way to do it. Instead nls.mk needs to be included and then the correct iconv lib wil be used as per CONFIG_BUILD_NLS. Update mariadb Makefile to address this. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: fix uClibc buildsSebastian Kemper2018-07-08
| | | | | | | mariadb 10.2.x depends on iconv. glibc and musl include iconv, uclibc does not. So for uclibc builds a depend on libiconv-full is required. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: fix CPPFLAGS handlingSebastian Kemper2018-07-08
| | | | | | | The mariadb build system ignores CPPFLAGS. Add them to CFLAGS as a workaround. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: convert init script to procdSebastian Kemper2018-06-28
| | | | | | | Also create a user "mariadb" and use it for running the server. And add possibility to easily add command line args. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: add convenience symlinksSebastian Kemper2018-06-28
| | | | Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: fix mysql_configSebastian Kemper2018-06-28
| | | | | | Correct the socket info in mysql_config. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: add pluginsSebastian Kemper2018-06-28
| | | | | | | | - ha_sequence: formerly builtin, now a plugin - ha_sphinx: formerly disabled - ha_example: was missing in the eval lines 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: add source mirrorsSebastian Kemper2018-05-13
| | | | | | | As suggested by Daniel Engberg, add some mirror servers to offload from MariaDB's main download server. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: bump to 10.1.33Sebastian Kemper2018-05-13
| | | | | | | | | | | | | | | | | | Maintenance release. Fixes the following security vulnerabilities: CVE-2018-2782 CVE-2018-2784 CVE-2018-2787 CVE-2018-2766 CVE-2018-2755 CVE-2018-2819 CVE-2018-2817 CVE-2018-2761 CVE-2018-2781 CVE-2018-2771 CVE-2018-2813 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: fix /etc/mysql setupSebastian Kemper2018-05-13
| | | | | | | | - create directory /etc/mysql/conf.d as without it the server refuses to start - correct the path to my.cnf in the init script Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: Makefile cleanupsSebastian Kemper2018-05-13
| | | | | | | - fix a typo - remove unnecessary trailing slashes Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: create symlinks in a portable waySebastian Kemper2018-05-06
| | | | | | | | | | Hannu mentioned that --recursive could not be available always. That is correct. While GNU coreutils' ln supports this, BSD's ln for example does not. This commit addresses that. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: install staging libs to lib/mysql as wellSebastian Kemper2018-05-06
| | | | | | | | | | | | | | Historically programs added /usr/lib/mysql to the library search path when linking. mariadb does not do so anymore, although even its mysql_config script suggests to use this path. When an old version of the library still resides in this directory (like from an old mysql installation) it will be linked against instead of the current library which is in /usr/lib. To prevent this simply install symlinks from the staging libs in /usr/lib into /usr/lib/mysql. This fixes build failures on the build bots which are seen with libzdb and libdbi-drivers. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* mariadb: fix sporadic build failureSebastian Kemper2018-04-29
| | | | | | | | | | Observed once in about two dozen builds on the bots: make[6]: *** No rule to make target '/build/lede-snapshots/arm_cortex-a7_neon-vfpv4/build/sdk/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/libevent.so', needed by 'tests/async_queries'. Stop. Address this by adding libevent2 to PKG_BUILD_DEPENDS. 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>