pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q2]: pkgsrc/databases Pullup ticket #5525 - requested by taca
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ca85b330c11
branches: pkgsrc-2017Q2
changeset: 408662:9ca85b330c11
user: spz <spz%pkgsrc.org@localhost>
date: Sat Jul 29 20:10:58 2017 +0000
description:
Pullup ticket #5525 - requested by taca
databases/mysql56-client: security update
databases/mysql56-server: security update
Revisions pulled up:
- databases/mysql55-client/Makefile 1.25
- databases/mysql55-client/Makefile.common 1.41
- databases/mysql55-client/distinfo 1.43
- databases/mysql55-server/Makefile 1.33
- databases/mysql55-server/PLIST 1.30
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: adam
Date: Wed Jul 19 18:48:22 UTC 2017
Modified Files:
pkgsrc/databases/mysql55-client: Makefile Makefile.common distinfo
pkgsrc/databases/mysql55-server: Makefile PLIST
pkgsrc/databases/mysql56-client: Makefile Makefile.common distinfo
pkgsrc/databases/mysql56-server: Makefile PLIST
Log Message:
Security Notes
* Security Fix: The linked OpenSSL library for the MySQL Commercial Server has been updated to version 1.0.2l. Issues fixed in the new OpenSSL version are described at
http://www.openssl.org/news/vulnerabilities.html.
This change does not affect the Oracle-produced MySQL Community build of MySQL Server, which uses the yaSSL library instead.
Platform-Specific Notes
* Linux: The generic Linux build for MySQL 5.6 is now built on Oracle Linux 6 using glibc 2.12. Systems that use the build need to have glibc 2.12 or later installed on them.
Functionality Added or Changed
* For Windows, MSI installer packages now include a check for the required Visual Studio redistributable package, and produce a message asking the user to install it if it is missing.
* The mysql client now supports a --binary-as-hex option that causes display of binary data using hexadecimal notation (0xvalue). Thanks to Dani?l van Eeden for the patch.
* mysqlaccess now looks for its configuration file only in the SYSCONFDIR directory and /etc.
Bugs Fixed
* InnoDB: The server allocated memory unnecessarily for an operation that rebuilt the table.
* InnoDB: When using an index merge optimizer switch, a SELECT COUNT(*) operation sometimes returned 0. Partitioning code incorrectly performed a memcpy instead of a column copy of columns read by
the index, causing the wrong records to be copied.
* Replication: A USE statement that followed a SET GTID_NEXT statement sometimes had no effect.
* Replication: If the binary log on a master server was rotated and a full disk condition occurred on the partition where the binary log file was being stored, the server could stop unexpectedly.
The fix adds a check for the existence of the binary log when the dump thread switches to next binary log file. If the binary log is disabled, all binary logs up to the current active log are
transmitted to slave and an error is returned to the receiver thread.
* Replication: If a relay log index file named relay log files that did not exist, RESET SLAVE ALL sometimes did not fully clean up properly.
* Replication: mysqlbinlog, if invoked with the --raw option, does not flush the output file until the process terminates. But if also invoked with the --stop-never option, the process never
terminates, thus nothing is ever written to the output file. Now the output is flushed after each event.
* Replication: A memory leak in mysqlbinlog was fixed. The leak happened when processing fake rotate events, or when using --raw and the destination log file could not be created. The leak only
occurred when processing events from a remote server. Thanks to Laurynas Biveinis for his contribution to fixing this bug.
* Replication: Multi-threaded slaves could not be configured with small queue sizes using slave_pending_jobs_size_max if they ever needed to process transactions larger than that size. Any packet
larger than slave_pending_jobs_size_max was rejected with the error ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX, even if the packet was smaller than the limit set by slave_max_allowed_packet.
* With this fix, slave_pending_jobs_size_max becomes a soft limit rather than a hard limit. If the size of a packet exceeds slave_pending_jobs_size_max but is less than slave_max_allowed_packet,
the transaction is held until all the slave workers have empty queues, and then processed. All subsequent transactions are held until the large transaction has been completed. The queue size for
slave workers can therefore be limited while still allowing occasional larger transactions.
* mysqldump could write database names in USE statements incorrectly.
* If the mysql_stmt_close() C API function was called, it freed memory that later could be accessed if mysql_stmt_error(), mysql_stmt_errno(), or mysql_stmt_sqlstate() was called. To obtain error
information after a call to mysql_stmt_close(), call mysql_error(), mysql_errno(), or mysql_sqlstate() instead.
* Queries could be cached incorrectly, leading to incorrect query results, under these circumstances: InnoDB table; rows are being inserted but have not yet been committed; a query uses the table
as a base table in a derived table; the optimizer chooses to materialize the derived table.
* Man pages for a few utilities were missing from Debian/Ubuntu packages.
* The field-t unit test failed to run with AddressSanitizer enabled. Thanks to Laurynas Biveinis for the patch.
* Debian client packages were missing information about conflicts with native packages.
* The Perl path in #! lines at the beginning of Perl scripts has been adjusted to /usr/local/bin/perl for FreeBSD 11.
* The server exited abnormally attempting to access invalid memory.
* A race condition could occur for CREATE TABLE statements with DATA DIRECTORY or INDEX DIRECTORY clauses.
* MySQL compilation in different directories produced different builds to leakage of absolute paths into debug information and __FILE__.
* mysqld_failed to start the server if the --datadir option was specified with a relative path name.
* With read_only enabled, creation of non-TEMPORARY tables by non-SUPER users was permitted under certain conditions.
*Certain stored functions, if used in a query WHERE clause, could be handled using Index Condition Pushdown (which should not happen), resulting in a server exit.
* On x86 machines, the uint3korr() macro read 4 bytes of data instead of the intended 3 bytes.
* An assertion was raised during a fetch operation by the memcached plugin.
* Queries that contained UNION in a subquery and GROUP BY could return incorrect results.
* LOAD XML INFILE performance became noticeably slower when the XML file being read contained a great many spaces, such as those introduced by indenting or pretty-printing. Now all leading
whitespace is trimmed from each such value before reading it into memory.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/databases/mysql56-client/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/databases/mysql56-client/Makefile.common
cvs rdiff -u -r1.42 -r1.43 pkgsrc/databases/mysql56-client/distinfo
cvs rdiff -u -r1.32 -r1.33 pkgsrc/databases/mysql56-server/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/databases/mysql56-server/PLIST
diffstat:
databases/mysql56-client/Makefile | 28 ++++++++++++++++------------
databases/mysql56-client/Makefile.common | 12 +++++++-----
databases/mysql56-client/distinfo | 10 +++++-----
databases/mysql56-server/Makefile | 3 +--
databases/mysql56-server/PLIST | 17 ++++++++++++++++-
5 files changed, 45 insertions(+), 25 deletions(-)
diffs (233 lines):
diff -r b93129dac864 -r 9ca85b330c11 databases/mysql56-client/Makefile
--- a/databases/mysql56-client/Makefile Sat Jul 29 13:56:01 2017 +0000
+++ b/databases/mysql56-client/Makefile Sat Jul 29 20:10:58 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2016/08/04 10:09:08 adam Exp $
+# $NetBSD: Makefile,v 1.24.8.1 2017/07/29 20:10:58 spz Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= MySQL 5, a free SQL database (client)
@@ -12,17 +12,21 @@
INFO_FILES= yes
INSTALL_DIRS+= client include libmysql man scripts tests
-REPLACE_PERL= scripts/mysql_convert_table_format.sh
-REPLACE_PERL+= scripts/mysql_find_rows.sh
-REPLACE_PERL+= scripts/mysql_fix_extensions.sh
-REPLACE_PERL+= scripts/mysql_install_db.pl.in
-REPLACE_PERL+= scripts/mysql_secure_installation.pl.in
-REPLACE_PERL+= scripts/mysql_setpermission.sh
-REPLACE_PERL+= scripts/mysql_zap.sh
-REPLACE_PERL+= scripts/mysqlaccess.sh
-REPLACE_PERL+= scripts/mysqld_multi.sh
-REPLACE_PERL+= scripts/mysqldumpslow.sh
-REPLACE_PERL+= scripts/mysqlhotcopy.sh
+SUBST_CLASSES+= perlpath
+SUBST_STAGE.perlpath= pre-configure
+SUBST_MESSAGE.perlpath= Fixing Perl paths.
+SUBST_FILES.perlpath= scripts/mysql_convert_table_format.sh
+SUBST_FILES.perlpath+= scripts/mysql_find_rows.sh
+SUBST_FILES.perlpath+= scripts/mysql_fix_extensions.sh
+SUBST_FILES.perlpath+= scripts/mysql_install_db.pl.in
+SUBST_FILES.perlpath+= scripts/mysql_secure_installation.pl.in
+SUBST_FILES.perlpath+= scripts/mysql_setpermission.sh
+SUBST_FILES.perlpath+= scripts/mysql_zap.sh
+SUBST_FILES.perlpath+= scripts/mysqlaccess.sh
+SUBST_FILES.perlpath+= scripts/mysqld_multi.sh
+SUBST_FILES.perlpath+= scripts/mysqldumpslow.sh
+SUBST_FILES.perlpath+= scripts/mysqlhotcopy.sh
+SUBST_SED.perlpath= -e 's,@PERL_PATH@,${PERL5},g'
SUBST_CLASSES+= fixwrap
SUBST_STAGE.fixwrap= post-build
diff -r b93129dac864 -r 9ca85b330c11 databases/mysql56-client/Makefile.common
--- a/databases/mysql56-client/Makefile.common Sat Jul 29 13:56:01 2017 +0000
+++ b/databases/mysql56-client/Makefile.common Sat Jul 29 20:10:58 2017 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.40 2017/05/05 16:22:29 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.40.2.1 2017/07/29 20:10:58 spz Exp $
#
# used by databases/mysql56-client/Makefile
# used by databases/mysql56-server/Makefile
-DISTNAME= mysql-5.6.36
+DISTNAME= mysql-5.6.37
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL:=MySQL-5.6/}
@@ -103,11 +103,13 @@
SUBST_CLASSES+= scr
SUBST_STAGE.scr= pre-configure
-SUBST_FILES.scr= scripts/mysql_install_db.sh scripts/mysqld_safe.sh \
- scripts/mysql_secure_installation.sh \
- support-files/mysql.server.sh
+SUBST_FILES.scr= scripts/mysql_install_db.sh
+SUBST_FILES.scr+= scripts/mysql_secure_installation.sh
+SUBST_FILES.scr+= scripts/mysqld_safe.sh
+SUBST_FILES.scr+= support-files/mysql.server.sh
SUBST_SED.scr= -e "s,chown,${CHOWN},g"
SUBST_SED.scr+= -e "s,/bin/sh,${RCD_SCRIPTS_SHELL},g"
+SUBST_SED.scr+= -e "s,@SHELL_PATH@,${RCD_SCRIPTS_SHELL},g"
SUBST_MESSAGE.scr= Fixing scripts.
SUBST_CLASSES+= fixpaths
diff -r b93129dac864 -r 9ca85b330c11 databases/mysql56-client/distinfo
--- a/databases/mysql56-client/distinfo Sat Jul 29 13:56:01 2017 +0000
+++ b/databases/mysql56-client/distinfo Sat Jul 29 20:10:58 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.42 2017/04/11 20:21:02 adam Exp $
+$NetBSD: distinfo,v 1.42.2.1 2017/07/29 20:10:58 spz Exp $
-SHA1 (mysql-5.6.36.tar.gz) = 6a94c75880c249cb2ec832bfcd3786944b0e7df5
-RMD160 (mysql-5.6.36.tar.gz) = 9e02b6607e7d855db6afee2f80505d29dfcd454b
-SHA512 (mysql-5.6.36.tar.gz) = b3e3bcb1d1e913994f274f4c6dc72c77f1f52b132389e784c675d1720b5913788ce035f045b99ef3754d1b257db55e8300b5c7622ec79c33afafec5968801c18
-Size (mysql-5.6.36.tar.gz) = 32192348 bytes
+SHA1 (mysql-5.6.37.tar.gz) = 052d315488831cd1dfd150e938f8d6812ef28b7b
+RMD160 (mysql-5.6.37.tar.gz) = 4e168abdbc821ac7c8439dd592de616f6752cc3a
+SHA512 (mysql-5.6.37.tar.gz) = 6935cf11490fb32832468e2a69a9d81a567b1b4ab0afaa0614896e3ddbb95a74b26406284f307637e4b2b9620ef4d96a167128ce7fcb1d338b0ebbc2cef2e597
+Size (mysql-5.6.37.tar.gz) = 32200158 bytes
SHA1 (sphinx-2.2.11-release.tar.gz) = 34e83f43de0e69e258bf749ea00348c60a51632a
RMD160 (sphinx-2.2.11-release.tar.gz) = 5804b4cce64bc03fa20bac26c7391cd661cecc77
SHA512 (sphinx-2.2.11-release.tar.gz) = cf1a262a5b0fbf0bd2827ec6ec629edeaf709ce855a6e7b509b65342baaeb26c02717ca63f1578d32c83d21e2fd6d1e92dceb34660e6351b93cd96fd4e623689
diff -r b93129dac864 -r 9ca85b330c11 databases/mysql56-server/Makefile
--- a/databases/mysql56-server/Makefile Sat Jul 29 13:56:01 2017 +0000
+++ b/databases/mysql56-server/Makefile Sat Jul 29 20:10:58 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2017/06/24 15:18:42 schmonz Exp $
+# $NetBSD: Makefile,v 1.32.2.1 2017/07/29 20:10:58 spz Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
-PKGREVISION= 1
COMMENT= MySQL 5, a free SQL database (server)
CONFLICTS= mysql3-server-[0-9]*
diff -r b93129dac864 -r 9ca85b330c11 databases/mysql56-server/PLIST
--- a/databases/mysql56-server/PLIST Sat Jul 29 13:56:01 2017 +0000
+++ b/databases/mysql56-server/PLIST Sat Jul 29 20:10:58 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2017/04/11 20:21:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.29.2.1 2017/07/29 20:10:58 spz Exp $
bin/innochecksum
bin/my_print_defaults
bin/myisam_ftdump
@@ -284,6 +284,7 @@
share/mysql/test/extra/rpl_tests/rpl_mts_crash_safe.inc
share/mysql/test/extra/rpl_tests/rpl_mts_crash_safe.test
share/mysql/test/extra/rpl_tests/rpl_mts_execute_partial_trx_in_relay_log.inc
+share/mysql/test/extra/rpl_tests/rpl_mts_pending_events.inc
share/mysql/test/extra/rpl_tests/rpl_mts_relay_log_recovery.test
share/mysql/test/extra/rpl_tests/rpl_multi_query.test
share/mysql/test/extra/rpl_tests/rpl_multi_update.test
@@ -868,6 +869,7 @@
share/mysql/test/r/big_test.require
share/mysql/test/r/bigint.result
share/mysql/test/r/binary.result
+share/mysql/test/r/binary_to_hex.result
share/mysql/test/r/binlog_tx_isolation.result
share/mysql/test/r/blackhole.result
share/mysql/test/r/blackhole_plugin.result
@@ -1509,6 +1511,7 @@
share/mysql/test/r/shm.result
share/mysql/test/r/show_check.result
share/mysql/test/r/show_processlist.result
+share/mysql/test/r/show_processlist_state.result
share/mysql/test/r/show_profile.result
share/mysql/test/r/signal.result
share/mysql/test/r/signal_code.result
@@ -1979,6 +1982,7 @@
share/mysql/test/suite/binlog/r/binlog_mysqlbinlog_base64.result
share/mysql/test/suite/binlog/r/binlog_mysqlbinlog_concat.result
share/mysql/test/suite/binlog/r/binlog_mysqlbinlog_filter.result
+share/mysql/test/suite/binlog/r/binlog_mysqlbinlog_raw.result
share/mysql/test/suite/binlog/r/binlog_mysqlbinlog_row.result
share/mysql/test/suite/binlog/r/binlog_mysqlbinlog_row_innodb.result
share/mysql/test/suite/binlog/r/binlog_mysqlbinlog_row_myisam.result
@@ -2028,6 +2032,7 @@
share/mysql/test/suite/binlog/r/binlog_truncate_myisam.result
share/mysql/test/suite/binlog/r/binlog_trx_empty_assertions.result
share/mysql/test/suite/binlog/r/binlog_unsafe.result
+share/mysql/test/suite/binlog/r/binlog_use_gtid_skip.result
share/mysql/test/suite/binlog/r/binlog_variables_log_bin.result
share/mysql/test/suite/binlog/r/binlog_variables_log_bin_index.result
share/mysql/test/suite/binlog/r/binlog_variables_relay_log.result
@@ -2102,6 +2107,7 @@
share/mysql/test/suite/binlog/t/binlog_mysqlbinlog_base64.test
share/mysql/test/suite/binlog/t/binlog_mysqlbinlog_concat.test
share/mysql/test/suite/binlog/t/binlog_mysqlbinlog_filter.test
+share/mysql/test/suite/binlog/t/binlog_mysqlbinlog_raw.test
share/mysql/test/suite/binlog/t/binlog_mysqlbinlog_row.test
share/mysql/test/suite/binlog/t/binlog_mysqlbinlog_row_innodb.test
share/mysql/test/suite/binlog/t/binlog_mysqlbinlog_row_myisam.test
@@ -2163,6 +2169,7 @@
share/mysql/test/suite/binlog/t/binlog_truncate_myisam.test
share/mysql/test/suite/binlog/t/binlog_unsafe-master.opt
share/mysql/test/suite/binlog/t/binlog_unsafe.test
+share/mysql/test/suite/binlog/t/binlog_use_gtid_skip.test
share/mysql/test/suite/binlog/t/binlog_variables_log_bin-master.opt
share/mysql/test/suite/binlog/t/binlog_variables_log_bin.test
share/mysql/test/suite/binlog/t/binlog_variables_log_bin_index-master.opt
@@ -3651,6 +3658,7 @@
share/mysql/test/suite/innodb/r/innodb_bug60196.result
share/mysql/test/suite/innodb/r/innodb_bug60229.result
share/mysql/test/suite/innodb/r/innodb_bug70867.result
+share/mysql/test/suite/innodb/r/innodb_copy_col_in_partition.result
share/mysql/test/suite/innodb/r/innodb_corrupt_bit.result
share/mysql/test/suite/innodb/r/innodb_ctype_ldml.result
share/mysql/test/suite/innodb/r/innodb_deadlock_with_autoinc.result
@@ -3880,6 +3888,7 @@
share/mysql/test/suite/innodb/t/innodb_bug60196.test
share/mysql/test/suite/innodb/t/innodb_bug60229.test
share/mysql/test/suite/innodb/t/innodb_bug70867.test
+share/mysql/test/suite/innodb/t/innodb_copy_col_in_partition.test
share/mysql/test/suite/innodb/t/innodb_corrupt_bit.test
share/mysql/test/suite/innodb/t/innodb_ctype_ldml-master.opt
share/mysql/test/suite/innodb/t/innodb_ctype_ldml.test
@@ -6525,6 +6534,7 @@
share/mysql/test/suite/rpl/r/rpl_mts_execute_partial_trx_with_auto_pos_off.result
share/mysql/test/suite/rpl/r/rpl_mts_execute_partial_trx_with_auto_pos_on.result
share/mysql/test/suite/rpl/r/rpl_mts_gtids_restart_slave_io_lost_trx.result
+share/mysql/test/suite/rpl/r/rpl_mts_pending_max.result
share/mysql/test/suite/rpl/r/rpl_mts_relay_log_post_crash_recovery.result
share/mysql/test/suite/rpl/r/rpl_mts_relay_log_recovery_on_error.result
share/mysql/test/suite/rpl/r/rpl_mts_slave_hang_with_partial_trx.result
@@ -6584,6 +6594,7 @@
share/mysql/test/suite/rpl/r/rpl_replicate_rewrite_db.result
share/mysql/test/suite/rpl/r/rpl_report.result
share/mysql/test/suite/rpl/r/rpl_report_port.result
+share/mysql/test/suite/rpl/r/rpl_reset_slave_fail.result
share/mysql/test/suite/rpl/r/rpl_rewrite_db_filter.result
share/mysql/test/suite/rpl/r/rpl_rewrt_db.result
share/mysql/test/suite/rpl/r/rpl_rotate_gtid.result
@@ -7117,6 +7128,7 @@
share/mysql/test/suite/rpl/t/rpl_mts_execute_partial_trx_with_auto_pos_on.test
share/mysql/test/suite/rpl/t/rpl_mts_gtids_restart_slave_io_lost_trx-slave.opt
share/mysql/test/suite/rpl/t/rpl_mts_gtids_restart_slave_io_lost_trx.test
+share/mysql/test/suite/rpl/t/rpl_mts_pending_max.test
share/mysql/test/suite/rpl/t/rpl_mts_relay_log_post_crash_recovery-slave.opt
share/mysql/test/suite/rpl/t/rpl_mts_relay_log_post_crash_recovery.test
share/mysql/test/suite/rpl/t/rpl_mts_relay_log_recovery_on_error-slave.opt
@@ -7212,6 +7224,7 @@
share/mysql/test/suite/rpl/t/rpl_report.test
share/mysql/test/suite/rpl/t/rpl_report_port-master.opt
share/mysql/test/suite/rpl/t/rpl_report_port.test
+share/mysql/test/suite/rpl/t/rpl_reset_slave_fail.test
share/mysql/test/suite/rpl/t/rpl_rewrite_db_filter-master.opt
share/mysql/test/suite/rpl/t/rpl_rewrite_db_filter-slave.opt
share/mysql/test/suite/rpl/t/rpl_rewrite_db_filter.test
@@ -8929,6 +8942,7 @@
share/mysql/test/t/bench_count_distinct.test
share/mysql/test/t/bigint.test
share/mysql/test/t/binary.test
+share/mysql/test/t/binary_to_hex.test
share/mysql/test/t/blackhole.test
share/mysql/test/t/blackhole_plugin-master.opt
share/mysql/test/t/blackhole_plugin.test
@@ -9637,6 +9651,7 @@
share/mysql/test/t/show_check-master.opt
share/mysql/test/t/show_check.test
share/mysql/test/t/show_processlist.test
+share/mysql/test/t/show_processlist_state.test
share/mysql/test/t/show_profile.test
share/mysql/test/t/signal.test
share/mysql/test/t/signal_code.test
Home |
Main Index |
Thread Index |
Old Index