pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Changes 5.7.18:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/733b266687f7
branches:  trunk
changeset: 360952:733b266687f7
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 11 20:49:15 2017 +0000

description:
Changes 5.7.18:
* Windows builds now use the default runtime libraries (builds use the /MD flag).
* CMake support was added for compiling with Developer Studio 12.6.
* MySQL failed to compile if -DENABLE_DEBUG_SYNC=OFF AND -DWITH_DEBUG=ON were both given. The ENABLE_DEBUG_SYNC option has been removed and enabling WITH_DEBUG enables Debug Sync.
* The --temp-pool server option is deprecated and will be removed in MySQL 8.0.
* Support for DTrace is deprecated and is removed in MySQL 8.0.
* Changes in RPM package structure require a larger set of packages to be removed to install MySQL Server cleanly.
* To avoid potential race conditions, Debian packages now use the GNU install utility rather than a combination of mkdir, touch, and chown.
* The my-default.cnf.sh file (used to produce a default my-default.cnf or my-default.ini file) is no longer included in source distributions and my-default.cnf and my-default.ini are no longer 
included in or installed by distribution packages.
* Reminder: MySQL 5.7 requires the Microsoft Visual C++ 2013 Redistributable Package to run on Windows platforms. Users should make sure the package has been installed on the system before starting 
the server. The package is available at the Microsoft Download Center.
* PROCEDURE ANALYSE() syntax is now deprecated and is removed in MySQL 8.0.
* The use of \N as a synonym for NULL in SQL statements is deprecated and is removed in MySQL 8.0. Use NULL instead.
* The linked OpenSSL library for the MySQL Commercial Server has been updated to version 1.0.2k.

diffstat:

 databases/mysql57-client/Makefile                                              |   3 +-
 databases/mysql57-client/Makefile.common                                       |   4 +-
 databases/mysql57-client/PLIST                                                 |   4 +-
 databases/mysql57-client/distinfo                                              |  16 +-
 databases/mysql57-client/options.mk                                            |  14 +-
 databases/mysql57-client/patches/patch-cmake_os_SunOS.cmake                    |  10 +-
 databases/mysql57-client/patches/patch-rapid_plugin_x_CMakeLists.txt           |  15 +-
 databases/mysql57-client/patches/patch-sql_conn__handler_socket__connection.cc |  14 +-
 databases/mysql57-server/Makefile                                              |   3 +-
 databases/mysql57-server/PLIST                                                 |  87 +++++++++-
 10 files changed, 115 insertions(+), 55 deletions(-)

diffs (truncated from 770 to 300 lines):

diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/Makefile
--- a/databases/mysql57-client/Makefile Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/Makefile Tue Apr 11 20:49:15 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/01/01 16:06:06 adam Exp $
+# $NetBSD: Makefile,v 1.5 2017/04/11 20:49:15 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-client-/}
-PKGREVISION=   1
 COMMENT=       MySQL 5, a free SQL database (client)
 
 CONFLICTS=     mysql3-client-[0-9]*
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/Makefile.common
--- a/databases/mysql57-client/Makefile.common  Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/Makefile.common  Tue Apr 11 20:49:15 2017 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.3 2016/12/12 19:19:42 adam Exp $
+# $NetBSD: Makefile.common,v 1.4 2017/04/11 20:49:15 adam Exp $
 #
 # used by databases/mysql57-client/Makefile
 # used by databases/mysql57-server/Makefile
 
-DISTNAME=      mysql-5.7.17
+DISTNAME=      mysql-5.7.18
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_MYSQL:=MySQL-5.7/}
 
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/PLIST
--- a/databases/mysql57-client/PLIST    Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/PLIST    Tue Apr 11 20:49:15 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/12/12 19:19:42 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/04/11 20:49:15 adam Exp $
 bin/mysql
 bin/mysql_client_test
 bin/mysql_config
@@ -122,7 +122,7 @@
 lib/libmysqlclient.a
 lib/libmysqlclient.so
 lib/libmysqlclient.so.20
-lib/libmysqlclient.so.20.3.4
+lib/libmysqlclient.so.20.3.5
 lib/pkgconfig/mysqlclient.pc
 man/man1/comp_err.1
 man/man1/innochecksum.1
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/distinfo
--- a/databases/mysql57-client/distinfo Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/distinfo Tue Apr 11 20:49:15 2017 +0000
@@ -1,16 +1,16 @@
-$NetBSD: distinfo,v 1.9 2017/03/21 15:09:25 maya Exp $
+$NetBSD: distinfo,v 1.10 2017/04/11 20:49:15 adam Exp $
 
