mariadb: upgrade 10.11.9 -> 10.11.12
A message that is not in the archive (sent off-list or not yet received): [email protected]
Gentle Reminder!
Quoted 202 lines · Yogita via lists.openembedded.org
From: Yogita Urade <[email protected]>
This upgrade includes fix for CVE-2023-52969, CVE-2023-52970 and CVE-2023-52971
Changelog:
https://mariadb.com/kb/en/mariadb-10-11-12-changelog/refresh 0001-Add-missing-includes-cstdint-and-cstdio.patch and ppc-remove-glibc-dep.patch
Droped mm_malloc.patch as this changes available in 10.11.12
Signed-off-by Yogita Urade <[email protected]>--- ..._10.11.9.bb => mariadb-native_10.11.12.bb} | 0 meta-oe/recipes-dbs/mysql/mariadb.inc | 3 +- ...-missing-includes-cstdint-and-cstdio.patch | 43 +++++++------------ .../recipes-dbs/mysql/mariadb/mm_malloc.patch | 13 ------ .../mysql/mariadb/ppc-remove-glibc-dep.patch | 26 +++++------ ...mariadb_10.11.9.bb => mariadb_10.11.12.bb} | 0 6 files changed, 26 insertions(+), 59 deletions(-)rename meta-oe/recipes-dbs/mysql/{mariadb-native_10.11.9.bb => mariadb-native_10.11.12.bb} (100%) delete mode 100644
meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch
rename meta-oe/recipes-dbs/mysql/{mariadb_10.11.9.bb => mariadb_10.11.12.bb} (100%)meta-oe/recipes-dbs/mysql/mariadb-native_10.11.12.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_10.11.9.bb +0
-0meta-oe/recipes-dbs/mysql/mariadb.inc +1
-2@@ -17,7 +17,6 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ file://ssize_t.patch \ - file://mm_malloc.patch \ file://sys_futex.patch \ file://cross-compiling.patch \ file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \@@ -25,7 +24,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ " SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" -SRC_URI[sha256sum] = "0a00180864cd016187c986faab8010de23a117b9a75f91d6456421f894e48d20" +SRC_URI[sha256sum] = "d61f23090cfc14f43e8a27c2d3ce7f80247e74481bb26a2d3a6308b8d194e167" UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch +15
-28@@ -11,27 +11,14 @@ Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Mingli Yu <[email protected]> --- - .../rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h | 1 + - storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 + - .../rocksdb/rocksdb/table/block_based/data_block_hash_index.h | 1 + - storage/rocksdb/rocksdb/util/slice.cc | 1 + - storage/rocksdb/rocksdb/util/string_util.h | 1 + - 5 files changed, 5 insertions(+) + storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 + + .../rocksdb/rocksdb/table/block_based/data_block_hash_index.h | 1 + + storage/rocksdb/rocksdb/util/slice.cc | 2 +- + storage/rocksdb/rocksdb/util/string_util.h | 1 + + 4 files changed, 4 insertions(+), 1 deletion(-) -diff --git a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h -index 963c1d8e..73487edd 100644 ---- a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h -+++ b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h -@@ -5,6 +5,7 @@ - - #pragma once - -+#include <cstdint> - #include "rocksdb/rocksdb_namespace.h" - - struct CompactionIterationStats { diff --git a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h -index c7f93b4c..3c2ab805 100644 +index 7fb9d489..f7b4e6f0 100644 --- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h +++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h @@ -8,6 +8,7 @@@@ -55,20 +42,20 @@ index f356395f..32152217 100644 #include <vector> diff --git a/storage/rocksdb/rocksdb/util/slice.cc b/storage/rocksdb/rocksdb/util/slice.cc -index 6db11cc9..c26b6a21 100644 +index 3c3656de..b18d7f5d 100644 --- a/storage/rocksdb/rocksdb/util/slice.cc +++ b/storage/rocksdb/rocksdb/util/slice.cc -@@ -8,6 +8,7 @@ - // found in the LICENSE file. See the AUTHORS file for names of contributors. +@@ -12,7 +12,7 @@ + #include <stdio.h> #include <algorithm> +- +#include <cstdint> + #include "rocksdb/convenience.h" #include "rocksdb/slice_transform.h" - #include "rocksdb/slice.h" - #include "util/string_util.h" - -diff --git a/util/string_util.h b/util/string_util.h -index 55d106fff02..11178fd1d7b 100644 + #include "rocksdb/utilities/object_registry.h" +diff --git a/storage/rocksdb/rocksdb/util/string_util.h b/storage/rocksdb/rocksdb/util/string_util.h +index 7794dbb0..b480177e 100644 --- a/storage/rocksdb/rocksdb/util/string_util.h +++ b/storage/rocksdb/rocksdb/util/string_util.h @@ -6,6 +6,7 @@@@ -80,5 +67,5 @@ index 55d106fff02..11178fd1d7b 100644 #include <string> #include <unordered_map> -- -2.25.1 +2.40.0meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch deleted +0
-13@@ -1,13 +0,0 @@ -Upstream-Status: Pending - ---- a/storage/rocksdb/rocksdb/port/jemalloc_helper.h -+++ b/storage/rocksdb/rocksdb/port/jemalloc_helper.h -@@ -5,7 +5,7 @@ - - #pragma once - --#if defined(__clang__) -+#if defined(__clang__) && defined(__GLIBC__) - // glibc's `posix_memalign()` declaration specifies `throw()` while clang's - // declaration does not. There is a hack in clang to make its re-declaration - // compatible with glibc's if they are declared consecutively. That hack breaksmeta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch +10
-16@@ -4,16 +4,17 @@ Remove glibc specific function dependencies Sourced from: https://git.alpinelinux.org/aports/tree/main/mariadb/ppc-remove-glibc-dep.patch Signed-off-by: Khem Raj <[email protected]> +--- + include/my_cpu.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/my_cpu.h b/include/my_cpu.h -index f2e26fca..94599b74 100644 +index 2b34e03f..27c6c227 100644 --- a/include/my_cpu.h +++ b/include/my_cpu.h -@@ -24,17 +24,16 @@ - */ - - #ifdef _ARCH_PWR8 --#include <sys/platform/ppc.h> +@@ -27,15 +27,15 @@ + #ifdef __GLIBC__ + #include <sys/platform/ppc.h> /* Very low priority */ -#define HMT_very_low() __ppc_set_ppr_very_low() +#define HMT_very_low() asm volatile("or 31,31,31")@@ -31,13 +32,6 @@ index f2e26fca..94599b74 100644 +#define HMT_medium_high() asm volatile("or 5,5,5") /* High priority */ #define HMT_high() asm volatile("or 3,3,3") - #else -@@ -72,7 +71,7 @@ static inline void MY_RELAX_CPU(void) - __asm__ __volatile__ ("pause"); - #endif - #elif defined(_ARCH_PWR8) -- __ppc_get_timebase(); -+ __builtin_ppc_get_timebase(); - #elif defined __GNUC__ && (defined __arm__ || defined __aarch64__) - /* Mainly, prevent the compiler from optimizing away delay loops */ - __asm__ __volatile__ ("":::"memory"); + #else /* GLIBC */ +-- +2.40.0meta-oe/recipes-dbs/mysql/mariadb_10.11.12.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_10.11.9.bb +0
-1-=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#117654): https://lists.openembedded.org/g/openembedded-devel/message/117654
Mute This Topic: https://lists.openembedded.org/mt/113359604/7312273
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-