Commit Graph

16 Commits

Author SHA1 Message Date
krant 5603261ca4 libmariadb: update to 3.1.23
- Replace dead source URL
- Rebase the patch
- Remove superfluous cmake option

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-07 13:49:38 -08:00
Volker Christian 6748f95168 libmariadb: Fix async api by linking to libucontext
The asynchronous API of libmariadb uses cooperative multi threading
by using the system calls
  * makecontext
  * swapcontext
  * getcontext
  * setcontext
of the ucontext.h C-API.

Thus additionally link libmariadb to libucontext which is a library
providing these system calls on platforms not supporting them out of
the box - like musl based platforms.

Signed-off-by: Volker Christian <me@vchrist.at>
2023-09-23 18:46:01 -07:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Nick Hainke ed7d38c145 libmariadb: update to 3.1.18
The official download mirror does not host 3.1.12 anymore. Update to
newest version to solve the issue.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-24 05:38:43 -07:00
Michal Hrusecky d8ecded02d mariadb-common: Drop package and adjust configuration
The raison d'être of package mariadb-common was to provide common my.cnf
config file that was being used to include subdirectories and then to
push utf-8 as default everywhere. Let's make this file part of the
server package as there we actually set other options as well and drop
it from all clients. Instead let's set utf-8 as default in server,
client and client libraries. While at it also set socket to the more
common path and drop mysqld_safe script from the list of configuration
files and do other minor tweaks.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2021-11-29 01:47:45 -08:00
Florian Eckert fd13c120e7 libmariadb: fix compilation cmake issue
This patch fixes the compilation issue of the upstream Cmake file.
If this patch is not applied we get the following compilation error output.

CMake Error at cmake/ConnectorName.cmake:30 (ENDMACRO):
  Flow control statements are not properly nested.
Call Stack (most recent call first):
  CMakeLists.txt:423 (INCLUDE)

The blamed cmake/ConnectorName.cmake file gets fixed with this patch.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-23 12:06:33 +02:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 0aa8204100 libmariadb: update to 3.1.12
Switch to AUTORELEASE for simplicity.

Switch to building with Ninja for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-26 13:15:05 -07:00
Philip Prindeville 5b2d35a8d0 libmariadb: add dependency on libcurl
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2021-02-16 11:07:40 -07:00
Rosen Penev 6e60d97564 libmariadb: update to 3.8.10
Remove upstreamed patch.

Fixed license info.

Several whitespace changes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:42:54 -07:00
Michal Hrusecky 68bf6c95ec mariadb/libmariadb: Take over as a maintainer
Signed-off-by: Michal Hrusecky <michal@hrusecky.net>
2020-07-09 14:39:43 +02:00
Sebastian Kemper 70dcf9aa84 mariadb: remove maintainer
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-07-08 18:29:07 +02:00
Sebastian Kemper 980291575e libmariadb: bump to 3.1.8
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-17 22:15:40 +02:00
Sebastian Kemper 19de52a044 mariadb: install config files readable for all
Until now $(INSTALL_CONF) is used for configuration files that go into
/etc/mysql. This commit replaces that with $(INSTALL_DATA). The
configuration files are not only parsed by the server, but also by the
clients (which can be anybody).

This also removes a comment about a cron job from one of the
configuration files. There is no cron job.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-11 22:15:01 +02:00
Sebastian Kemper a4ceaec1e4 libmariadb: bump to 3.1.7
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-30 21:27:47 +01:00
Sebastian Kemper c1964dd8d2 mariadb: move libmariadb into its own package
This way when only wanting the library nobody needs to download and
compile the server package, saving space and time. Also this way we can
avoid sudden SONAME bumps during a server upgrade.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-17 16:05:29 +01:00