-SHA1 (mysql-5.7.17.tar.gz) = 7d159e2d056ab6e10c89e0c8ef12ee7af3b99ef0
-RMD160 (mysql-5.7.17.tar.gz) = acd8714fe1bda26466c4490b9e71d510677ac9a5
-SHA512 (mysql-5.7.17.tar.gz) = 72ef29298354234666264497e302994d4965ddc76129f564d51b48cbeb32f1b012a76d0905be238c8818507e0e5cf68d066e11788077351502880a358ea0df4b
-Size (mysql-5.7.17.tar.gz) = 51433090 bytes
+SHA1 (mysql-5.7.18.tar.gz) = d53fdc5f392af138cd66e13ee6d4e865767181e7
+RMD160 (mysql-5.7.18.tar.gz) = 40264f1c4a9113d6c84356488d2a2a7bc80920ad
+SHA512 (mysql-5.7.18.tar.gz) = 88f8df96008d44328d184402dadf1dc54d5522fd4b0aebc8de8a6c11b4f38ae15d8b7f8112d8ff0015d6d46de11ef9275e1e2fd6b757afafce2a53503d3970dc
+Size (mysql-5.7.18.tar.gz) = 51567774 bytes
 SHA1 (patch-CMakeLists.txt) = b47592cf8801538375da3df2990fde4d292fc365
 SHA1 (patch-client_CMakeLists.txt) = 304023577ab9c2152ca21fa9ff4895a22a321adf
 SHA1 (patch-client_completion_hash.cc) = b86ec80beac624b2aa21c7587e351ff126400ecb
 SHA1 (patch-client_mysqladmin.cc) = e1650ef3695675bcc01375bacdebcb7318218b93
 SHA1 (patch-cmake_boost.cmake) = 1f0a70f110d97a1ab47706ed7d79d4fafa084abd
 SHA1 (patch-cmake_libutils.cmake) = c3e5ab66d2bef43dc2308369e27550553e0f5356
-SHA1 (patch-cmake_os_SunOS.cmake) = f5b44de1cb7e14c33be6ebb961157c67f651df4b
+SHA1 (patch-cmake_os_SunOS.cmake) = 06e290820a75d68931fce6dfd70a0b5edd548320
 SHA1 (patch-cmake_plugin.cmake) = 29db9f49941a011176a6cdd46f3af6c5636afb4a
 SHA1 (patch-cmake_readline.cmake) = fb79ed969240ae2984098f72c2d3fb501154902c
 SHA1 (patch-include_CMakeLists.txt) = 944991702f046ea7a5e2b6ea4dc390f17426e55a
@@ -27,12 +27,12 @@
 SHA1 (patch-rapid_plugin_group__replication_libmysqlgcs_src_bindings_xcom_xcom_xcom__memory.c) = 7077900830f904c74c79439b856d9d176fc27f15
 SHA1 (patch-rapid_plugin_group__replication_libmysqlgcs_src_bindings_xcom_xcom_xcom__transport.c) = d7f87bff5a41ff6a130fcf74dc520b38cedf5924
 SHA1 (patch-rapid_plugin_group__replication_rpcgen.cmake) = 5c14be97bd1fd04b2b845f1a2422452445733474
-SHA1 (patch-rapid_plugin_x_CMakeLists.txt) = 4e8ddfbdfa2d4e1f4b5c9421aeb4a337b5741165
+SHA1 (patch-rapid_plugin_x_CMakeLists.txt) = e2cc48b4d325060a105057bda715f4bd2fdab255
 SHA1 (patch-rapid_unittest_gunit_xplugin_CMakeLists.txt) = a531745be680ee06944678cfd35be10c653d1b17
 SHA1 (patch-scripts_CMakeLists.txt) = b149f40f65c4ce8f6f4a7adf75f5ec4be44319f1
 SHA1 (patch-scripts_mysqld_safe.sh) = 0784314227657aa0bc3f4a0b4e21c173a86fa94b
 SHA1 (patch-sql_CMakeLists.txt) = d66fe5fc8ac3a6230f1a3aa1395cf72e1a2b682e
