Commit graph

8 commits

Author SHA1 Message Date
Sebastian Kemper
7053b12912 mariadb: add source mirrors
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>
2018-05-13 11:14:46 +02:00
Sebastian Kemper
13321a5697 mariadb: bump to 10.1.33
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>
2018-05-13 08:46:19 +02:00
Sebastian Kemper
3bdaa522df mariadb: fix /etc/mysql setup
- 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>
2018-05-13 08:42:44 +02:00
Sebastian Kemper
f1b49babad mariadb: Makefile cleanups
- fix a typo
- remove unnecessary trailing slashes

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-13 08:40:39 +02:00
Sebastian Kemper
c64552d2ba mariadb: create symlinks in a portable way
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>
2018-05-06 17:48:32 +02:00
Sebastian Kemper
1af459bd52 mariadb: install staging libs to lib/mysql as well
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>
2018-05-06 14:53:18 +02:00
Sebastian Kemper
5033e5bb70 mariadb: fix sporadic build failure
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>
2018-04-29 09:41:35 +02:00
Sebastian Kemper
1b73f267ea mariadb: new package
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>
2018-04-28 14:41:30 +02:00