From 92cf85a3a3aec46f1c0d2de4c3530f7ddacb089e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 31 2020 09:34:20 +0000 Subject: import mariadb-5.5.65-1.el7 --- diff --git a/.gitignore b/.gitignore index 7e2c68d..b4c5788 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mariadb-5.5.64.tar.gz +SOURCES/mariadb-5.5.65.tar.gz diff --git a/.mariadb.metadata b/.mariadb.metadata index 055fb28..5f80820 100644 --- a/.mariadb.metadata +++ b/.mariadb.metadata @@ -1 +1 @@ -39ee4db628c775f378e6f19206e8a329d94e24ff SOURCES/mariadb-5.5.64.tar.gz +886f157260e696e793bf0b270ca1393aaa219617 SOURCES/mariadb-5.5.65.tar.gz diff --git a/SOURCES/mariadb-norelocatable.patch b/SOURCES/mariadb-norelocatable.patch new file mode 100644 index 0000000..399cca9 --- /dev/null +++ b/SOURCES/mariadb-norelocatable.patch @@ -0,0 +1,78 @@ +Revert upstream changes to make the mysql_install_dbrelocatable + +Resolves: #1731062 + +Upstream intended to make the mysql_install_db script to be relocatable, which +is not a supported use case in RHEL. Because of different layout (mysqld in +/usr/libexec while all other binaries in /usr/bin) these changes broke +mysql_install_db if run without arguments (we use --rpm in the systemd so we +didn't meet this issue there). Reverting changes upstream did fixes the +standalone run of mysql_install_db again. + +Original upstream issue: https://jira.mariadb.org/browse/MDEV-14580 +Related fixes that broke the RHEL build: +https://github.com/MariaDB/server/commit/9c5be7d131f7eb7f27df722463faa2cd8135fd1b +https://github.com/MariaDB/server/commit/50e593386fcbaa1ca7bd2ed9fdfc51fd5102cdab + +diff -up mariadb-5.5.65/scripts/mysql_install_db.sh.norellocatable mariadb-5.5.65/scripts/mysql_install_db.sh +--- mariadb-5.5.65/scripts/mysql_install_db.sh.norellocatable 2019-08-17 07:06:14.135318451 +0200 ++++ mariadb-5.5.65/scripts/mysql_install_db.sh 2019-08-17 07:10:58.702473136 +0200 +@@ -36,9 +36,6 @@ in_rpm=0 + ip_only=0 + cross_bootstrap=0 + +-dirname0=`dirname $0 2>/dev/null` +-dirname0=`dirname $dirname0 2>/dev/null` +- + usage() + { + cat < - 1:5.5.65-1 +- Rebase to 5.5.65 + Also fixes: + CVE-2019-2737 CVE-2019-2739 CVE-2019-2740 CVE-2019-2805 + Resolves: #1741357 +- Revert upstream changes that make the mysql_install_db relocatable + because it broke mysql_install_db when run without --rpm arg + Resolves: #1731062 +- Add openssl BR that was missing for the tests + * Thu May 02 2019 Michal Schorm - 1:5.5.64-1 - Rebase to 5.5.64 - Resolves: #1490398