commit:     81830f8875459a1b704c3b813306075950b67159
Author:     Lothar Serra Mari <mail <AT> serra <DOT> me>
AuthorDate: Sat Apr 12 13:52:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  1 04:08:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81830f88

dev-db/mariadb: Skip ssl when setting the root password for 11.4

Starting with MariaDB 11.3, SSL is enabled on the server by default,
so while setting up the root password while skipping the default config
file, we have to run the MariaDB client with the --skip-ssl option.

Bug: https://bugs.gentoo.org/951865
Signed-off-by: Lothar Serra Mari <mail <AT> serra.me>
Part-of: https://github.com/gentoo/gentoo/pull/41557
Closes: https://github.com/gentoo/gentoo/pull/41557
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/mariadb/{mariadb-11.4.5.ebuild => mariadb-11.4.5-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-db/mariadb/mariadb-11.4.5.ebuild 
b/dev-db/mariadb/mariadb-11.4.5-r1.ebuild
similarity index 99%
rename from dev-db/mariadb/mariadb-11.4.5.ebuild
rename to dev-db/mariadb/mariadb-11.4.5-r1.ebuild
index 574ca4b42667..3a71ebc4cf43 100644
--- a/dev-db/mariadb/mariadb-11.4.5.ebuild
+++ b/dev-db/mariadb/mariadb-11.4.5-r1.ebuild
@@ -1294,6 +1294,8 @@ pkg_config() {
        cmd=(
                "${mysql_binary}"
                --no-defaults
+               # Skip SSL for client connections, see bug #951865
+               --skip-ssl
                "--socket='${socket}'"
                -hlocalhost
                "-e \"${sql}\""

Reply via email to