mariadb: Upgrade to 10.5.6
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 mariadb: Upgrade to 10.5.6
From: Mingli Yu <[email protected]>
Fixes for the following security vulnerabilities:
- CVE-2020-15180
Rebase one patch and remove one backported patch
---
...ive_10.5.4.bb => mariadb-native_10.5.6.bb} | 0
meta-oe/recipes-dbs/mysql/mariadb.inc | 3 +-
.../mariadb/0001-Fix-library-LZ4-lookup.patch | 4 +-
...DB-undefined-reference-to-crc32c_arm.patch | 48 -------------------
.../{mariadb_10.5.4.bb => mariadb_10.5.6.bb} | 0
5 files changed, 3 insertions(+), 52 deletions(-)
rename meta-oe/recipes-dbs/mysql/{mariadb-native_10.5.4.bb =>
mariadb-native_10.5.6.bb} (100%)
delete mode 100644
meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch
rename meta-oe/recipes-dbs/mysql/{mariadb_10.5.4.bb => mariadb_10.5.6.bb} (100%)
meta-oe/recipes-dbs/mysql/mariadb-native_10.5.6.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_10.5.4.bb +0 -0
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -2
@@ -19,9 +19,8 @@ SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz file://clang_version_header_conflict.patch \ file://fix-arm-atomic.patch \ file://0001-Fix-library-LZ4-lookup.patch \ - file://0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch \ " -SRC_URI[sha256sum] = "26db2becc9cec37e99a4e73390bd2eaa74568e21f9cf110359f4f68b37154c72" +SRC_URI[sha256sum] = "ff05dd69e9f6992caf1053242db704f04eda6f9accbcc98b74edfaf6013c45c4" UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" diff --git
a/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch index 574dfd317..0cf0560e1 100644
meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch +2 -2
@@ -14,12 +14,12 @@ index e97dd63e2b0..2f4694e727c 100644 +++ b/cmake/FindLZ4.cmake @@ -1,5 +1,10 @@ -find_path(LZ4_INCLUDE_DIR NAMES lz4.h) --find_library(LZ4_LIBRARY NAMES lz4) +-find_library(LZ4_LIBRARIES NAMES lz4) +find_path(LZ4_INCLUDE_DIR + NAMES lz4.h + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) + -+find_library(LZ4_LIBRARY ++find_library(LZ4_LIBRARIES + NAMES lz4 + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) diff --git
a/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch deleted file mode 100644
index 1856c1af7..000000000
meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch deleted +0 -47
47 lines not on this page · raw message
meta-oe/recipes-dbs/mysql/mariadb_10.5.6.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_10.5.4.bb +0 -0
Signature · 1 line
2.17.1
please rebase it on master or master-next and resend.
Quoted 136 lines · Mingli
From: Mingli Yu <[email protected]>
Fixes for the following security vulnerabilities:
- CVE-2020-15180Rebase one patch and remove one backported patch
Signed-off-by Mingli Yu <[email protected]>--- ...ive_10.5.4.bb => mariadb-native_10.5.6.bb} | 0 meta-oe/recipes-dbs/mysql/mariadb.inc | 3 +- .../mariadb/0001-Fix-library-LZ4-lookup.patch | 4 +- ...DB-undefined-reference-to-crc32c_arm.patch | 48 ------------------- .../{mariadb_10.5.4.bb => mariadb_10.5.6.bb} | 0 5 files changed, 3 insertions(+), 52 deletions(-)rename meta-oe/recipes-dbs/mysql/{mariadb-native_10.5.4.bb =>
mariadb-native_10.5.6.bb} (100%)
delete mode 100644meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch
rename meta-oe/recipes-dbs/mysql/{mariadb_10.5.4.bb =>
mariadb_10.5.6.bb} (100%)meta-oe/recipes-dbs/mysql/mariadb-native_10.5.6.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_10.5.4.bb +0
-0meta-oe/recipes-dbs/mysql/mariadb.inc +0
-0@@ -19,9 +19,8 @@ SRC_URI ="https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz
file://clang_version_header_conflict.patch \ file://fix-arm-atomic.patch \ file://0001-Fix-library-LZ4-lookup.patch \ - file://0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch \ "-SRC_URI[sha256sum] = "
26db2becc9cec37e99a4e73390bd2eaa74568e21f9cf110359f4f68b37154c72" +SRC_URI[sha256sum] = "ff05dd69e9f6992caf1053242db704f04eda6f9accbcc98b74edfaf6013c45c4"
UPSTREAM_CHECK_URI= "https://github.com/MariaDB/server/releases"
diff --gita/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patchb/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patchindex574dfd317..0cf0560e1100644meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch +2
-2@@ -14,12 +14,12 @@ index e97dd63e2b0..2f4694e727c 100644 +++ b/cmake/FindLZ4.cmake @@ -1,5 +1,10 @@ -find_path(LZ4_INCLUDE_DIR NAMES lz4.h) --find_library(LZ4_LIBRARY NAMES lz4) +-find_library(LZ4_LIBRARIES NAMES lz4) +find_path(LZ4_INCLUDE_DIR + NAMES lz4.h + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) + -+find_library(LZ4_LIBRARY ++find_library(LZ4_LIBRARIES + NAMES lz4 + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) diff --git
a/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patchb/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patchdeleted file mode 100644
index 1856c1af7..000000000
---a/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch+++/dev/nullmeta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch +0
-7@@ -1,48 +0,0 @@ -From d88ea260882ca414e940cd6af225617f00503f71 Mon Sep 17 00:00:00 2001 -From: Krunal Bauskar <[email protected]> -Date: Mon, 27 Jul 2020 18:38:10 +0800 -Subject: [PATCH] MDEV-23137: RocksDB: undefined reference to crc32c_arm64 - -RocksDB fails to build on arm64: undefined reference to - `crc32c_arm64(unsigned int, unsigned char const*, unsignedint)'
meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch +0
-18- -MariaDB uses storage/rocksdb/build_rocksdb.cmake to compile RocksDB. -Said cmake missed adding crc32c_arm64 compilation target so if -machine native architecture supported crc32 then complier would enable -usage of function defined in crc32c_arm64 causing the listed error. - -Added crc32c_arm64 complition target. - -closes #1642 - -Upstream-Status: Backport - -Signed-off-by: Mingli Yu <[email protected]> ---- - storage/rocksdb/build_rocksdb.cmake | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/storage/rocksdb/build_rocksdb.cmakeb/storage/rocksdb/build_rocksdb.cmake
meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch +0
-23-index 3f3dca7e990..7d2252c5f77 100644 ---- a/storage/rocksdb/build_rocksdb.cmake -+++ b/storage/rocksdb/build_rocksdb.cmake -@@ -442,6 +442,16 @@ else() - util/crc32c_ppc.c - util/crc32c_ppc_asm.S) - endif(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64") -+ # aarch -+ if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64") -+ CHECK_CXX_COMPILER_FLAG("-march=armv8-a+crc+crypto" HAS_ARMV8_CRC) -+ if(HAS_ARMV8_CRC) -+ message(STATUS " HAS_ARMV8_CRC yes") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a+crc+crypto -Wno-unused-function") -+ list(APPEND ROCKSDB_SOURCES -+ util/crc32c_arm64.cc) -+ endif(HAS_ARMV8_CRC) -+ endif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64") - endif() - SET(SOURCES) - FOREACH(s ${ROCKSDB_SOURCES}) --- -2.17.1 -meta-oe/recipes-dbs/mysql/mariadb_10.5.6.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_10.5.4.bb +0
-1--2.17.1
PATCH v2 1/1 mariadb: Upgrade to 10.5.6
From: Mingli Yu <[email protected]>
Fixes for the following security vulnerabilities:
- CVE-2020-15180
Rebase one patch and remove one backported patch
---
...ive_10.5.4.bb => mariadb-native_10.5.6.bb} | 0
meta-oe/recipes-dbs/mysql/mariadb.inc | 3 +-
.../mariadb/0001-Fix-library-LZ4-lookup.patch | 4 +-
...DB-undefined-reference-to-crc32c_arm.patch | 48 -------------------
.../{mariadb_10.5.4.bb => mariadb_10.5.6.bb} | 0
5 files changed, 3 insertions(+), 52 deletions(-)
rename meta-oe/recipes-dbs/mysql/{mariadb-native_10.5.4.bb => mariadb-native_10.5.6.bb} (100%)
delete mode 100644 meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch
rename meta-oe/recipes-dbs/mysql/{mariadb_10.5.4.bb => mariadb_10.5.6.bb} (100%)meta-oe/recipes-dbs/mysql/mariadb-native_10.5.6.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_10.5.4.bb +0 -0
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -2
@@ -19,9 +19,8 @@ SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz file://clang_version_header_conflict.patch \ file://fix-arm-atomic.patch \ file://0001-Fix-library-LZ4-lookup.patch \ - file://0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch \ " -SRC_URI[sha256sum] = "26db2becc9cec37e99a4e73390bd2eaa74568e21f9cf110359f4f68b37154c72" +SRC_URI[sha256sum] = "ff05dd69e9f6992caf1053242db704f04eda6f9accbcc98b74edfaf6013c45c4" UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch +2 -2
@@ -14,12 +14,12 @@ index e97dd63e2b0..2f4694e727c 100644 +++ b/cmake/FindLZ4.cmake @@ -1,5 +1,10 @@ -find_path(LZ4_INCLUDE_DIR NAMES lz4.h) --find_library(LZ4_LIBRARY NAMES lz4) +-find_library(LZ4_LIBRARIES NAMES lz4) +find_path(LZ4_INCLUDE_DIR + NAMES lz4.h + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) + -+find_library(LZ4_LIBRARY ++find_library(LZ4_LIBRARIES + NAMES lz4 + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-23137-RocksDB-undefined-reference-to-crc32c_arm.patch deleted +0 -48
48 lines not on this page · raw message
meta-oe/recipes-dbs/mysql/mariadb_10.5.6.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_10.5.4.bb +0 -0
Signature · 1 line
2.26.2