-SHA1 (patch-sql_conn__handler_socket__connection.cc) = f2c89f1aca3dae616d32f1b980564d44270f2eba
+SHA1 (patch-sql_conn__handler_socket__connection.cc) = 12cf83e061edbe59eb073037b1036903b7ba4b00
 SHA1 (patch-sql_log_event.h) = 311dc7fb04ea832df229dc2a28bcfbf263670ebf
 SHA1 (patch-storage_archive_CMakeLists.txt) = 4cf5ed97a226a3844e184c46958b5202eefb9dd5
 SHA1 (patch-storage_blackhole_CMakeLists.txt) = 1d066d686172657ce9f812a505c7323a76111a63
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/options.mk
--- a/databases/mysql57-client/options.mk       Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/options.mk       Tue Apr 11 20:49:15 2017 +0000
@@ -1,22 +1,14 @@
-# $NetBSD: options.mk,v 1.1 2016/09/16 06:49:11 adam Exp $
+# $NetBSD: options.mk,v 1.2 2017/04/11 20:49:15 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mysql5
 
 # ndb-cluster does not configure with cmake
-PKG_SUPPORTED_OPTIONS+=        dtrace embedded-server ndb-cluster ssl
+PKG_SUPPORTED_OPTIONS+=        dtrace embedded-server ndb-cluster
 PKG_SUPPORTED_OPTIONS+=        memcached
-PKG_SUGGESTED_OPTIONS+=        embedded-server ssl
+PKG_SUGGESTED_OPTIONS+=        embedded-server
 
 .include "../../mk/bsd.options.mk"
 
-# Enable OpenSSL support
-.if !empty(PKG_OPTIONS:Mssl)
-.      include "../../security/openssl/buildlink3.mk"
-CMAKE_ARGS+=           -DWITH_SSL=system
-.else
-CMAKE_ARGS+=           -DWITH_SSL=no
-.endif
-
 # Enable DTrace support
 .if !empty(PKG_OPTIONS:Mdtrace)
 CMAKE_ARGS+=           -DENABLE_DTRACE=ON
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/patches/patch-cmake_os_SunOS.cmake
--- a/databases/mysql57-client/patches/patch-cmake_os_SunOS.cmake       Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/patches/patch-cmake_os_SunOS.cmake       Tue Apr 11 20:49:15 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-cmake_os_SunOS.cmake,v 1.1 2017/01/03 12:27:27 jperkin Exp $
+$NetBSD: patch-cmake_os_SunOS.cmake,v 1.2 2017/04/11 20:49:15 adam Exp $
 
 Do not attempt to detect ISA, it conflicts with wrappers.
 
---- cmake/os/SunOS.cmake.orig  2016-11-28 13:32:52.000000000 +0000
+--- cmake/os/SunOS.cmake.orig  2017-03-18 07:45:14.000000000 +0000
 +++ cmake/os/SunOS.cmake
-@@ -61,6 +61,7 @@ ADD_DEFINITIONS(-D__EXTENSIONS__)
+@@ -62,6 +62,7 @@ ADD_DEFINITIONS(-D__EXTENSIONS__)
  # http://docs.oracle.com/cd/E19455-01/806-5257/6je9h033k/index.html
  ADD_DEFINITIONS(-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_PTHREADS)
  
