databases/mysq56-{client, server}: Update to 5.6.45

This update includes security fixes which are
mentioned on upstream critical patch report.
Further info:
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html#AppendixMSQL

PR:		239571
Reported by:	serg@tmn.ru
Sponsored by:	Platform.sh
This commit is contained in:
Mahdi Mokhtari 2019-08-05 23:21:26 +00:00
parent b7471abcb1
commit d79cf0c9d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508218
4 changed files with 5 additions and 39 deletions

View file

@ -1,17 +0,0 @@
sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int')
mysql->options.extension->server_public_key_path != '\0')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
Part of https://github.com/mysql/mysql-server/commit/db1bde79b1b4
--- sql-common/client_authentication.cc.orig 2017-09-13 15:49:17 UTC
+++ sql-common/client_authentication.cc
@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
if (mysql->options.extension != NULL &&
mysql->options.extension->server_public_key_path != NULL &&
- mysql->options.extension->server_public_key_path != '\0')
+ mysql->options.extension->server_public_key_path[0] != '\0')
{
pub_key_file= fopen(mysql->options.extension->server_public_key_path,
"r");

View file

@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME?= mysql
PORTVERSION= 5.6.44
PORTREVISION?= 2
PORTVERSION= 5.6.45
PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= MYSQL/MySQL-5.6
PKGNAMESUFFIX?= 56-server

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1556305204
SHA256 (mysql-5.6.44.tar.gz) = c031c92c3f226856b09bf929d8a26b0cd8600036cb9db4e0fdf6b6f032ced336
SIZE (mysql-5.6.44.tar.gz) = 32531507
TIMESTAMP = 1565035854
SHA256 (mysql-5.6.45.tar.gz) = 404d798974dd89aca4a19e67194b534eddc7508489982175978966360607aabb
SIZE (mysql-5.6.45.tar.gz) = 32525559

View file

@ -1,17 +0,0 @@
sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int')
mysql->options.extension->server_public_key_path != '\0')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
Part of https://github.com/mysql/mysql-server/commit/db1bde79b1b4
--- sql-common/client_authentication.cc.orig 2017-09-13 15:49:17 UTC
+++ sql-common/client_authentication.cc
@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
if (mysql->options.extension != NULL &&
mysql->options.extension->server_public_key_path != NULL &&
- mysql->options.extension->server_public_key_path != '\0')
+ mysql->options.extension->server_public_key_path[0] != '\0')
{
pub_key_file= fopen(mysql->options.extension->server_public_key_path,
"r");