Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql-extras:master commit in: /
Date: Thu, 17 Oct 2019 18:34:47
Message-Id: 1571337263.5bda8618c55ed07f5652107d7b76ddc88454ee06.grknight@gentoo
1 commit: 5bda8618c55ed07f5652107d7b76ddc88454ee06
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 17 18:34:23 2019 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 17 18:34:23 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=5bda8618
7
8 Fix 8.0.18 libressl patch
9
10 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
11
12 20018_all_mysql-8.0.18-fix-libressl-support.patch | 31 +++++++++++++++++------
13 1 file changed, 23 insertions(+), 8 deletions(-)
14
15 diff --git a/20018_all_mysql-8.0.18-fix-libressl-support.patch b/20018_all_mysql-8.0.18-fix-libressl-support.patch
16 index f6dc74f..e7e1a79 100644
17 --- a/20018_all_mysql-8.0.18-fix-libressl-support.patch
18 +++ b/20018_all_mysql-8.0.18-fix-libressl-support.patch
19 @@ -250,9 +250,24 @@ diff -aurN a/vio/viossl.cc b/vio/viossl.cc
20 DBUG_PRINT("info", (" %d: %s\n", c->id, c->name));
21 #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
22 DBUG_PRINT("info",
23 +diff -aurN a/include/violite.h b/include/violite.h
24 +--- a/include/violite.h 2019-09-20 04:30:51.000000000 -0400
25 ++++ b/include/violite.h 2019-10-17 14:31:39.045842844 -0400
26 +@@ -269,9 +269,11 @@
27 +
28 + long process_tls_version(const char *tls_version);
29 +
30 ++#ifndef LIBRESSL_VERSION_NUMBER
31 + int set_fips_mode(const uint fips_mode, char *err_string);
32 +
33 + uint get_fips_mode();
34 ++#endif
35 +
36 + struct st_VioSSLFd *new_VioSSLAcceptorFd(
37 + const char *key_file, const char *cert_file, const char *ca_file,
38 diff -aurN a/vio/viosslfactories.cc b/vio/viosslfactories.cc
39 ---- a/vio/viosslfactories.cc 2019-09-20 04:30:51.000000000 -0400
40 -+++ b/vio/viosslfactories.cc 2019-10-15 12:34:15.145676646 -0400
41 +--- a/vio/viosslfactories.cc 2019-10-17 14:27:32.672896538 -0400
42 ++++ b/vio/viosslfactories.cc 2019-10-17 14:27:47.776954552 -0400
43 @@ -420,6 +420,7 @@
44 }
45 }
46 @@ -261,11 +276,11 @@ diff -aurN a/vio/viosslfactories.cc b/vio/viosslfactories.cc
47 /**
48 Set fips mode in openssl library,
49 When we set fips mode ON/STRICT, it will perform following operations:
50 -@@ -466,6 +467,7 @@
51 - EXIT:
52 - return rc;
53 - }
54 +@@ -473,6 +474,7 @@
55 + @returns openssl current fips mode
56 + */
57 + uint get_fips_mode() { return FIPS_mode(); }
58 +#endif
59
60 - /**
61 - Get fips mode from openssl library,
62 + long process_tls_version(const char *tls_version) {
63 + const char *separator = ",";