Skip to content

Commit 312a333

Browse files
[AUTOPATCHER-CORE] Upgrade mariadb to 10.6.20 none (#10927)
1 parent 8945822 commit 312a333

File tree

4 files changed

+13
-322
lines changed

4 files changed

+13
-322
lines changed

SPECS/mariadb/CVE-2022-47015.patch

Lines changed: 0 additions & 312 deletions
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Signatures": {
3-
"mariadb-10.6.9.tar.gz": "2ebcd66bc18211db9bdb4beb3445852d1ee2f212bc4d7de55a40907542c1b3c1"
4-
}
5-
}
2+
"Signatures": {
3+
"mariadb-10.6.20.tar.gz": "b0f37fac388df74a2a4cfbf1d53cadc4a4361ed1928bda1a627f03a6a60e745d"
4+
}
5+
}

SPECS/mariadb/mariadb.spec

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Database servers made by the original developers of MySQL.
22
Name: mariadb
3-
Version: 10.6.9
4-
Release: 6%{?dist}
3+
Version: 10.6.20
4+
Release: 1%{?dist}
55
License: GPLv2 WITH exceptions AND LGPLv2 AND BSD
66
Vendor: Microsoft Corporation
77
Distribution: Mariner
@@ -11,7 +11,6 @@ Group: Applications/Databases
1111
# To generate run CBL-Mariner/SPECS/mariadb/generate_source_tarball.sh script
1212
URL: https://mariadb.org/
1313
Source0: https://github.com/MariaDB/server/archive/mariadb-%{version}.tar.gz
14-
Patch0: CVE-2022-47015.patch
1514
Patch1: fix_symlink_location_db_install.patch
1615
BuildRequires: cmake
1716
BuildRequires: curl-devel
@@ -127,7 +126,7 @@ rm %{buildroot}%{_libdir}/mysql/plugin/{auth_gssapi_client.so,caching_sha2_passw
127126
rm %{buildroot}%{_libdir}/pkgconfig/libmariadb.pc
128127
rm %{buildroot}%{_includedir}/mysql/{errmsg.h,ma_list.h,ma_pvio.h,ma_tls.h,mysql_version.h,mysqld_error.h,mariadb_com.h,mariadb_ctype.h,mariadb_dyncol.h,mariadb_rpl.h,mariadb_stmt.h,mariadb_version.h,mysql.h}
129128
rm %{buildroot}%{_includedir}/mysql/mariadb/ma_io.h
130-
rm %{buildroot}%{_includedir}/mysql/mysql/{client_plugin.h,plugin_auth.h,plugin_auth_common.h}
129+
rm %{buildroot}%{_includedir}/mysql/mysql/{client_plugin.h,plugin_auth.h}
131130

132131
mv %{buildroot}%{_datadir}/systemd/mariadb.service %{buildroot}/%{_libdir}/systemd/system/mariadb.service
133132
mv %{buildroot}%{_datadir}/systemd/[email protected] %{buildroot}/%{_libdir}/systemd/system/[email protected]
@@ -360,6 +359,7 @@ fi
360359
%{_mandir}/man1/wsrep_sst_common.1.gz
361360
%{_mandir}/man1/wsrep_sst_mysqldump.1.gz
362361
%{_mandir}/man1/wsrep_sst_rsync.1.gz
362+
%{_mandir}/man1/wsrep_sst_backup.1.gz
363363
%{_mandir}/man1/mariabackup.1.gz
364364
%{_mandir}/man1/mbstream.1.gz
365365
%{_mandir}/man1/mysql_embedded.1.gz
@@ -465,6 +465,9 @@ fi
465465
%{_datadir}/mysql/hindi/errmsg.sys
466466

467467
%changelog
468+
* Mon Nov 04 2024 CBL-Mariner Servicing Account <[email protected]> - 10.6.20-1
469+
- Auto-upgrade to 10.6.20 - address CVE-2024-21096
470+
468471
* Thu Jan 18 2024 Andy Zaugg <[email protected]> - 10.6.9-6
469472
- Fix post scripts for rpm install, missing setup(mysql_install_db) script.
470473

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12901,8 +12901,8 @@
1290112901
"type": "other",
1290212902
"other": {
1290312903
"name": "mariadb",
12904-
"version": "10.6.9",
12905-
"downloadUrl": "https://github.com/MariaDB/server/archive/mariadb-10.6.9.tar.gz"
12904+
"version": "10.6.20",
12905+
"downloadUrl": "https://github.com/MariaDB/server/archive/mariadb-10.6.20.tar.gz"
1290612906
}
1290712907
}
1290812908
},

0 commit comments

Comments
 (0)