diff --git a/utils/mariadb/Makefile b/utils/mariadb/Makefile index 03bdd51c3c..f064997ba0 100644 --- a/utils/mariadb/Makefile +++ b/utils/mariadb/Makefile @@ -1,5 +1,6 @@ # # Copyright (C) 2018 Sebastian Kemper +# Copyright (C) 2021 Michal Hrusecky # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,19 +9,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mariadb -PKG_VERSION:=10.4.18 +PKG_VERSION:=10.4.21 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL := \ - https://mirror.netcologne.de/mariadb/$(PKG_NAME)-$(PKG_VERSION)/source \ - https://mirror.lstn.net/mariadb/$(PKG_NAME)-$(PKG_VERSION)/source \ - https://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/$(PKG_NAME)-$(PKG_VERSION)/source \ - https://downloads.mariadb.org/interstitial/$(PKG_NAME)-$(PKG_VERSION)/source +PKG_SOURCE_URL := https://archive.mariadb.org/$(PKG_NAME)-$(PKG_VERSION)/source -PKG_HASH:=330d9e8273002fc92f0f3f3f9b08157a3cab1265a0f114adeb6235e4283a0d3e +PKG_HASH:=94dd2e6f5d286de8a7dccffe984015d4253a0568281c7440e772cfbe098a291d PKG_MAINTAINER:=Michal Hrusecky -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0-only PKG_LICENSE_FILES:=COPYING THIRDPARTY PKG_CPE_ID:=cpe:/a:mariadb:mariadb diff --git a/utils/mariadb/patches/130-c11_atomics.patch b/utils/mariadb/patches/130-c11_atomics.patch index 11c834d692..a99566e3a3 100644 --- a/utils/mariadb/patches/130-c11_atomics.patch +++ b/utils/mariadb/patches/130-c11_atomics.patch @@ -9,7 +9,7 @@ Date: Fri Dec 21 19:14:04 2018 +0200 --- a/configure.cmake +++ b/configure.cmake -@@ -863,7 +863,25 @@ int main() +@@ -866,7 +866,25 @@ int main() long long int *ptr= &var; return (int)__atomic_load_n(ptr, __ATOMIC_SEQ_CST); }" diff --git a/utils/mariadb/patches/190-replace-hostname-in-mysqld_safe.patch b/utils/mariadb/patches/190-replace-hostname-in-mysqld_safe.patch index 8b74e0308f..7e52353ca9 100644 --- a/utils/mariadb/patches/190-replace-hostname-in-mysqld_safe.patch +++ b/utils/mariadb/patches/190-replace-hostname-in-mysqld_safe.patch @@ -1,6 +1,6 @@ --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh -@@ -244,7 +244,7 @@ wsrep_recover_position() { +@@ -246,7 +246,7 @@ wsrep_recover_position() { return 1 fi @@ -9,7 +9,7 @@ local wr_options="--disable-log-error --pid-file='$wr_pidfile'" -@@ -664,7 +664,7 @@ then +@@ -666,7 +666,7 @@ then * ) err_log="$DATADIR/$err_log" ;; esac else @@ -18,7 +18,7 @@ fi fi -@@ -743,7 +743,7 @@ fi +@@ -745,7 +745,7 @@ fi if test -z "$pid_file" then