head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.4 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.2 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.2.0.24 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.22 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.20 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.18 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.16 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.14 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.12 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.10 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.8 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.6 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.4 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.2 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.1.0.12 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.10 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.8 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.6 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.4 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.2 pkgsrc-2021Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2025.11.30.14.13.10; author jnemeth; state Exp; branches; next 1.2; commitid kSqoXaZFMZNlhAkG; 1.2 date 2022.11.02.17.02.10; author jperkin; state Exp; branches; next 1.1; commitid DOgyfL7l8eHVj90E; 1.1 date 2021.05.13.15.25.20; author jdolecek; state Exp; branches; next ; commitid VM2QlICeU94R20TC; desc @@ 1.3 log @mysql80: updated to MySQL 8.0.44 https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-44.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-43.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-42.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-41.html @ text @$NetBSD: patch-client_CMakeLists.txt,v 1.2 2022/11/02 17:02:10 jperkin Exp $ Split configuration between mysql-client and mysql-server. --- client/CMakeLists.txt.orig 2025-09-24 11:00:44.000000000 +0000 +++ client/CMakeLists.txt @@@@ -29,6 +29,7 @@@@ DISABLE_MISSING_PROFILE_WARNING() ## Subdirectory with common client code. ADD_SUBDIRECTORY(base) ## Subdirectory for mysqlpump code. +IF(WITHOUT_SERVER) ADD_SUBDIRECTORY(dump) ## Subdirectory for mysql_migrate_keyring code. ADD_SUBDIRECTORY(migrate_keyring) @@@@ -48,6 +49,7 @@@@ MYSQL_ADD_EXECUTABLE(mysql ${CMAKE_CURRENT_SOURCE_DIR}/common/user_registration.cc LINK_LIBRARIES mysqlclient client_base ${EDITLINE_LIBRARY} ) +ENDIF() IF(NOT WITHOUT_SERVER) MYSQL_ADD_EXECUTABLE(mysql_upgrade @@@@ -56,6 +58,7 @@@@ IF(NOT WITHOUT_SERVER) ) ENDIF() +IF(NOT WITHOUT_SERVER) MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc mysqltest/error_names.cc @@@@ -77,6 +80,7 @@@@ IF(MY_COMPILER_IS_GNU AND (WITH_LTO OR C TARGET_LINK_OPTIONS(mysqltest PRIVATE -Wno-error=stringop-overflow) ENDIF() +ELSE() MYSQL_ADD_EXECUTABLE(mysqlcheck check/mysqlcheck.cc check/mysqlcheck_core.cc @@@@ -313,16 +317,20 @@@@ MYSQL_ADD_EXECUTABLE(mysql_config_editor mysql_config_editor.cc LINK_LIBRARIES mysqlclient ) +ENDIF() +IF(NOT WITHOUT_SERVER) MYSQL_ADD_EXECUTABLE(mysql_secure_installation mysql_secure_installation.cc LINK_LIBRARIES mysqlclient ) +ELSE() MYSQL_ADD_EXECUTABLE(mysql_ssl_rsa_setup logger.cc mysql_ssl_rsa_setup.cc path.cc LINK_LIBRARIES mysys ) +ENDIF() # "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/". IF(WIN32) @ 1.2 log @mysql80: Update to 8.0.31. Includes a number of pkgsrc cleanups, removing nonsense that has been cargo-culted since the MySQL 3.23.x days(!). Stop shipping mysql-test, it's absolutely huge and unnecessary. Add XXX to undocumented patches that we should probably just drop, and make others easier to maintain. Upstream changes are far too numerous to include here, so here are the links to the corresponding release notes for each since 8.0.24: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-31.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-30.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-29.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-28.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-27.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-26.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-25.html Tested on SmartOS, I'll monitor bulk build reports for any fallout on other platforms (it takes ages to build). @ text @d1 1 a1 1 $NetBSD: patch-client_CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $ d5 1 a5 1 --- client/CMakeLists.txt.orig 2022-09-13 16:15:16.000000000 +0000 d7 1 a7 1 @@@@ -28,6 +28,7 @@@@ DISABLE_MISSING_PROFILE_WARNING() d15 1 a15 1 @@@@ -47,6 +48,7 @@@@ MYSQL_ADD_EXECUTABLE(mysql d23 1 a23 1 @@@@ -55,6 +57,7 @@@@ IF(NOT WITHOUT_SERVER) d31 4 a34 4 @@@@ -71,6 +74,7 @@@@ MYSQL_ADD_EXECUTABLE(mysqltest ENABLE_EXPORTS LINK_LIBRARIES mysqlclient ) d39 1 a39 1 @@@@ -277,16 +281,20 @@@@ MYSQL_ADD_EXECUTABLE(mysql_config_editor @ 1.1 log @import mysql80-client and mysql80-server packages from pkgsrc wip package is experimental right now - it was confirmed working on NetBSD and compile on macOS only for now 8.0 brings many improvements over 5.7, following is shortened list, more details are available on https://dev.mysql.com/doc/refman/8.0/en/mysql-nutshell.html - transactional data dictionary - atomic DDL - integrated upgrade procedure - security and account management improvements - resource groups and threads (thread affinity needs some work for NetBSD) - table encryption management - loads of innodb enhancements - default character set utf8mb4 - JSON enhancements - CTE, Window functions - lateral derived tables - reworked regular experssion support - internal temporary tables - HASH JOIN optimization - EXPLAIN ANALYZE - time zone support for TIMESTAMP and DATETIME - optimizer hints for FORCE INDEX, IGNORE INDEX - XML enhancements - single preparation of statements - single RIGHT JOIN as LEFT JOIN handling - derived condition pushdown optimization Number of features were also deprecated, check the release notes for that @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- client/CMakeLists.txt.orig 2021-05-08 21:52:13.000000000 +0000 d15 2 a16 2 @@@@ -41,6 +42,7 @@@@ MYSQL_ADD_EXECUTABLE(mysql client_query_attributes.cc d23 1 a23 1 @@@@ -57,6 +59,7 @@@@ IF(SOLARIS_SPARC AND MY_COMPILER_IS_SUNP d31 1 a31 1 @@@@ -73,6 +76,7 @@@@ MYSQL_ADD_EXECUTABLE(mysqltest d39 1 a39 1 @@@@ -261,16 +265,20 @@@@ MYSQL_ADD_EXECUTABLE(mysql_config_editor @