@@ -12,8 +12,8 @@
  IF (NOT "${CMAKE_C_FLAGS}${CMAKE_CXX_FLAGS}" MATCHES "-m32|-m64")
    EXECUTE_PROCESS(COMMAND isainfo -b
      OUTPUT_VARIABLE ISAINFO_B
-@@ -75,6 +76,7 @@ IF (NOT "${CMAKE_C_FLAGS}${CMAKE_CXX_FLA
-     SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m${ISAINFO_B}")
+@@ -86,6 +87,7 @@ ELSE()
+     SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -m64")
    ENDIF()
  ENDIF()
 +ENDIF()
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/patches/patch-rapid_plugin_x_CMakeLists.txt
--- a/databases/mysql57-client/patches/patch-rapid_plugin_x_CMakeLists.txt      Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/patches/patch-rapid_plugin_x_CMakeLists.txt      Tue Apr 11 20:49:15 2017 +0000
@@ -1,21 +1,20 @@
-$NetBSD: patch-rapid_plugin_x_CMakeLists.txt,v 1.1 2016/09/16 06:49:11 adam Exp $
+$NetBSD: patch-rapid_plugin_x_CMakeLists.txt,v 1.2 2017/04/11 20:49:15 adam Exp $
 
-Use bundled boost, but system OpenSSL and zlib.
+Use system OpenSSL and zlib.
 Fix mysqlxtest binary linking.
 
---- rapid/plugin/x/CMakeLists.txt.orig 2016-06-30 06:22:11.000000000 +0000
+--- rapid/plugin/x/CMakeLists.txt.orig 2017-03-18 07:45:14.000000000 +0000
 +++ rapid/plugin/x/CMakeLists.txt
-@@ -91,14 +91,14 @@ ELSE()
-     ${CMAKE_CURRENT_SOURCE_DIR}/ngs/include
+@@ -92,14 +92,14 @@ ELSE()
      ${CMAKE_SOURCE_DIR}/include #temporary
      ${CMAKE_CURRENT_SOURCE_DIR}/include/mysql
+     ${CMAKE_CURRENT_BINARY_DIR}/generated
 -    ${SSL_INCLUDE_DIRS}
 -    ${ZLIB_INCLUDE_DIR}
-+    ${BOOST_INCLUDE_DIR}
    )
  
    INCLUDE_DIRECTORIES(SYSTEM
--    ${BOOST_INCLUDE_DIR}
+     ${BOOST_INCLUDE_DIR}
      ${PROTOBUF_INCLUDE_DIRS}
      ${LIBEVENT_INCLUDE_DIR}
 +    ${SSL_INCLUDE_DIRS}
@@ -23,7 +22,7 @@
    )
  
    IF(XPLUGIN_NO_LITE_PROTOBUF)
-@@ -200,7 +200,10 @@ ELSE()
+@@ -215,7 +215,10 @@ ELSE()
    ENDIF()
  
    TARGET_LINK_LIBRARIES(mysqlxtest mysys strings mysqlclient)
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-client/patches/patch-sql_conn__handler_socket__connection.cc
--- a/databases/mysql57-client/patches/patch-sql_conn__handler_socket__connection.cc    Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-client/patches/patch-sql_conn__handler_socket__connection.cc    Tue Apr 11 20:49:15 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-sql_conn__handler_socket__connection.cc,v 1.1 2016/09/16 06:49:11 adam Exp $
+$NetBSD: patch-sql_conn__handler_socket__connection.cc,v 1.2 2017/04/11 20:49:15 adam Exp $
 
---- sql/conn_handler/socket_connection.cc.orig 2016-03-28 18:06:12.000000000 +0000
+--- sql/conn_handler/socket_connection.cc.orig 2017-03-18 07:45:14.000000000 +0000
 +++ sql/conn_handler/socket_connection.cc
-@@ -939,20 +939,23 @@ Channel_info* Mysqld_socket_listener::li
+@@ -942,17 +942,20 @@ Channel_info* Mysqld_socket_listener::li
      signal(SIGCHLD, SIG_DFL);
      request_init(&req, RQ_DAEMON, m_libwrap_name, RQ_FILE,
                   mysql_socket_getfd(connect_sock), NULL);
@@ -24,9 +24,5 @@
 -             "refused connect from %s", eval_client(&req));
 +             "refused connect from %s", my_eval_client(&req));
  
-       if (req.sink)
--        (req.sink)(req.fd);
-+        ((void (*)(int)) (req.sink))(req.fd);
- 
-       mysql_socket_shutdown(listen_sock, SHUT_RDWR);
-       mysql_socket_close(listen_sock);
+ #ifdef HAVE_LIBWRAP_PROTOTYPES
+       // Some distros have patched tcpd.h to have proper prototypes
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-server/Makefile
--- a/databases/mysql57-server/Makefile Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-server/Makefile Tue Apr 11 20:49:15 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/01/01 16:06:07 adam Exp $
+# $NetBSD: Makefile,v 1.5 2017/04/11 20:49:15 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-server-/}
-PKGREVISION=   1
 COMMENT=       MySQL 5, a free SQL database (server)
 
 CONFLICTS=     mysql3-server-[0-9]*
