head 1.4; access; symbols pkgsrc-2024Q2:1.3.0.42 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.40 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.38 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.36 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.34 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.32 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.30 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.28 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.26 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.24 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.22 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.20 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.18 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.16 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.14 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.12 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.10 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.6 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.8 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.4 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.2 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.2.0.10 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.8 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.6 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.4 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.1.0.14 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.12 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.8 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.6 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.4 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.2 pkgsrc-2016Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2024.08.05.06.30.31; author wiz; state dead; branches; next 1.3; commitid bBHFyVW9uHUXcBkF; 1.3 date 2019.04.25.10.13.04; author adam; state Exp; branches; next 1.2; commitid 5Q0DaUbcOdv3sIkB; 1.2 date 2018.01.16.16.29.42; author adam; state Exp; branches; next 1.1; commitid ltBwAcA6kHTvr7nA; 1.1 date 2016.09.16.06.49.11; author adam; state Exp; branches; next ; commitid bzWTDZHvVHlQStmz; desc @@ 1.4 log @mysql* 5.6, 5.7: remove As proposed on pkgsrc-users on July 26. These versions are unsupported by upstream since 2018 and 2020 respectively. @ text @$NetBSD: patch-cmake_plugin.cmake,v 1.3 2019/04/25 10:13:04 adam Exp $ Build with newer DTrace. --- cmake/plugin.cmake.orig 2019-04-13 13:32:15.000000000 +0000 +++ cmake/plugin.cmake @@@@ -52,7 +52,7 @@@@ ENDMACRO() MACRO(MYSQL_ADD_PLUGIN) MYSQL_PARSE_ARGUMENTS(ARG "LINK_LIBRARIES;DEPENDENCIES;MODULE_OUTPUT_NAME;STATIC_OUTPUT_NAME" - "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;CLIENT_ONLY;MANDATORY;DEFAULT;DISABLED;NOT_FOR_EMBEDDED;RECOMPILE_FOR_EMBEDDED;TEST_ONLY;SKIP_INSTALL" + "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;CLIENT_ONLY;MANDATORY;DEFAULT;DISABLED;NOT_FOR_EMBEDDED;RECOMPILE_FOR_EMBEDDED;TEST_ONLY;SKIP_INSTALL;DTRACE_INSTRUMENTED" ${ARGN} ) @@@@ -146,7 +146,9 @@@@ MACRO(MYSQL_ADD_PLUGIN) -P ${CMAKE_BINARY_DIR}/archive_output_directory/lib_location_${target}.cmake ) - DTRACE_INSTRUMENT(${target}) + IF(ARG_DTRACE_INSTRUMENTED) + DTRACE_INSTRUMENT(${target}) + ENDIF() ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES}) IF(WITH_EMBEDDED_SERVER AND NOT ARG_NOT_FOR_EMBEDDED) # Embedded library should contain PIC code and be linkable @@@@ -154,7 +156,9 @@@@ MACRO(MYSQL_ADD_PLUGIN) IF(ARG_RECOMPILE_FOR_EMBEDDED OR NOT _SKIP_PIC) # Recompile some plugins for embedded ADD_CONVENIENCE_LIBRARY(${target}_embedded ${SOURCES}) - DTRACE_INSTRUMENT(${target}_embedded) + IF(ARG_DTRACE_INSTRUMENTED) + DTRACE_INSTRUMENT(${target}_embedded) + ENDIF() IF(ARG_RECOMPILE_FOR_EMBEDDED) SET_TARGET_PROPERTIES(${target}_embedded PROPERTIES COMPILE_DEFINITIONS "MYSQL_SERVER;EMBEDDED_LIBRARY") @@@@ -218,7 +222,9 @@@@ MACRO(MYSQL_ADD_PLUGIN) ADD_VERSION_INFO(${target} MODULE SOURCES) ADD_LIBRARY(${target} MODULE ${SOURCES}) - DTRACE_INSTRUMENT(${target}) + IF(ARG_DTRACE_INSTRUMENTED) + DTRACE_INSTRUMENT(${target}) + ENDIF() SET_TARGET_PROPERTIES (${target} PROPERTIES PREFIX "" COMPILE_DEFINITIONS "MYSQL_DYNAMIC_PLUGIN") IF(NOT ARG_CLIENT_ONLY) @ 1.3 log @mysql57: updated to 5.7.26 mysql-5.7.26: Unknown changes @ text @d1 1 a1 1 $NetBSD: patch-cmake_plugin.cmake,v 1.2 2018/01/16 16:29:42 adam Exp $ @ 1.2 log @mysql57: updated to 5.7.21 MySQL 5.7.21 Audit Log Notes * MySQL Enterprise Audit now supports compression and encryption of audit log files. Encryption is based on a user-defined password. To use this feature, the MySQL keyring must be enabled because audit logging uses it for password storage. MySQL Enterprise Audit also now supports logging in JSON format, in addition to the existing XML formats. For JSON format, functions are available that provide runtime log reading capabilities. For additional information, see MySQL Enterprise Audit. Configuration Notes * For RHEL, SLES, and Fedora RPMs, the default plugin directory for debug builds has been changed from /usr/lib64/mysql/plugin to /usr/lib64/mysql/plugin/debug. * The installation scripts for MySQL Enterprise Audit and MySQL Enterprise Firewall now create their associated tables in the mysql system database as InnoDB rather than MyISAM tables. * The hardcoded memory page size of 8KB for the memory-mapped transaction coordinator was too small for platforms such as ARM64 and PowerPC where the page size is much larger. The server now invokes a system call to get the page size of the current platform rather than using a hardcoded value. A consequence for the --log-tc-size option is that the minimum and default values are now 6 times the page size. Also, the value must be a multiple of the page size. Thanks to Alexey Kopytov for the patch. Performance Schema Notes * The Performance Schema setup_timers table is now deprecated, to be removed in MySQL 8.0, as is the TICK row in the performance_timers table. Pluggable Authentication * For the LDAP authentication plugins, handling of the group search attribute indicated by the authentication_ldap_sasl_group_search_attr and authentication_ldap_simple_group_search_attr system variables is more flexible. If the group search attribute is isMemberOf, LDAP authentication directly retrieves the user attribute isMemberOf value and assign it as group information. If the group search attribute is not isMemberOf, LDAP authentication searches for all groups where the user is a member. (The latter is the default behavior.) This behavior is based on how LDAP group information can be stored two ways: 1) A group entry can have an attribute named memberUid or member with a value that is a user name; 2) A user entry can have an attribute named isMemberOf with values that are group names. * The LDAP authentication plugins now permit the authentication string that provides user DN information to begin with a + character. In the absence of this character, the authentication string value is treated as is without modification, as it has been previously. If the authentication string begins with +, the plugin constructs the full user DN value from the account user name as the cn attribute value, together with the authentication string (with the + removed). The authentication string is stored as given in the mysql.user system table, with the full user DN constructed on the fly before authentication. * For the LDAP authentication plugins, the group search attribute was fixed and not configurable. Two new system variables now enable using custom group filters: authentication_ldap_sasl_group_search_filter and authentication_ldap_simple_group_search_filter. Security Notes * Incompatible Change: Passwords are now restricted to a maximum of 256 characters for the sha256_password authentication plugin, and for the PASSWORD() function when old_passwords=2. Also, the number of password hashing rounds is capped to limit CPU time used. * The linked OpenSSL library for the MySQL Commercial Server has been updated to version 1.0.2n. 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. * MySQL now supports key migration between underlying keyring keystores. This enables DBAs to switch a MySQL installation from one keyring plugin to another. See Migrating Keys Between Keyring Keystores. * MySQL Enterprise Edition now includes a keyring plugin, keyring_encrypted_file, that is similar to the keyring_file plugin in its use of a local data file for key storage, but that also encrypts the file based on a user-defined password. See Using the keyring_encrypted_file Keyring Plugin. @ text @d1 1 a1 1 $NetBSD: patch-cmake_plugin.cmake,v 1.1 2016/09/16 06:49:11 adam Exp $ d5 1 a5 1 --- cmake/plugin.cmake.orig 2017-12-28 03:46:26.000000000 +0000 d11 2 a12 2 - "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;CLIENT_ONLY;MANDATORY;DEFAULT;DISABLED;NOT_FOR_EMBEDDED;RECOMPILE_FOR_EMBEDDED;TEST_ONLY" + "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;CLIENT_ONLY;MANDATORY;DEFAULT;DISABLED;NOT_FOR_EMBEDDED;RECOMPILE_FOR_EMBEDDED;DTRACE_INSTRUMENTED;TEST_ONLY" @ 1.1 log @MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. @ text @d1 1 a1 1 $NetBSD: patch-cmake_plugin.cmake,v 1.1 2014/02/13 14:38:08 jperkin Exp $ d5 1 a5 1 --- cmake/plugin.cmake.orig 2016-08-25 11:52:06.000000000 +0000 d11 2 a12 2 - "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;MANDATORY;DEFAULT;DISABLED;NOT_FOR_EMBEDDED;RECOMPILE_FOR_EMBEDDED;TEST_ONLY" + "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;MANDATORY;DEFAULT;DISABLED;NOT_FOR_EMBEDDED;RECOMPILE_FOR_EMBEDDED;DTRACE_INSTRUMENTED;TEST_ONLY" d16 3 a18 3 @@@@ -125,7 +125,9 @@@@ MACRO(MYSQL_ADD_PLUGIN) SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITIONS "MYSQL_SERVER") d27 1 a27 1 @@@@ -133,7 +135,9 @@@@ MACRO(MYSQL_ADD_PLUGIN) d38 1 a38 1 @@@@ -197,7 +201,9 @@@@ MACRO(MYSQL_ADD_PLUGIN) d48 1 a48 1 TARGET_LINK_LIBRARIES (${target} mysqlservices) @