diff -r 984f2923ce60 -r 733b266687f7 databases/mysql57-server/PLIST
--- a/databases/mysql57-server/PLIST    Tue Apr 11 20:21:02 2017 +0000
+++ b/databases/mysql57-server/PLIST    Tue Apr 11 20:49:15 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/12/12 19:18:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/04/11 20:49:15 adam Exp $
 bin/innochecksum
 bin/lz4_decompress
 bin/my_print_defaults
@@ -131,7 +131,6 @@
 share/mysql/japanese/errmsg.sys
 share/mysql/korean/errmsg.sys
 share/mysql/magic
-share/mysql/my-default.cnf
 share/mysql/mysql-log-rotate
 share/mysql/mysql.server
 share/mysql/mysql_security_commands.sql
@@ -363,6 +362,7 @@
 share/mysql/test/include/assert_semisync_yesno_tx_increment.inc
 share/mysql/test/include/assert_status.inc
 share/mysql/test/include/assert_variable.inc
+share/mysql/test/include/backup_tables_priv_and_users.inc
 share/mysql/test/include/begin_include_file.inc
 share/mysql/test/include/begin_replace_gtid_combination.inc
 share/mysql/test/include/big_test.inc
@@ -391,6 +391,7 @@
 share/mysql/test/include/check_slave_param.inc
 share/mysql/test/include/check_var_limit.inc
 share/mysql/test/include/cleanup_fake_relay_log.inc
+share/mysql/test/include/cleanup_folder.inc
 share/mysql/test/include/commandline_option_test.inc
 share/mysql/test/include/commit.inc
 share/mysql/test/include/commit_crash_restart.inc
@@ -656,6 +657,7 @@
 share/mysql/test/include/is_embedded.inc
 share/mysql/test/include/join_cache.inc
 share/mysql/test/include/keyring_udf_keyring_plugin_loaded.inc
+share/mysql/test/include/keyring_udf_keyring_plugin_loaded_symmetric.inc
 share/mysql/test/include/keyring_udf_keyring_plugin_not_loaded.inc
 share/mysql/test/include/keyring_udf_keyring_udf_plugin_not_loaded.inc
 share/mysql/test/include/keyring_udf_missing_plugin.inc
@@ -857,6 +859,7 @@
 share/mysql/test/include/shutdown_mysqld.inc
 share/mysql/test/include/sp-vars.inc
 share/mysql/test/include/start_group_replication.inc
+share/mysql/test/include/start_group_replication_command.inc
 share/mysql/test/include/start_mysqld.inc
 share/mysql/test/include/start_slave.inc
 share/mysql/test/include/start_slave_io.inc
@@ -1235,6 +1238,7 @@
 share/mysql/test/r/func_encrypt_nossl.result
 share/mysql/test/r/func_encrypt_ucs2.result
 share/mysql/test/r/func_equal.result
+share/mysql/test/r/func_found_rows.result
 share/mysql/test/r/func_gconcat.result
 share/mysql/test/r/func_group.result
 share/mysql/test/r/func_group_innodb.result
@@ -1556,6 +1560,7 @@
 share/mysql/test/r/mysqldump-no-binlog.result
 share/mysql/test/r/mysqldump.result
 share/mysql/test/r/mysqldump_restore.result
+share/mysql/test/r/mysqldumpslow.result
 share/mysql/test/r/mysqlimport.result
 share/mysql/test/r/mysqlpump.result
 share/mysql/test/r/mysqlpump_basic.result
@@ -1601,6 +1606,7 @@
 share/mysql/test/r/openssl.require
 share/mysql/test/r/openssl_1.result
 share/mysql/test/r/opt_costmodel.result
+share/mysql/test/r/opt_costmodel_downgrade.result
 share/mysql/test/r/opt_costmodel_flush.result
 share/mysql/test/r/opt_costmodel_pfs.result
 share/mysql/test/r/opt_costmodel_restart.result
@@ -4077,10 +4083,12 @@
 share/mysql/test/suite/group_replication/r/gr_applier_received_set.result
 share/mysql/test/suite/group_replication/r/gr_applier_slave_commands.result
 share/mysql/test/suite/group_replication/r/gr_applier_thread_error_detection.result
+share/mysql/test/suite/group_replication/r/gr_applier_thread_failure_detection.result



Home | Main Index | Thread Index | Old Index