aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-11-06 22:25:05 +0000
committerRene Ladan <rene@FreeBSD.org>2026-11-06 22:25:05 +0000
commit1bd9054f22dc9df3953c0b1a3b3c7dc446465e17 (patch)
tree7118b0c92681342753b54f84991175bd01a067b6
parent05ae239b7eddc98e0ad9d95a392d2212160e427b (diff)
cleanup: Remove expired ports:
2026-11-06 databases/mysql267-client: EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-server 2026-11-06 databases/mysql267-server: EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-server
-rw-r--r--MOVED2
-rw-r--r--databases/Makefile2
-rw-r--r--databases/mysql267-client/Makefile52
-rw-r--r--databases/mysql267-client/pkg-message8
-rw-r--r--databases/mysql267-client/pkg-plist70
-rw-r--r--databases/mysql267-server/Makefile160
-rw-r--r--databases/mysql267-server/distinfo3
-rw-r--r--databases/mysql267-server/files/my.cnf.sample.in57
-rw-r--r--databases/mysql267-server/files/mysql-server.in79
-rw-r--r--databases/mysql267-server/files/mysqlrouter.conf.sample.in41
-rw-r--r--databases/mysql267-server/files/mysqlrouter.in93
-rw-r--r--databases/mysql267-server/files/patch-CMakeLists.txt69
-rw-r--r--databases/mysql267-server/files/patch-client_CMakeLists.txt62
-rw-r--r--databases/mysql267-server/files/patch-cmake_install__layout.cmake95
-rw-r--r--databases/mysql267-server/files/patch-cmake_libutils.cmake22
-rw-r--r--databases/mysql267-server/files/patch-cmake_os_DragonFly.cmake27
-rw-r--r--databases/mysql267-server/files/patch-cmake_plugin.cmake27
-rw-r--r--databases/mysql267-server/files/patch-cmake_ssl.cmake25
-rw-r--r--databases/mysql267-server/files/patch-components_group__replication__resource__manager_resource__manager__memory__stats.h10
-rw-r--r--databases/mysql267-server/files/patch-extra_abseil_abseil-cpp-20250814.1_absl_time_internal_cctz_src_time__zone__format.cc20
-rw-r--r--databases/mysql267-server/files/patch-include_my__compare.h11
-rw-r--r--databases/mysql267-server/files/patch-include_my__stacktrace.h11
-rw-r--r--databases/mysql267-server/files/patch-include_my__thread__os__id.h15
-rw-r--r--databases/mysql267-server/files/patch-include_myisam.h11
-rw-r--r--databases/mysql267-server/files/patch-libmysql_CMakeLists.txt64
-rw-r--r--databases/mysql267-server/files/patch-libservices_CMakeLists.txt12
-rw-r--r--databases/mysql267-server/files/patch-man_CMakeLists.txt69
-rw-r--r--databases/mysql267-server/files/patch-mysys_my__default.cc62
-rw-r--r--databases/mysql267-server/files/patch-mysys_my__kdf.cc20
-rw-r--r--databases/mysql267-server/files/patch-plugin_password__validation_validate__password.cc11
-rw-r--r--databases/mysql267-server/files/patch-plugin_x_CMakeLists.txt11
-rw-r--r--databases/mysql267-server/files/patch-plugin_x_client_authentication_sha256__scramble__generator.cc11
-rw-r--r--databases/mysql267-server/files/patch-plugin_x_configure.cmake15
-rw-r--r--databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_impl_kqueue__io__service.h13
-rw-r--r--databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_internet.h10
-rw-r--r--databases/mysql267-server/files/patch-router_src_harness_src_tls__client__context.cc11
-rw-r--r--databases/mysql267-server/files/patch-router_src_harness_src_tls__context.cc44
-rw-r--r--databases/mysql267-server/files/patch-router_src_rest__host__cache_src_rest__host__cache__entries.cc12
-rw-r--r--databases/mysql267-server/files/patch-scripts_CMakeLists.txt52
-rw-r--r--databases/mysql267-server/files/patch-scripts_mysqld__safe.sh19
-rw-r--r--databases/mysql267-server/files/patch-sql_auth_sha2__password__common.cc11
-rw-r--r--databases/mysql267-server/files/patch-sql_auth_sql__authorization.cc13
-rw-r--r--databases/mysql267-server/files/patch-sql_binlog__ostream.cc11
-rw-r--r--databases/mysql267-server/files/patch-sql_conn__handler_socket__connection.cc32
-rw-r--r--databases/mysql267-server/files/patch-sql_mdl__context__backup.cc36
-rw-r--r--databases/mysql267-server/files/patch-sql_mysqld.cc11
-rw-r--r--databases/mysql267-server/files/patch-sql_rpl__log__encryption.cc134
-rw-r--r--databases/mysql267-server/files/patch-sql_server__component_CMakeLists.txt12
-rw-r--r--databases/mysql267-server/files/patch-sql_server__component_mysql__file__imp.cc10
-rw-r--r--databases/mysql267-server/files/patch-sql_server__component_mysql__json__encode__imp.cc19
-rw-r--r--databases/mysql267-server/files/patch-sql_ssl__init__callback.cc36
-rw-r--r--databases/mysql267-server/files/patch-sql_sys__vars.cc29
-rw-r--r--databases/mysql267-server/files/patch-storage_innobase_include_srv0mon.h13
-rw-r--r--databases/mysql267-server/files/patch-storage_innobase_include_ut0crc32.h21
-rw-r--r--databases/mysql267-server/files/patch-storage_innobase_ut_crc32.cc151
-rw-r--r--databases/mysql267-server/files/patch-storage_myisam_mi__dynrec.cc22
-rw-r--r--databases/mysql267-server/files/patch-storage_ndb_include_mgmapi_mgmapi.h10
-rw-r--r--databases/mysql267-server/files/patch-support-files_CMakeLists.txt39
-rw-r--r--databases/mysql267-server/files/patch-unittest_gunit_stream__cipher-t.cc15
-rw-r--r--databases/mysql267-server/files/patch-utilities_CMakeLists.txt68
-rw-r--r--databases/mysql267-server/files/patch-vio_viossl.cc30
-rw-r--r--databases/mysql267-server/files/patch-vio_viosslfactories.cc46
-rw-r--r--databases/mysql267-server/files/pkg-message.in52
-rw-r--r--databases/mysql267-server/pkg-descr4
-rw-r--r--databases/mysql267-server/pkg-plist327
65 files changed, 2 insertions, 2558 deletions
diff --git a/MOVED b/MOVED
index 131c902f1817..baab8c46d7ca 100644
--- a/MOVED
+++ b/MOVED
@@ -5801,3 +5801,5 @@ x11/plasma6-kgamma||2026-11-05|Removed: no longer shipped with KDE Plasma
x11-wm/plasma6-kwin-x11||2026-11-05|Removed: no longer shipped with KDE Plasma
cad/astk-client||2026-11-06|Superseded by science/codeaster-frontend
cad/astk-serveur||2026-11-06|Superseded by science/codeaster-frontend
+databases/mysql267-client|databases/mysql2610-client|2026-11-06|Has expired: EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-server
+databases/mysql267-server|databases/mysql2610-server|2026-11-06|Has expired: EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-server
diff --git a/databases/Makefile b/databases/Makefile
index 2d725b642e24..23fb5aabfd93 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -207,8 +207,6 @@
SUBDIR += mysql-shell
SUBDIR += mysql2610-client
SUBDIR += mysql2610-server
- SUBDIR += mysql267-client
- SUBDIR += mysql267-server
SUBDIR += mysql2pgsql
SUBDIR += mysql80-client
SUBDIR += mysql80-server
diff --git a/databases/mysql267-client/Makefile b/databases/mysql267-client/Makefile
deleted file mode 100644
index 0513d661097c..000000000000
--- a/databases/mysql267-client/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-PORTNAME= mysql
-PKGNAMESUFFIX= 267-client
-
-COMMENT= Multithreaded SQL database (client)
-
-LICENSE+= LGPL21
-
-DEPRECATED= EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-client
-EXPIRATION_DATE=2026-11-06
-
-# Slave port of databases/mysql267-server; see the note there on repology
-# reporting this series as outdated.
-
-# MySQL8.2+ supports only 64-bit platforms
-NOT_FOR_ARCHS= armv6 armv7 i386 powerpc
-
-MASTERDIR= ${.CURDIR}/../mysql267-server
-
-PKGMESSAGE= ${.CURDIR}/pkg-message
-PATCHDIR= ${MASTERDIR}/files
-PLIST= ${.CURDIR}/pkg-plist
-
-CONFLICTS_INSTALL= mysql*-client \
- mariadb*-client \
- percona*-client
-
-CMAKE_ARGS+= -DWITHOUT_SERVER=1 -DINSTALL_SUPPORTFILESDIR=0
-
-CPE_PRODUCT= mysql
-
-USE_LDCONFIG+= ${PREFIX}/lib/mysql
-
-CLIENT_ONLY= yes
-
-OPTIONS_GROUP+= PLUGINS
-PLUGINS_DESC= Default Client Plugins
-OPTIONS_GROUP_PLUGINS= SASLCLIENT
-SASLCLIENT_DESC= SASL client plugin module
-SASLCLIENT_CMAKE_BOOL= WITH_AUTHENTICATION_LDAP
-SASLCLIENT_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
-SASLCLIENT_USES= ldap
-
-OPTIONS_DEFAULT+= SASLCLIENT
-OPTIONS_SUB= yes
-
-post-install:
- @${RM} -r ${STAGEDIR}${PREFIX}/lib/mysql/private
- @${LN} -s libmysqlclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a
- @${LN} -s libmysqlclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so
- @${LN} -s libmysqlclient.so.24 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.24
-
-.include "${MASTERDIR}/Makefile"
diff --git a/databases/mysql267-client/pkg-message b/databases/mysql267-client/pkg-message
deleted file mode 100644
index f2079381b504..000000000000
--- a/databases/mysql267-client/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-[
-{ type: install
- message: <<EOM
-This is the mysql CLIENT without the server.
-for complete server and client, please install databases/mysql267-server
-EOM
-}
-]
diff --git a/databases/mysql267-client/pkg-plist b/databases/mysql267-client/pkg-plist
deleted file mode 100644
index 6f3082f14b1b..000000000000
--- a/databases/mysql267-client/pkg-plist
+++ /dev/null
@@ -1,70 +0,0 @@
-bin/comp_err
-bin/my_print_defaults
-bin/mysql
-bin/mysql_config
-bin/mysql_config_editor
-bin/mysql_migrate_keyring
-bin/mysqladmin
-bin/mysqlbinlog
-bin/mysqlcheck
-bin/mysqldump
-bin/mysqlimport
-bin/mysqlshow
-bin/mysqlslap
-bin/perror
-include/mysql/errmsg.h
-include/mysql/field_types.h
-include/mysql/my_command.h
-include/mysql/my_compress.h
-include/mysql/my_list.h
-include/mysql/mysql.h
-include/mysql/mysql/client_plugin.h
-include/mysql/mysql/plugin_auth_common.h
-include/mysql/mysql/udf_registration_types.h
-include/mysql/mysql_com.h
-include/mysql/mysql_time.h
-include/mysql/mysql_version.h
-include/mysql/mysqld_error.h
-lib/mysql/libmysqlclient.a
-lib/mysql/libmysqlclient.so
-lib/mysql/libmysqlclient.so.24
-lib/mysql/libmysqlclient_r.a
-lib/mysql/libmysqlclient_r.so
-lib/mysql/libmysqlclient_r.so.24
-%%SASLCLIENT%%lib/mysql/plugin/authentication_ldap_sasl_client.so
-%%SASLCLIENT%%lib/mysql/plugin/authentication_oci_client.so
-%%SASLCLIENT%%lib/mysql/plugin/authentication_openid_connect_client.so
-%%SASLCLIENT%%lib/mysql/plugin/authentication_webauthn_client.so
-%%SASLCLIENT%%lib/mysql/plugin/mysql_native_password.so
-libdata/pkgconfig/mysqlclient.pc
-share/aclocal/mysql.m4
-share/man/man1/comp_err.1.gz
-@comment share/man/man1/ibd2sdi.1.gz
-@comment share/man/man1/innochecksum.1.gz
-@comment share/man/man1/my_print_defaults.1.gz
-@comment share/man/man1/myisam_ftdump.1.gz
-@comment share/man/man1/myisamchk.1.gz
-@comment share/man/man1/myisamlog.1.gz
-@comment share/man/man1/myisampack.1.gz
-share/man/man1/mysql.1.gz
-@comment share/man/man1/mysql.server.1.gz
-share/man/man1/mysql_config.1.gz
-share/man/man1/mysql_config_editor.1.gz
-@comment share/man/man1/mysql_secure_installation.1.gz
-@comment share/man/man1/mysql_tzinfo_to_sql.1.gz
-share/man/man1/mysqladmin.1.gz
-share/man/man1/mysqlbinlog.1.gz
-share/man/man1/mysqlcheck.1.gz
-@comment share/man/man1/mysqld_multi.1.gz
-@comment share/man/man1/mysqld_safe.1.gz
-share/man/man1/mysqldump.1.gz
-@comment share/man/man1/mysqldumpslow.1.gz
-share/man/man1/mysqlimport.1.gz
-share/man/man1/mysqlman.1.gz
-@comment share/man/man1/mysqlrouter.1.gz
-@comment share/man/man1/mysqlrouter_passwd.1.gz
-@comment share/man/man1/mysqlrouter_plugin_info.1.gz
-share/man/man1/mysqlshow.1.gz
-share/man/man1/mysqlslap.1.gz
-share/man/man1/perror.1.gz
-@comment share/man/man8/mysqld.8.gz
diff --git a/databases/mysql267-server/Makefile b/databases/mysql267-server/Makefile
deleted file mode 100644
index 5787f6950021..000000000000
--- a/databases/mysql267-server/Makefile
+++ /dev/null
@@ -1,160 +0,0 @@
-PORTNAME?= mysql
-PORTVERSION= 26.7.0
-CATEGORIES= databases
-MASTER_SITES= MYSQL/MySQL-26.7
-PKGNAMESUFFIX?= 267-server
-
-MAINTAINER= joneum@FreeBSD.org
-COMMENT?= Multithreaded SQL database (server)
-WWW= https://www.mysql.com/
-
-LICENSE= GPLv2
-
-DEPRECATED= EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-server
-EXPIRATION_DATE=2026-11-06
-
-# Tracks one MySQL release series; the others are separate mysql*-server ports.
-# repology merges all series into one project and measures against the newest
-# train upstream ships, so its outdated report is an artifact, not an update.
-
-# MySQL8.2+ supports only 64-bit platforms
-NOT_FOR_ARCHS= armv6 armv7 i386 powerpc
-
-USES= bison:build cmake:noninja cpe groff:run libedit localbase \
- ncurses perl5 pkgconfig shebangfix ssl compiler:c++23-lang
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX}
-
-SLAVEDIRS= databases/mysql267-client
-
-CPE_PRODUCT?= mysql_server
-CPE_VENDOR= oracle
-
-USE_PERL5= run
-
-MY_DBDIR= /var/db/mysql
-MY_SECDIR= /var/db/mysql_secure
-MY_TMPDIR= /var/db/mysql_tmpdir
-
-.if defined(CLIENT_ONLY)
-BUILD_DEPENDS+= curl>0:ftp/curl \
- icu>0:devel/icu \
- liblz4>0:archivers/liblz4
-LIB_DEPENDS+= libfido2.so:security/libfido2
-.else
-LIB_DEPENDS+= libcurl.so:ftp/curl \
- libicutu.so:devel/icu \
- liblz4.so:archivers/liblz4
-.endif
-
-CMAKE_BUILD_TYPE= Release
-CFLAGS+= -fPIC
-CFLAGS_aarch64?= -march=armv8-a+crc+crypto
-
-CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \
- -DINSTALL_LDCONFIGDIR="${LOCALBASE}/libdata/ldconfig" \
- -DINSTALL_PKGCONFIGDIR="${LOCALBASE}/libdata/pkgconfig" \
- -DINSTALL_DOCDIR="share/doc/mysql" \
- -DINSTALL_DOCREADMEDIR="share/doc/mysql" \
- -DINSTALL_INCLUDEDIR="include/mysql" \
- -DINSTALL_INFODIR="${INFO_PATH}" \
- -DINSTALL_LIBDIR="lib/mysql" \
- -DINSTALL_PRIV_LIBDIR="lib/mysql/private" \
- -DINSTALL_MANDIR="share/man" \
- -DINSTALL_MYSQLDATADIR="${MY_DBDIR}" \
- -DINSTALL_MYSQLKEYRINGDIR="etc/mysql/keyring" \
- -DINSTALL_MYSQLSHAREDIR="share/mysql" \
- -DINSTALL_MYSQLTESTDIR="" \
- -DINSTALL_PLUGINDIR="lib/mysql/plugin" \
- -DINSTALL_SBINDIR="libexec" \
- -DINSTALL_SCRIPTDIR="bin" \
- -DINSTALL_SECURE_FILE_PRIVDIR="${MY_SECDIR}" \
- -DINSTALL_SHAREDIR="share" \
- -DINSTALL_SUPPORTFILESDIR="share/mysql" \
- -DWITH_SYSTEM_LIBS=1 \
- -DWITH_ZSTD=bundled \
- -DWITH_PROTOBUF=bundled
-
-SHEBANG_FILES= scripts/*.pl* scripts/*.sh
-
-.ifdef USE_MYSQL
-IGNORE= you have `USE_MYSQL' variable defined either in environment or in make(1) arguments, please undefine and try again
-.endif
-
-SUB_LIST= MY_DBDIR=${MY_DBDIR} \
- MY_SECDIR=${MY_SECDIR} \
- MY_TMPDIR=${MY_TMPDIR}
-
-PLIST_SUB= MY_DBDIR=${MY_DBDIR} \
- MY_SECDIR=${MY_SECDIR} \
- MY_TMPDIR=${MY_TMPDIR}
-
-# MySQL-Server part
-.if !defined(CLIENT_ONLY)
-USES+= mysql:267
-
-CONFLICTS_INSTALL= mysql*-server \
- mysqlwsrep*-server \
- mariadb*-server \
- percona*-server
-
-USE_RC_SUBR= mysql-server mysqlrouter
-
-SUB_FILES= my.cnf.sample mysqlrouter.conf.sample pkg-message
-
-USERS= mysql mysqlrouter
-GROUPS= mysql mysqlrouter
-
-USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin
-
-CMAKE_ARGS+= -DWITHOUT_CLIENTLIBS="ON"
-CMAKE_ARGS+= -DWITH_UNIT_TESTS="OFF"
-
-OPTIONS_GROUP= STORAGE
-OPTIONS_GROUP_STORAGE= ARCHIVE BLACKHOLE EXAMPLE FEDERATED
-OPTIONS_SUB= YES
-STORAGE_DESC= Permissible "Storage Engines" (to compile statically into the server)
-ARCHIVE_DESC= Compile "Archive Storage" statically in server
-BLACKHOLE_DESC= Compile "Blackhole Storage" statically in server
-EXAMPLE_DESC= Compile "Example Storage" statically in server
-FEDERATED_DESC= Compile "Federated Storage" statically in server
-
-ARCHIVE_CMAKE_ON= -DWITH_ARCHIVE_STORAGE_ENGINE=1
-BLACKHOLE_CMAKE_ON= -DWITH_BLACKHOLE_STORAGE_ENGINE=1
-EXAMPLE_CMAKE_ON= -DWITH_EXAMPLE_STORAGE_ENGINE=1
-FEDERATED_CMAKE_ON= -DWITH_FEDERATED_STORAGE_ENGINE=1
-
-OPTIONS_GROUP+= FEATURES
-OPTIONS_GROUP_FEATURES= PERFSCHM
-FEATURES_DESC= Default features knobs
-PERFSCHM_DESC= Enable "Performance Schema" by default (High RAM usage)
-OPTIONS_DEFAULT+= PERFSCHM
-
-PERFSCHM_SUB_LIST+= PERFSCHEMRC=""
-PERFSCHM_SUB_LIST_OFF+= PERFSCHEMRC="--skip-performance-schema"
-FEDERATED_SUB_LIST+= FEDER="--federated"
-FEDERATED_SUB_LIST_OFF+= FEDER=""
-.endif
-
-.include <bsd.port.options.mk>
-
-.include <bsd.port.pre.mk>
-
-post-extract:
- @${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h
-
-.if !defined(CLIENT_ONLY)
-post-install:
- ${MKDIR} ${STAGEDIR}${ETCDIR}
- ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mysqlrouter
- ${INSTALL_DATA} ${WRKDIR}/mysqlrouter.conf.sample \
- ${STAGEDIR}${PREFIX}/etc/mysqlrouter/mysqlrouter.conf.sample
- ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring
- ${MKDIR} ${STAGEDIR}${MY_SECDIR}
- ${MKDIR} ${STAGEDIR}${MY_TMPDIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${MV} ${STAGEDIR}${PREFIX}/LICENSE.router ${STAGEDIR}${PREFIX}/README.router ${STAGEDIR}${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/databases/mysql267-server/distinfo b/databases/mysql267-server/distinfo
deleted file mode 100644
index fc57345da83a..000000000000
--- a/databases/mysql267-server/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1791829936
-SHA256 (mysql-26.7.0.tar.gz) = 95e949183b94bbe39e70c6355e6c90d2a640a62ede996ca5f7a6a3e0827a3260
-SIZE (mysql-26.7.0.tar.gz) = 459475424
diff --git a/databases/mysql267-server/files/my.cnf.sample.in b/databases/mysql267-server/files/my.cnf.sample.in
deleted file mode 100644
index 3d1264c1bd61..000000000000
--- a/databases/mysql267-server/files/my.cnf.sample.in
+++ /dev/null
@@ -1,57 +0,0 @@
-[client]
-port = 3306
-socket = /tmp/mysql.sock
-
-[mysql]
-prompt = \u@\h [\d]>\_
-no_auto_rehash
-
-[mysqld]
-user = mysql
-port = 3306
-socket = /tmp/mysql.sock
-bind-address = 127.0.0.1
-basedir = %%PREFIX%%
-datadir = %%MY_DBDIR%%
-tmpdir = %%MY_TMPDIR%%
-replica-load-tmpdir = %%MY_TMPDIR%%
-secure-file-priv = %%MY_SECDIR%%
-log-bin = mysql-bin
-log-output = TABLE
-relay-log-recovery = 1
-slow-query-log = 1
-server-id = 1
-sync_binlog = 1
-sync_relay_log = 1
-binlog_cache_size = 16M
-binlog_expire_logs_seconds = 2592000
-default_password_lifetime = 0
-enforce-gtid-consistency = 1
-gtid-mode = ON
-safe-user-create = 1
-lower_case_table_names = 1
-explicit-defaults-for-timestamp = 1
-myisam-recover-options = BACKUP,FORCE
-open_files_limit = 32768
-table_open_cache = 16384
-table_definition_cache = 8192
-net_retry_count = 16384
-key_buffer_size = 256M
-max_allowed_packet = 64M
-long_query_time = 0.5
-innodb_buffer_pool_size = 1G
-innodb_data_home_dir = %%MY_DBDIR%%
-innodb_log_group_home_dir = %%MY_DBDIR%%
-innodb_data_file_path = ibdata1:128M:autoextend
-innodb_temp_data_file_path = ibtmp1:128M:autoextend
-innodb_flush_method = O_DIRECT
-innodb_redo_log_capacity = 512M
-innodb_log_buffer_size = 16M
-innodb_write_io_threads = 8
-innodb_read_io_threads = 8
-innodb_autoinc_lock_mode = 2
-
-[mysqldump]
-max_allowed_packet = 256M
-quote_names
-quick
diff --git a/databases/mysql267-server/files/mysql-server.in b/databases/mysql267-server/files/mysql-server.in
deleted file mode 100644
index 73e5bcf282ce..000000000000
--- a/databases/mysql267-server/files/mysql-server.in
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: mysql
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following line to /etc/rc.conf to enable mysql:
-# mysql_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable MySQL.
-# mysql_dbdir (str): Default to "%%MY_DBDIR%%"
-# Base database directory.
-# mysql_confdir (str): Default to "%%ETCDIR%%"
-# Base configuration directory.
-# mysql_optfile (str): Server-specific option file.
-# Set it in the rc.conf or default behaviour of
-# `mysqld_safe` itself, will be picking
-# ${mysql_confdir}/my.cnf if it exists.
-# mysql_pidfile (str): Custom PID file path and name.
-# Default to "${mysql_dbdir}/${hostname}.pid".
-# mysql_args (str): Custom additional arguments to be passed
-# to mysqld_safe (default empty).
-#
-
-. /etc/rc.subr
-
-name="mysql"
-rcvar=mysql_enable
-
-load_rc_config $name
-
-: ${mysql_enable="NO"}
-: ${mysql_svcj_options="net_basic"}
-: ${mysql_dbdir="%%MY_DBDIR%%"}
-: ${mysql_confdir="%%ETCDIR%%"}
-if [ -f "${mysql_confdir}/my.cnf" ]; then
-: ${mysql_optfile="${mysql_confdir}/my.cnf"}
-elif [ -f "${mysql_dbdir}/my.cnf" ]; then
-: ${mysql_optfile="${mysql_dbdir}/my.cnf"}
-fi
-if [ ! -z "${mysql_optfile}" ]; then
-mysql_extra="--defaults-extra-file=${mysql_optfile}"
-fi
-
-mysql_user="mysql"
-: ${hostname:=`/bin/hostname`}
-pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"}
-command="/usr/sbin/daemon"
-command_args="-c -f %%PREFIX%%/bin/mysqld_safe ${mysql_extra} --basedir=%%PREFIX%% --datadir=${mysql_dbdir} --pid-file=${pidfile} --user=${mysql_user} ${mysql_args} %%FEDER%% %%PERFSCHEMRC%%"
-procname="%%PREFIX%%/libexec/mysqld"
-start_precmd="${name}_prestart"
-start_postcmd="${name}_poststart"
-mysqld_init="${procname}"
-mysqld_init_args="${mysql_extra} --initialize-insecure --basedir=%%PREFIX%% --datadir=${mysql_dbdir} --user=${mysql_user}"
-
-mysql_create_auth_tables()
-{
- eval $mysqld_init $mysqld_init_args >/dev/null 2>/dev/null
-}
-
-mysql_prestart()
-{
- if [ ! -d "${mysql_dbdir}/mysql/." ]; then
- mysql_create_auth_tables || return 1
- fi
- return 0
-}
-
-mysql_poststart()
-{
- local timeout=15
- while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do
- timeout=$(( timeout - 1 ))
- sleep 1
- done
- return 0
-}
-
-run_rc_command "$1"
diff --git a/databases/mysql267-server/files/mysqlrouter.conf.sample.in b/databases/mysql267-server/files/mysqlrouter.conf.sample.in
deleted file mode 100644
index 23b9de4c93ab..000000000000
--- a/databases/mysql267-server/files/mysqlrouter.conf.sample.in
+++ /dev/null
@@ -1,41 +0,0 @@
-# MySQL Router default configuration for FreeBSD.
-#
-# This template starts the router, but it does not route anything yet. Either
-# add a [routing] or [metadata_cache] section by hand, or let
-# "mysqlrouter --bootstrap" generate a complete configuration. A commented
-# upstream example is installed as
-# %%DATADIR%%router/docs/sample_mysqlrouter.conf
-#
-# The paths below have to stay in sync with these two files:
-# %%PREFIX%%/etc/rc.d/mysqlrouter creates the directories
-# %%PREFIX%%/etc/logrotate.d/mysqlrouter rotates the log, sends SIGHUP
-#
-# Do NOT set "pid_file" here. The PID file is written by daemon(8) through the
-# rc script. With an own pid_file entry mysqlrouter aborts the next start with
-# "PID file ... found. Already running?" after an unclean shutdown.
-#
-# Do NOT set "user" here. The rc script drops privileges with "daemon -u"
-# before mysqlrouter is executed.
-
-[DEFAULT]
-logging_folder = /var/log/mysqlrouter
-runtime_folder = /var/run/mysqlrouter
-data_folder = /var/db/mysqlrouter
-plugin_folder = %%PREFIX%%/lib/mysql/mysqlrouter
-config_folder = %%PREFIX%%/etc/mysqlrouter
-
-[logger]
-level = INFO
-filename = mysqlrouter.log
-
-# Without a plugin that provides a service mysqlrouter exits immediately.
-# keepalive keeps it alive until real [routing] or [metadata_cache] sections
-# are configured, afterwards it can be removed.
-[keepalive]
-interval = 60
-
-#[routing:example]
-#bind_address = 127.0.0.1
-#bind_port = 6446
-#destinations = 192.0.2.1:3306,192.0.2.2:3306
-#routing_strategy = first-available
diff --git a/databases/mysql267-server/files/mysqlrouter.in b/databases/mysql267-server/files/mysqlrouter.in
deleted file mode 100644
index 29de9c0bc792..000000000000
--- a/databases/mysql267-server/files/mysqlrouter.in
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: mysqlrouter
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable mysqlrouter:
-#
-# mysqlrouter_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable mysqlrouter.
-# mysqlrouter_config (str): Configuration file.
-# Default "%%PREFIX%%/etc/mysqlrouter/mysqlrouter.conf".
-# mysqlrouter_user (str): User to run mysqlrouter as, handled by rc.subr.
-# Default "mysqlrouter".
-# mysqlrouter_group (str): Group of the runtime, log and data directory.
-# Default "mysqlrouter".
-# mysqlrouter_login_class (str): Login class, see rc.subr(8) and
-# login.conf(5). Raise openfiles there when the
-# router has to serve many connections, upstream
-# uses 10000. Default "daemon".
-# mysqlrouter_rundir (str): Runtime directory. Must match "runtime_folder"
-# in the configuration file and the path used by
-# %%PREFIX%%/etc/logrotate.d/mysqlrouter.
-# Default "/var/run/mysqlrouter".
-# mysqlrouter_logdir (str): Log directory. Must match "logging_folder".
-# Default "/var/log/mysqlrouter".
-# mysqlrouter_datadir (str): Data directory, holds the keyring and the
-# dynamic state. Must match "data_folder".
-# Default "/var/db/mysqlrouter".
-# mysqlrouter_args (str): Custom additional arguments (default empty).
-#
-# mysqlrouter does not detach itself, so it is run under daemon(8). The PID
-# file is written by daemon(8), not by mysqlrouter. Do not add a "pid_file"
-# entry to the configuration file, mysqlrouter would then refuse to start
-# with "PID file ... found. Already running?".
-#
-
-. /etc/rc.subr
-
-name="mysqlrouter"
-rcvar=mysqlrouter_enable
-
-load_rc_config $name
-
-: ${mysqlrouter_enable:="NO"}
-: ${mysqlrouter_config:="%%PREFIX%%/etc/mysqlrouter/mysqlrouter.conf"}
-: ${mysqlrouter_user:="mysqlrouter"}
-: ${mysqlrouter_group:="mysqlrouter"}
-: ${mysqlrouter_rundir:="/var/run/mysqlrouter"}
-: ${mysqlrouter_logdir:="/var/log/mysqlrouter"}
-: ${mysqlrouter_datadir:="/var/db/mysqlrouter"}
-: ${mysqlrouter_args:=""}
-
-pidfile="${mysqlrouter_rundir}/${name}.pid"
-procname="%%PREFIX%%/bin/mysqlrouter"
-required_files="${mysqlrouter_config}"
-
-command="/usr/sbin/daemon"
-command_args="-c -f -S -T ${name} -p ${pidfile} \
- ${procname} --config ${mysqlrouter_config} ${mysqlrouter_args}"
-
-extra_commands="reload"
-sig_reload="HUP"
-
-start_precmd="${name}_precmd"
-
-mysqlrouter_precmd()
-{
- # /var/run is cleared on boot and mysqlrouter cannot create the
- # directory itself: it drops privileges before the runtime directory
- # is used. daemon(8) needs it to exist before it opens the PID file,
- # and rc.subr runs the whole command as ${mysqlrouter_user}, so the
- # directory has to belong to that account. A unix socket configured
- # in a [routing] section is created here as well.
- install -d -o "${mysqlrouter_user}" -g "${mysqlrouter_group}" -m 0750 \
- "${mysqlrouter_rundir}" || return 1
-
- # Only create these, never touch an existing directory: an
- # administrator may already run mysqlrouter under a different account.
- if [ ! -d "${mysqlrouter_logdir}" ]; then
- install -d -o "${mysqlrouter_user}" -g "${mysqlrouter_group}" \
- -m 0750 "${mysqlrouter_logdir}" || return 1
- fi
- if [ ! -d "${mysqlrouter_datadir}" ]; then
- install -d -o "${mysqlrouter_user}" -g "${mysqlrouter_group}" \
- -m 0750 "${mysqlrouter_datadir}" || return 1
- fi
-
- return 0
-}
-
-run_rc_command "$1"
diff --git a/databases/mysql267-server/files/patch-CMakeLists.txt b/databases/mysql267-server/files/patch-CMakeLists.txt
deleted file mode 100644
index 53ead510856b..000000000000
--- a/databases/mysql267-server/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,69 +0,0 @@
---- CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ CMakeLists.txt
-@@ -1986,7 +1986,7 @@ IF(WITH_AUTHENTICATION_LDAP)
- ENDIF()
-
- IF(WITH_AUTHENTICATION_LDAP)
-- IF(LINUX AND KNOWN_CUSTOM_LIBRARIES)
-+ IF(LINUX OR FREEBSD AND KNOWN_CUSTOM_LIBRARIES)
- # LDAP / SASL / KERBEROS / SSL must all be "system" or "custom", not a mix.
- IF(WITH_LDAP STREQUAL "system" OR
- WITH_SASL STREQUAL "system" OR
-@@ -2037,6 +2037,7 @@ ENDIF()
- ENDIF()
- ENDIF()
-
-+IF(NOT WITHOUT_TOOLS)
- # Add system/bundled editline.
- MYSQL_CHECK_EDITLINE()
- SET(EDITLINE_WARN_GIVEN)
-@@ -2047,6 +2048,7 @@ ENDIF()
- "You can use -DWITH_EDITLINE=bundled instead."
- )
- ENDIF()
-+ENDIF(NOT WITHOUT_TOOLS)
-
- # Add lz4 library
- MYSQL_CHECK_LZ4()
-@@ -2359,7 +2361,9 @@ ADD_DEPENDENCIES(clang_tidy_prerequisites GenError)
- ADD_DEPENDENCIES(clang_tidy_prerequisites protobuf_generated_all)
- ADD_DEPENDENCIES(clang_tidy_prerequisites GenError)
-
--ADD_SUBDIRECTORY(include)
-+IF(NOT WITHOUT_CLIENTLIBS)
-+ ADD_SUBDIRECTORY(include)
-+ENDIF(NOT WITHOUT_CLIENTLIBS)
- ADD_SUBDIRECTORY(strings)
- ADD_SUBDIRECTORY(extra/unordered_dense)
- ADD_SUBDIRECTORY(extra/xxhash)
-@@ -2420,12 +2424,15 @@ ENDIF()
- ADD_SUBDIRECTORY(unittest/mytap/t)
- ENDIF()
-
--ADD_SUBDIRECTORY(client)
-+IF(NOT WITHOUT_TOOLS)
-+ ADD_SUBDIRECTORY(client)
-+ENDIF(NOT WITHOUT_TOOLS)
-+
- ADD_SUBDIRECTORY(utilities)
--ADD_SUBDIRECTORY(share)
- ADD_SUBDIRECTORY(libservices)
-
- IF(NOT WITHOUT_SERVER)
-+ ADD_SUBDIRECTORY(share)
- ADD_SUBDIRECTORY(testclients)
- ADD_SUBDIRECTORY(sql)
- ENDIF()
-@@ -2505,11 +2512,11 @@ ADD_SUBDIRECTORY(scripts)
- # scripts/mysql_config depends on client and server targets loaded above.
- # It is referenced by some of the directories below, so we insert it here.
- ADD_SUBDIRECTORY(scripts)
-+ADD_SUBDIRECTORY(support-files)
-
- IF(NOT WITHOUT_SERVER)
- ADD_SUBDIRECTORY(mysql-test)
- ADD_SUBDIRECTORY(mysql-test/lib/My/SafeProcess)
-- ADD_SUBDIRECTORY(support-files)
- IF(WITH_INTERNAL)
- ADD_SUBDIRECTORY(internal)
- ENDIF()
diff --git a/databases/mysql267-server/files/patch-client_CMakeLists.txt b/databases/mysql267-server/files/patch-client_CMakeLists.txt
deleted file mode 100644
index c062af2aa2e8..000000000000
--- a/databases/mysql267-server/files/patch-client_CMakeLists.txt
+++ /dev/null
@@ -1,62 +0,0 @@
---- client/CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ client/CMakeLists.txt
-@@ -26,9 +26,12 @@ DISABLE_MISSING_PROFILE_WARNING()
- # We are not interesting in profiling clients.
- DISABLE_MISSING_PROFILE_WARNING()
-
-+IF(WITHOUT_SERVER)
- ## Subdirectory for mysql_migrate_keyring code.
- ADD_SUBDIRECTORY(migrate_keyring)
-+ENDIF()
-
-+IF(WITHOUT_SERVER)
- MYSQL_ADD_EXECUTABLE(mysql
- ${CMAKE_SOURCE_DIR}/sql-common/net_ns.cc
- completion_hash.cc
-@@ -42,7 +45,9 @@ MYSQL_ADD_EXECUTABLE(mysql
- ${CMAKE_SOURCE_DIR}/sql-common/sql_string.cc
- LINK_LIBRARIES mysqlclient ${EDITLINE_LIBRARY}
- )
-+ENDIF()
-
-+IF(NOT_WITHOUT_SERVER)
- MYSQL_ADD_EXECUTABLE(mysqltest
- mysqltest.cc
- mysqltest/error_names.cc
-@@ -59,9 +64,11 @@ MYSQL_ADD_EXECUTABLE(mysqltest
- ENABLE_EXPORTS
- LINK_LIBRARIES mysqlclient
- )
-+ENDIF()
-
- DOWNGRADE_STRINGOP_WARNINGS(mysqltest)
-
-+IF(WITHOUT_SERVER)
- MYSQL_ADD_EXECUTABLE(mysqlcheck
- check/mysqlcheck.cc
- check/mysqlcheck_core.cc
-@@ -302,7 +309,9 @@ ENDIF()
- TARGET_COMPILE_DEFINITIONS(mysqlbinlog PRIVATE DISABLE_PSI_MUTEX)
- TARGET_INCLUDE_DIRECTORIES(mysqlbinlog PRIVATE ${CMAKE_SOURCE_DIR}/sql)
- ENDIF()
-+ENDIF()
-
-+IF(WITHOUT_SERVER)
- MYSQL_ADD_EXECUTABLE(mysqladmin
- mysqladmin.cc
- multi_factor_passwordopt-vars.cc
-@@ -317,10 +326,14 @@ 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
- )
-+ENDIF()
-
- # "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/".
- IF(WIN32)
diff --git a/databases/mysql267-server/files/patch-cmake_install__layout.cmake b/databases/mysql267-server/files/patch-cmake_install__layout.cmake
deleted file mode 100644
index 78d8757b800c..000000000000
--- a/databases/mysql267-server/files/patch-cmake_install__layout.cmake
+++ /dev/null
@@ -1,95 +0,0 @@
---- cmake/install_layout.cmake.orig 2026-07-10 11:18:36 UTC
-+++ cmake/install_layout.cmake
-@@ -42,6 +42,10 @@
- # Build with prefix=/usr/local/mysql, create tarball with install prefix="."
- # and relative links.
- #
-+# FREEBSD
-+# Build with prefix=/usr/local, create tarball with install prefix="."
-+# and relative links.
-+#
- # To force a directory layout, use -DINSTALL_LAYOUT=<layout>.
- #
- # The default is STANDALONE.
-@@ -81,7 +85,7 @@ SET(INSTALL_LAYOUT "${DEFAULT_INSTALL_LAYOUT}"
- ENDIF()
-
- SET(INSTALL_LAYOUT "${DEFAULT_INSTALL_LAYOUT}"
-- CACHE STRING "Installation directory layout. Options are: TARGZ (as in tar.gz installer), STANDALONE, RPM, DEB, SVR4"
-+ CACHE STRING "Installation directory layout. Options are: TARGZ (as in tar.gz installer), STANDALONE, FREEBSD, RPM, DEB, SVR4"
- )
-
- IF(UNIX)
-@@ -99,7 +103,7 @@ IF(UNIX)
- CACHE PATH "install prefix" FORCE)
- ENDIF()
- SET(VALID_INSTALL_LAYOUTS
-- "RPM" "DEB" "SVR4" "TARGZ" "STANDALONE")
-+ "RPM" "DEB" "SVR4" "TARGZ" "FREEBSD" "STANDALONE")
- LIST(FIND VALID_INSTALL_LAYOUTS "${INSTALL_LAYOUT}" ind)
- IF(ind EQUAL -1)
- MESSAGE(FATAL_ERROR "Invalid INSTALL_LAYOUT parameter:${INSTALL_LAYOUT}."
-@@ -168,6 +172,32 @@ SET(INSTALL_SECURE_FILE_PRIVDIR_STANDALONE ${secure_fi
- SET(INSTALL_SECURE_FILE_PRIVDIR_STANDALONE ${secure_file_priv_path})
-
- #
-+# FREEBSD layout
-+#
-+SET(INSTALL_BINDIR_FREEBSD "bin")
-+SET(INSTALL_SBINDIR_FREEBSD "bin")
-+#
-+SET(INSTALL_LIBDIR_FREEBSD "lib")
-+SET(INSTALL_PRIV_LIBDIR_FREEBSD "lib/private")
-+SET(INSTALL_PLUGINDIR_FREEBSD "lib/plugin")
-+#
-+SET(INSTALL_INCLUDEDIR_FREEBSD "include")
-+#
-+SET(INSTALL_DOCDIR_FREEBSD "docs")
-+SET(INSTALL_DOCREADMEDIR_FREEBSD ".")
-+SET(INSTALL_MANDIR_FREEBSD "man")
-+SET(INSTALL_INFODIR_FREEBSD "docs")
-+#
-+SET(INSTALL_SHAREDIR_FREEBSD "share")
-+SET(INSTALL_MYSQLSHAREDIR_FREEBSD "share")
-+SET(INSTALL_MYSQLTESTDIR_FREEBSD "mysql-test")
-+SET(INSTALL_SUPPORTFILESDIR_FREEBSD "support-files")
-+#
-+SET(INSTALL_MYSQLDATADIR_FREEBSD "data")
-+SET(INSTALL_MYSQLKEYRINGDIR_FREEBSD "keyring")
-+SET(INSTALL_SECURE_FILE_PRIVDIR_FREEBSD ${secure_file_priv_path})
-+
-+#
- # TARGZ layout
- #
- SET(INSTALL_BINDIR_TARGZ "bin")
-@@ -366,7 +396,7 @@ SET(ROUTER_INSTALL_LAYOUT "${DEFAULT_ROUTER_INSTALL_LA
- SET(ROUTER_INSTALL_LAYOUT "${DEFAULT_ROUTER_INSTALL_LAYOUT}"
- CACHE
- STRING
-- "Installation directory layout. Options are: STANDALONE RPM DEB SVR4 TARGZ")
-+ "Installation directory layout. Options are: STANDALONE FREEBSD RPM DEB SVR4 TARGZ")
-
- # If we are shared STANDALONE with the the server, we shouldn't write
- # into the server's data/ as that would create a "schemadir" in
-@@ -410,6 +440,21 @@ ENDFOREACH()
- )
- SET(ROUTER_INSTALL_${var}DIR_TARGZ ${ROUTER_INSTALL_${var}DIR_STANDALONE})
- ENDFOREACH()
-+
-+#
-+# FreeBSD layout
-+#
-+SET(ROUTER_INSTALL_CONFIGDIR_FREEBSD "/usr/local/etc/mysqlrouter")
-+SET(ROUTER_INSTALL_DATADIR_FREEBSD "/var/db/mysqlrouter")
-+SET(ROUTER_INSTALL_LOGDIR_FREEBSD "/var/log/mysqlrouter")
-+SET(ROUTER_INSTALL_RUNTIMEDIR_FREEBSD "/var/run/mysqlrouter")
-+
-+SET(ROUTER_INSTALL_BINDIR_FREEBSD "bin")
-+SET(ROUTER_INSTALL_LIBDIR_FREEBSD "lib/mysql")
-+SET(ROUTER_INSTALL_PLUGINDIR_FREEBSD "lib/mysql/mysqlrouter")
-+SET(ROUTER_INSTALL_LOGROTATEDIR_FREEBSD "etc/logrotate.d")
-+SET(ROUTER_INSTALL_LOGROTATEFILE_FREEBSD "mysqlrouter")
-+SET(ROUTER_INSTALL_DOCDIR_FREEBSD "share/mysqlrouter/docs")
-
- FOREACH(var
- LOGROTATE
diff --git a/databases/mysql267-server/files/patch-cmake_libutils.cmake b/databases/mysql267-server/files/patch-cmake_libutils.cmake
deleted file mode 100644
index 1f1278843adf..000000000000
--- a/databases/mysql267-server/files/patch-cmake_libutils.cmake
+++ /dev/null
@@ -1,22 +0,0 @@
---- cmake/libutils.cmake.orig 2026-07-10 11:18:36 UTC
-+++ cmake/libutils.cmake
-@@ -385,9 +385,6 @@ MACRO(MERGE_LIBRARIES_SHARED TARGET_ARG)
- ELSE()
- SET(DESTINATION "${INSTALL_LIBDIR}")
- ENDIF()
-- IF(ARG_NAMELINK_SKIP)
-- SET(INSTALL_ARGS NAMELINK_SKIP)
-- ENDIF()
- MYSQL_INSTALL_TARGET(${TARGET} DESTINATION "${DESTINATION}" ${COMP}
- ${INSTALL_ARGS})
- ENDIF()
-@@ -650,9 +647,6 @@ FUNCTION(ADD_SHARED_LIBRARY TARGET_ARG)
- SET(COMP COMPONENT ${ARG_COMPONENT})
- ELSE()
- SET(COMP COMPONENT SharedLibraries)
-- ENDIF()
-- IF(ARG_NAMELINK_SKIP)
-- SET(INSTALL_ARGS NAMELINK_SKIP)
- ENDIF()
- MYSQL_INSTALL_TARGET(${TARGET} DESTINATION "${DESTINATION}" ${COMP}
- ${INSTALL_ARGS})
diff --git a/databases/mysql267-server/files/patch-cmake_os_DragonFly.cmake b/databases/mysql267-server/files/patch-cmake_os_DragonFly.cmake
deleted file mode 100644
index 83c154ee3bcf..000000000000
--- a/databases/mysql267-server/files/patch-cmake_os_DragonFly.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
---- cmake/os/DragonFly.cmake.orig 2016-04-14 10:16:17 UTC
-+++ cmake/os/DragonFly.cmake
-@@ -0,0 +1,24 @@
-+INCLUDE(CheckCSourceRuns)
-+
-+# We require at least GCC 4.4 or Clang 3.3.
-+IF(NOT FORCE_UNSUPPORTED_COMPILER)
-+ IF(CMAKE_COMPILER_IS_GNUCC)
-+ EXECUTE_PROCESS(COMMAND ${CMAKE_C_COMPILER} -dumpversion
-+ OUTPUT_VARIABLE GCC_VERSION)
-+ IF(GCC_VERSION VERSION_LESS 4.4)
-+ MESSAGE(FATAL_ERROR "GCC 4.4 or newer is required!")
-+ ENDIF()
-+ ELSEIF(CMAKE_C_COMPILER_ID MATCHES "Clang")
-+ CHECK_C_SOURCE_RUNS("
-+ int main()
-+ {
-+ return (__clang_major__ < 3) ||
-+ (__clang_major__ == 3 && __clang_minor__ < 3);
-+ }" HAVE_SUPPORTED_CLANG_VERSION)
-+ IF(NOT HAVE_SUPPORTED_CLANG_VERSION)
-+ MESSAGE(FATAL_ERROR "Clang 3.3 or newer is required!")
-+ ENDIF()
-+ ELSE()
-+ MESSAGE(FATAL_ERROR "Unsupported compiler!")
-+ ENDIF()
-+ENDIF()
diff --git a/databases/mysql267-server/files/patch-cmake_plugin.cmake b/databases/mysql267-server/files/patch-cmake_plugin.cmake
deleted file mode 100644
index 06cc45578cf3..000000000000
--- a/databases/mysql267-server/files/patch-cmake_plugin.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
---- cmake/plugin.cmake.orig 2026-07-10 11:18:36 UTC
-+++ cmake/plugin.cmake
-@@ -270,15 +270,15 @@ MACRO(MYSQL_ADD_PLUGIN plugin_arg)
-
- # For testing purposes, we need
- # <...>/lib/plugin/debug/authentication_ldap_sasl_client.so
-- IF(ARG_CLIENT_ONLY)
-- INSTALL_DEBUG_TARGET(${target}
-- DESTINATION ${INSTALL_PLUGINDIR}/debug
-- COMPONENT Test)
-- ELSE()
-- INSTALL_DEBUG_TARGET(${target}
-- DESTINATION ${INSTALL_PLUGINDIR}/debug
-- COMPONENT ${INSTALL_COMPONENT})
-- ENDIF()
-+# IF(ARG_CLIENT_ONLY)
-+# INSTALL_DEBUG_TARGET(${target}
-+# DESTINATION ${INSTALL_PLUGINDIR}/debug
-+# COMPONENT Test)
-+# ELSE()
-+# INSTALL_DEBUG_TARGET(${target}
-+# DESTINATION ${INSTALL_PLUGINDIR}/debug
-+# COMPONENT ${INSTALL_COMPONENT})
-+# ENDIF()
- ENDIF()
- ELSE()
- IF(WITHOUT_${plugin})
diff --git a/databases/mysql267-server/files/patch-cmake_ssl.cmake b/databases/mysql267-server/files/patch-cmake_ssl.cmake
deleted file mode 100644
index 878812ccfed1..000000000000
--- a/databases/mysql267-server/files/patch-cmake_ssl.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
---- cmake/ssl.cmake.orig 2026-07-10 11:18:36 UTC
-+++ cmake/ssl.cmake
-@@ -160,7 +160,7 @@ MACRO(FIND_OPENSSL_VERSION)
- # Encoded as MNNFFPPS: major minor fix patch status
- FILE(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h"
- OPENSSL_VERSION_NUMBER
-- REGEX "^#[ ]*define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*"
-+ REGEX "^#[\t ]*define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*"
- )
- STRING(REGEX REPLACE
- "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9]).*$" "\\1"
-@@ -585,9 +585,10 @@ FUNCTION(MYSQL_CHECK_SSL)
- ENDIF()
-
- # TODO(tdidriks): move to config.h.cmake / my_config.h
-- IF("${OPENSSL_MAJOR_MINOR_FIX_VERSION}" VERSION_GREATER "1.1.0")
-- ADD_DEFINITIONS(-DHAVE_TLSv13)
-- ENDIF()
-+ CHECK_SYMBOL_EXISTS(TLS1_3_VERSION "openssl/tls1.h" HAVE_TLS1_3_VERSION)
-+ IF(HAVE_TLS1_3_VERSION)
-+ #ADD_DEFINITIONS(-DHAVE_TLSv13)
-+ ENDIF()
-
- GET_TARGET_PROPERTY(foo OpenSSL::SSL INTERFACE_INCLUDE_DIRECTORIES)
- MESSAGE(STATUS "OPENSSL_INCLUDE_DIR = ${foo}")
diff --git a/databases/mysql267-server/files/patch-components_group__replication__resource__manager_resource__manager__memory__stats.h b/databases/mysql267-server/files/patch-components_group__replication__resource__manager_resource__manager__memory__stats.h
deleted file mode 100644
index da56b733f308..000000000000
--- a/databases/mysql267-server/files/patch-components_group__replication__resource__manager_resource__manager__memory__stats.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- components/group_replication_resource_manager/resource_manager_memory_stats.h.orig 2026-07-10 11:18:36 UTC
-+++ components/group_replication_resource_manager/resource_manager_memory_stats.h
-@@ -6,6 +6,7 @@
- #define GR_RESOURCE_MANAGER_MEMORY_STATS
-
- #include <cerrno>
-+#include <ctime>
- #include <cstdint>
- #include <cstring>
- #include <string>
diff --git a/databases/mysql267-server/files/patch-extra_abseil_abseil-cpp-20250814.1_absl_time_internal_cctz_src_time__zone__format.cc b/databases/mysql267-server/files/patch-extra_abseil_abseil-cpp-20250814.1_absl_time_internal_cctz_src_time__zone__format.cc
deleted file mode 100644
index 161389e78534..000000000000
--- a/databases/mysql267-server/files/patch-extra_abseil_abseil-cpp-20250814.1_absl_time_internal_cctz_src_time__zone__format.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- extra/abseil/abseil-cpp-20250814.1/absl/time/internal/cctz/src/time_zone_format.cc.orig 2026-07-10 11:18:36 UTC
-+++ extra/abseil/abseil-cpp-20250814.1/absl/time/internal/cctz/src/time_zone_format.cc
-@@ -13,7 +13,7 @@
- // limitations under the License.
-
- #if !defined(HAS_STRPTIME)
--#if !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(__VXWORKS__)
-+#if !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(__VXWORKS__) && !defined(__FreeBSD__)
- #define HAS_STRPTIME 1 // Assume everyone else has strptime().
- #endif
- #endif
-@@ -664,7 +664,7 @@ const char* ParseTM(const char* dp, const char* fmt, s
- // Parses a string into a std::tm using strptime(3).
- const char* ParseTM(const char* dp, const char* fmt, std::tm* tm) {
- if (dp != nullptr) {
-- dp = strptime(dp, fmt, tm);
-+ dp = ::strptime(dp, fmt, tm);
- }
- return dp;
- }
diff --git a/databases/mysql267-server/files/patch-include_my__compare.h b/databases/mysql267-server/files/patch-include_my__compare.h
deleted file mode 100644
index 3f85d7b82acb..000000000000
--- a/databases/mysql267-server/files/patch-include_my__compare.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/my_compare.h.orig 2024-04-10 06:26:28 UTC
-+++ include/my_compare.h
-@@ -50,7 +50,7 @@
- But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and HA_MAX_KEY_LENGTH.
- */
-
--#define HA_MAX_KEY_LENGTH 1000 /* Max length in bytes */
-+#define HA_MAX_KEY_LENGTH 4000 /* Max length in bytes */
- #define HA_MAX_KEY_SEG 16 /* Max segments for key */
-
- #define HA_MAX_POSSIBLE_KEY_BUFF (HA_MAX_KEY_LENGTH + 24 + 6 + 6)
diff --git a/databases/mysql267-server/files/patch-include_my__stacktrace.h b/databases/mysql267-server/files/patch-include_my__stacktrace.h
deleted file mode 100644
index c9435e093fd5..000000000000
--- a/databases/mysql267-server/files/patch-include_my__stacktrace.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/my_stacktrace.h.orig 2024-04-10 06:26:28 UTC
-+++ include/my_stacktrace.h
-@@ -45,7 +45,7 @@
- _WIN32 - Windows
- HAVE_EXT_BACKTRACE - Unixes without backtrace(3)
- */
--#if defined(HAVE_BACKTRACE) || defined(_WIN32) || defined(HAVE_EXT_BACKTRACE)
-+#if (defined(HAVE_BACKTRACE) && (defined(__aarch64__) || defined(__amd64__))) || defined(_WIN32) || defined(HAVE_EXT_BACKTRACE)
- #define HAVE_STACKTRACE 1
- void my_init_stacktrace();
- void my_print_stacktrace(const uchar *stack_bottom, ulong thread_stack);
diff --git a/databases/mysql267-server/files/patch-include_my__thread__os__id.h b/databases/mysql267-server/files/patch-include_my__thread__os__id.h
deleted file mode 100644
index 086e04f85457..000000000000
--- a/databases/mysql267-server/files/patch-include_my__thread__os__id.h
+++ /dev/null
@@ -1,15 +0,0 @@
---- include/my_thread_os_id.h.orig 2024-04-10 06:26:28 UTC
-+++ include/my_thread_os_id.h
-@@ -85,8 +85,12 @@ static inline my_thread_os_id_t my_thread_os_id() {
- return pthread_getthreadid_np();
- #else
- #ifdef HAVE_INTEGER_PTHREAD_SELF
-+# ifdef __DragonFly__
-+ return syscall(SYS_lwp_gettid);
-+# else
- /* Unknown platform, fallback. */
- return pthread_self();
-+# endif
- #else
- /* Feature not available. */
- return 0;
diff --git a/databases/mysql267-server/files/patch-include_myisam.h b/databases/mysql267-server/files/patch-include_myisam.h
deleted file mode 100644
index 540439461c6c..000000000000
--- a/databases/mysql267-server/files/patch-include_myisam.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/myisam.h.orig 2024-04-10 06:26:28 UTC
-+++ include/myisam.h
-@@ -60,7 +60,7 @@
- The following defines can be increased if necessary.
- But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and MI_MAX_KEY_LENGTH.
- */
--#define MI_MAX_KEY_LENGTH 1000 /* Max length in bytes */
-+#define MI_MAX_KEY_LENGTH 4000 /* Max length in bytes */
- #define MI_MAX_KEY_SEG 16 /* Max segments for key */
-
- #define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH + MI_MAX_KEY_SEG * 6 + 8 + 8)
diff --git a/databases/mysql267-server/files/patch-libmysql_CMakeLists.txt b/databases/mysql267-server/files/patch-libmysql_CMakeLists.txt
deleted file mode 100644
index bab8b09a58e0..000000000000
--- a/databases/mysql267-server/files/patch-libmysql_CMakeLists.txt
+++ /dev/null
@@ -1,64 +0,0 @@
---- libmysql/CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ libmysql/CMakeLists.txt
-@@ -208,6 +208,11 @@ ENDIF()
- )
- ENDIF()
-
-+INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake)
-+IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
-+ ADD_COMPILE_FLAGS(${CLIENT_SOURCES} COMPILE_FLAGS "-fPIC")
-+ENDIF()
-+
- #
- # Include protocol tracing infrastructure and the test
- # trace plugin if enabled by build options.
-@@ -308,10 +313,18 @@ ADD_SUBDIRECTORY(authentication_openid_connect_client)
- ADD_SUBDIRECTORY(authentication_openid_connect_client)
-
- # Merge several convenience libraries into one big mysqlclient
-+IF(WITHOUT_CLIENTLIBS)
- MERGE_CONVENIENCE_LIBRARIES(mysqlclient ${LIBS_TO_MERGE}
- COMPONENT Development
- LINK_LIBRARIES ${LIBS_TO_LINK}
-+ SKIP_INSTALL
- )
-+ELSE()
-+MERGE_CONVENIENCE_LIBRARIES(mysqlclient ${LIBS_TO_MERGE}
-+ COMPONENT Development
-+ LINK_LIBRARIES ${LIBS_TO_LINK}
-+ )
-+ENDIF()
-
- # Visual Studio users need debug static library for debug projects
- IF(MSVC)
-@@ -358,6 +371,7 @@ ENDIF()
-
- # Merge several convenience libraries into one big mysqlclient
- # and link them together into shared library.
-+IF(WITHOUT_CLIENTLIBS)
- MERGE_LIBRARIES_SHARED(libmysql ${LIBS_TO_MERGE}
- EXPORTS
- ${CLIENT_API_FUNCTIONS}
-@@ -365,11 +379,21 @@ MERGE_LIBRARIES_SHARED(libmysql ${LIBS_TO_MERGE}
- ${CLIENT_API_NONBLOCKING_FUNCTIONS}
- COMPONENT SharedLibraries
- LINK_LIBRARIES ${LIBS_TO_LINK}
-+ SKIP_INSTALL
-+ )
-+ELSE()
-+MERGE_LIBRARIES_SHARED(libmysql ${LIBS_TO_MERGE}
-+ EXPORTS
-+ ${CLIENT_API_FUNCTIONS}
-+ ${CLIENT_API_FUNCTIONS_UNDOCUMENTED}
-+ ${CLIENT_API_NONBLOCKING_FUNCTIONS}
-+ COMPONENT SharedLibraries
-+ LINK_LIBRARIES ${LIBS_TO_LINK}
- ${UNIX_OUTPUT_NAME}
- ${UNIX_SOVERSION}
- ${UNIX_VERSION}
- )
--
-+ENDIF()
- # Downgrade warning for strncat in my_crypt_genhash.
- IF((WITH_LTO OR CMAKE_COMPILER_FLAG_WITH_LTO) AND MY_COMPILER_IS_GNU)
- TARGET_LINK_OPTIONS(libmysql PRIVATE -Wno-error=stringop-truncation)
diff --git a/databases/mysql267-server/files/patch-libservices_CMakeLists.txt b/databases/mysql267-server/files/patch-libservices_CMakeLists.txt
deleted file mode 100644
index 16968fab53f4..000000000000
--- a/databases/mysql267-server/files/patch-libservices_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
---- libservices/CMakeLists.txt.orig 2024-04-10 06:26:28 UTC
-+++ libservices/CMakeLists.txt
-@@ -48,7 +48,9 @@ ADD_LIBRARY(mysqlservices STATIC ${MYSQLSERVICES_SOURC
- plugin_registry_service.c)
-
- ADD_LIBRARY(mysqlservices STATIC ${MYSQLSERVICES_SOURCES})
-+IF(FALSE)
- IF(INSTALL_STATIC_LIBRARIES)
- INSTALL(TARGETS mysqlservices
- DESTINATION ${INSTALL_LIBDIR} COMPONENT Development)
-+ENDIF()
- ENDIF()
diff --git a/databases/mysql267-server/files/patch-man_CMakeLists.txt b/databases/mysql267-server/files/patch-man_CMakeLists.txt
deleted file mode 100644
index cec7f6645830..000000000000
--- a/databases/mysql267-server/files/patch-man_CMakeLists.txt
+++ /dev/null
@@ -1,69 +0,0 @@
---- man/CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ man/CMakeLists.txt
-@@ -24,13 +24,6 @@ SET(MAN1
- # Copy man pages
- SET(MAN1
- comp_err.1
-- ibd2sdi.1
-- innochecksum.1
-- my_print_defaults.1
-- myisam_ftdump.1
-- myisamchk.1
-- myisamlog.1
-- myisampack.1
- mysql.1
- mysql_config.1
- mysql_config_editor.1
-@@ -40,7 +33,6 @@ SET(MAN1
- mysqlbinlog.1
- mysqlcheck.1
- mysqldump.1
-- mysqldumpslow.1
- mysqlimport.1
- mysqlman.1
- mysqlshow.1
-@@ -48,13 +40,21 @@ SET(MAN1
- perror.1
- )
-
--IF(NOT WITH_SYSTEMD)
-- LIST(APPEND MAN1
-- mysql.server.1
-- mysqld_multi.1
-- mysqld_safe.1
-+SET(MAN1_TOOLS
-+ ibd2sdi.1
-+ innochecksum.1
-+ my_print_defaults.1
-+ myisam_ftdump.1
-+ myisamchk.1
-+ myisamlog.1
-+ myisampack.1
-+ mysql.server.1
-+ mysql_secure_installation.1
-+ mysql_tzinfo_to_sql.1
-+ mysqldumpslow.1
-+ mysqld_multi.1
-+ mysqld_safe.1
- )
--ENDIF()
-
- SET(MAN1_NDB
- ndb_blob_tool.1
-@@ -102,8 +102,14 @@ SET(MAN8_NDB
- ndbmtd.8
- )
-
--INSTALL(FILES ${MAN1} DESTINATION ${INSTALL_MANDIR}/man1 COMPONENT ManPages)
--INSTALL(FILES ${MAN8} DESTINATION ${INSTALL_MANDIR}/man8 COMPONENT ManPages)
-+IF(NOT WITHOUT_CLIENTLIBS)
-+ INSTALL(FILES ${MAN1} DESTINATION ${INSTALL_MANDIR}/man1 COMPONENT ManPages)
-+ENDIF()
-+
-+IF(NOT WITHOUT_SERVER)
-+ INSTALL(FILES ${MAN1_TOOLS} DESTINATION ${INSTALL_MANDIR}/man1 COMPONENT ManPages)
-+ INSTALL(FILES ${MAN8} DESTINATION ${INSTALL_MANDIR}/man8 COMPONENT ManPages)
-+ENDIF()
-
- IF(WITH_ROUTER)
- INSTALL(FILES ${MAN1_ROUTER}
diff --git a/databases/mysql267-server/files/patch-mysys_my__default.cc b/databases/mysql267-server/files/patch-mysys_my__default.cc
deleted file mode 100644
index f1842d8659e2..000000000000
--- a/databases/mysql267-server/files/patch-mysys_my__default.cc
+++ /dev/null
@@ -1,62 +0,0 @@
---- mysys/my_default.cc.orig 2026-07-10 11:18:36 UTC
-+++ mysys/my_default.cc
-@@ -216,7 +216,7 @@ bool no_defaults = false;
-
- /* Which directories are searched for options (and in which order) */
-
--#define MAX_DEFAULT_DIRS 6
-+#define MAX_DEFAULT_DIRS 7
- #define DEFAULT_DIRS_SIZE (MAX_DEFAULT_DIRS + 1) /* Terminate with NULL */
- static const char **default_directories = nullptr;
-
-@@ -967,6 +967,14 @@ static int search_default_file_with_ext(Process_option
- return 1; /* Ignore wrong files */
- }
-
-+ if (strstr(name, "/etc") == name)
-+ {
-+ fprintf(stderr,
-+ "error: Config file %s in invalid location, please move to or merge with /usr/local%s\n",
-+ name,name);
-+ goto err;
-+ }
-+
- while (true) {
- auto fileline = mysql_file_getline(buff, sizeof(buff), fp, is_login_file);
- char *linebuff = fileline.get();
-@@ -1353,7 +1361,8 @@ void my_print_default_files(const char *conf_file) {
- end[(strlen(end) - 1)] = ' ';
- else
- strxmov(end, conf_file, *ext, " ", NullS);
-- fputs(name, stdout);
-+ if (strstr(name, "/etc") != name)
-+ fputs(name, stdout);
- }
- }
- }
-@@ -1690,14 +1699,9 @@ static const char **init_default_directories(MEM_ROOT
-
- #else
-
-- errors += add_directory(alloc, "/etc/", dirs);
-- errors += add_directory(alloc, "/etc/mysql/", dirs);
-+ errors += add_directory(alloc, "/usr/local/etc/", dirs);
-+ errors += add_directory(alloc, "/usr/local/etc/mysql/", dirs);
-
--#if defined(DEFAULT_SYSCONFDIR)
-- if (DEFAULT_SYSCONFDIR[0])
-- errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
--#endif /* DEFAULT_SYSCONFDIR */
--
- #endif
-
- if ((env = getenv("MYSQL_HOME"))) errors += add_directory(alloc, env, dirs);
-@@ -1762,7 +1766,7 @@ int check_file_permissions(const char *file_name, bool
- #if !defined(_WIN32)
- MY_STAT stat_info;
-
-- if (!my_stat(file_name, &stat_info, flags)) return 1;
-+ if (!my_stat(file_name, &stat_info, flags)) return 0;
- /*
- Ignore .mylogin.cnf file if not exclusively readable/writable
- by current user.
diff --git a/databases/mysql267-server/files/patch-mysys_my__kdf.cc b/databases/mysql267-server/files/patch-mysys_my__kdf.cc
deleted file mode 100644
index d7a02f35ec29..000000000000
--- a/databases/mysql267-server/files/patch-mysys_my__kdf.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- mysys/my_kdf.cc.orig 2026-07-10 11:18:36 UTC
-+++ mysys/my_kdf.cc
-@@ -60,7 +60,7 @@ int create_kdf_key(const unsigned char *key, const uns
- std::unique_ptr<Key_derivation_function> kdf_function;
-
- if (kdf_name == "hkdf") {
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
- kdf_function = std::make_unique<Key_hkdf_function>(kdf_options);
- #else
- return 1;
-@@ -75,7 +75,7 @@ int create_kdf_key(const unsigned char *key, const uns
- return kdf_function->derive_key(key, key_length, rkey, rkey_size);
- }
-
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
- Key_hkdf_function::Key_hkdf_function(vector<string> *kdf_options) {
- kdf_options_ = {kdf_options};
- }
diff --git a/databases/mysql267-server/files/patch-plugin_password__validation_validate__password.cc b/databases/mysql267-server/files/patch-plugin_password__validation_validate__password.cc
deleted file mode 100644
index 834bc7100399..000000000000
--- a/databases/mysql267-server/files/patch-plugin_password__validation_validate__password.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugin/password_validation/validate_password.cc.orig 2026-07-10 11:18:36 UTC
-+++ plugin/password_validation/validate_password.cc
-@@ -26,6 +26,8 @@
- #include <mysql/plugin_validate_password.h>
- #include <mysql/service_my_plugin_log.h>
- #include <mysql/service_mysql_string.h>
-+/* solve clash between libc++ bitset::test() and test macro from my_global.h */
-+#undef test
- #include <sys/types.h>
- #include <algorithm> // std::swap
- #include <cstdio>
diff --git a/databases/mysql267-server/files/patch-plugin_x_CMakeLists.txt b/databases/mysql267-server/files/patch-plugin_x_CMakeLists.txt
deleted file mode 100644
index d2e8da9c0728..000000000000
--- a/databases/mysql267-server/files/patch-plugin_x_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugin/x/CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ plugin/x/CMakeLists.txt
-@@ -75,6 +75,8 @@ INCLUDE_DIRECTORIES(
- ${MYSQLX_GENERATE_DIR}
- ${MYSQLX_PROTOCOL_INCLUDE_DIR}
- ${MYSQLX_CLIENT_INCLUDE_DIR}
-+ ${OPENSSL_INCLUDE_DIR}
-+ ${BOOST_INCLUDE_DIR}
- )
-
- # MYSQL_ADD_PLUGIN may have disabled the plugin.
diff --git a/databases/mysql267-server/files/patch-plugin_x_client_authentication_sha256__scramble__generator.cc b/databases/mysql267-server/files/patch-plugin_x_client_authentication_sha256__scramble__generator.cc
deleted file mode 100644
index 7d2b673d8353..000000000000
--- a/databases/mysql267-server/files/patch-plugin_x_client_authentication_sha256__scramble__generator.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugin/x/client/authentication/sha256_scramble_generator.cc.orig 2026-07-10 11:18:36 UTC
-+++ plugin/x/client/authentication/sha256_scramble_generator.cc
-@@ -100,7 +100,7 @@ bool SHA256_digest::retrieve_digest(unsigned char *dig
- return true;
- }
- m_ok = EVP_DigestFinal_ex(md_context, m_digest, nullptr);
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if defined(LIBRESSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L
- EVP_MD_CTX_cleanup(md_context);
- #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
- EVP_MD_CTX_reset(md_context);
diff --git a/databases/mysql267-server/files/patch-plugin_x_configure.cmake b/databases/mysql267-server/files/patch-plugin_x_configure.cmake
deleted file mode 100644
index bf593103b5b1..000000000000
--- a/databases/mysql267-server/files/patch-plugin_x_configure.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
---- plugin/x/configure.cmake.orig 2024-04-10 06:26:28 UTC
-+++ plugin/x/configure.cmake
-@@ -46,6 +46,7 @@ CONFIGURE_FILE(${MYSQLX_PROJECT_DIR}/src/config/mysqlx
- CONFIGURE_FILE(${MYSQLX_PROJECT_DIR}/src/config/mysqlx_version.h.in
- ${MYSQLX_GENERATE_DIR}/mysqlx_version.h )
-
-+IF(FALSE)
- INSTALL(FILES ${MYSQLX_GENERATE_DIR}/mysqlx_error.h
- DESTINATION ${INSTALL_INCLUDEDIR}
- COMPONENT Development)
-@@ -57,3 +58,4 @@ INSTALL(FILES ${MYSQLX_GENERATE_DIR}/mysqlx_version.h
- INSTALL(FILES ${MYSQLX_GENERATE_DIR}/mysqlx_version.h
- DESTINATION ${INSTALL_INCLUDEDIR}
- COMPONENT Development)
-+ENDIF()
diff --git a/databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_impl_kqueue__io__service.h b/databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_impl_kqueue__io__service.h
deleted file mode 100644
index 6414b45c32b0..000000000000
--- a/databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_impl_kqueue__io__service.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- router/src/harness/include/mysql/harness/net_ts/impl/kqueue_io_service.h.orig 2024-04-10 06:26:28 UTC
-+++ router/src/harness/include/mysql/harness/net_ts/impl/kqueue_io_service.h
-@@ -189,8 +189,8 @@ class kqueue_io_service : public IoServiceBase {
- auto secs = std::chrono::duration_cast<std::chrono::seconds>(timeout);
- timeout -= secs;
-
-- ts = {secs.count(),
-- std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
-+ ts = {(time_t)secs.count(),
-+ (long)std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
- .count()};
-
- p_ts = &ts;
diff --git a/databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_internet.h b/databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_internet.h
deleted file mode 100644
index c793fe7b022d..000000000000
--- a/databases/mysql267-server/files/patch-router_src_harness_include_mysql_harness_net__ts_internet.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- router/src/harness/include/mysql/harness/net_ts/internet.h.orig 2024-04-10 06:26:28 UTC
-+++ router/src/harness/include/mysql/harness/net_ts/internet.h
-@@ -45,6 +45,7 @@
- #include <arpa/inet.h> // inet_ntop
- #include <netdb.h> // getaddrinfo
- #include <netinet/in.h> // in_addr_t
-+#include <sys/types.h> // u_int32_t
- #include <netinet/ip6.h> // in6_addr_t
- #include <netinet/tcp.h> // TCP_NODELAY
- #include <sys/ioctl.h> // ioctl
diff --git a/databases/mysql267-server/files/patch-router_src_harness_src_tls__client__context.cc b/databases/mysql267-server/files/patch-router_src_harness_src_tls__client__context.cc
deleted file mode 100644
index c88d099cba1b..000000000000
--- a/databases/mysql267-server/files/patch-router_src_harness_src_tls__client__context.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- router/src/harness/src/tls_client_context.cc.orig 2026-07-10 11:18:36 UTC
-+++ router/src/harness/src/tls_client_context.cc
-@@ -105,7 +105,7 @@ stdx::expected<void, std::error_code> TlsClientContext
- stdx::expected<void, std::error_code> TlsClientContext::cipher_suites(
- const std::string &ciphers) {
- // TLSv1.3 ciphers are controlled via SSL_CTX_set_ciphersuites()
--#if OPENSSL_VERSION_NUMBER >= ROUTER_OPENSSL_VERSION(1, 1, 1)
-+#ifdef TLS1_3_VERSION
- if (1 != SSL_CTX_set_ciphersuites(ssl_ctx_.get(), ciphers.c_str())) {
- return stdx::unexpected(make_tls_error());
- }
diff --git a/databases/mysql267-server/files/patch-router_src_harness_src_tls__context.cc b/databases/mysql267-server/files/patch-router_src_harness_src_tls__context.cc
deleted file mode 100644
index 8a03c53ddbbd..000000000000
--- a/databases/mysql267-server/files/patch-router_src_harness_src_tls__context.cc
+++ /dev/null
@@ -1,44 +0,0 @@
---- router/src/harness/src/tls_context.cc.orig 2024-04-10 06:26:28 UTC
-+++ router/src/harness/src/tls_context.cc
-@@ -277,7 +277,7 @@ static int o11x_version(TlsVersion version) {
- return TLS1_1_VERSION;
- case TlsVersion::TLS_1_2:
- return TLS1_2_VERSION;
--#if OPENSSL_VERSION_NUMBER >= ROUTER_OPENSSL_VERSION(1, 1, 1)
-+#ifdef TLS1_3_VERSION
- case TlsVersion::TLS_1_3:
- return TLS1_3_VERSION;
- #endif
-@@ -308,9 +308,11 @@ stdx::expected<void, std::error_code> TlsContext::vers
- default:
- // unknown, leave all disabled
- [[fallthrough]];
-+#ifdef TLS1_3_VERSION
- case TlsVersion::TLS_1_3:
- opts |= SSL_OP_NO_TLSv1_2;
- [[fallthrough]];
-+#endif
- case TlsVersion::TLS_1_2:
- opts |= SSL_OP_NO_TLSv1_1;
- [[fallthrough]];
-@@ -358,8 +360,10 @@ TlsVersion TlsContext::min_version() const {
- return TlsVersion::TLS_1_1;
- case TLS1_2_VERSION:
- return TlsVersion::TLS_1_2;
-+#ifdef TLS1_3_VERSION
- case TLS1_3_VERSION:
- return TlsVersion::TLS_1_3;
-+#endif
- case 0:
- return TlsVersion::AUTO;
- default:
-@@ -513,7 +517,8 @@ int TlsContext::security_level() const {
- }
-
- int TlsContext::security_level() const {
--#if OPENSSL_VERSION_NUMBER >= ROUTER_OPENSSL_VERSION(1, 1, 0)
-+#if OPENSSL_VERSION_NUMBER >= ROUTER_OPENSSL_VERSION(1, 1, 0) && \
-+ !defined(LIBRESSL_VERSION_NUMBER)
- return SSL_CTX_get_security_level(ssl_ctx_.get());
- #else
- return 0;
diff --git a/databases/mysql267-server/files/patch-router_src_rest__host__cache_src_rest__host__cache__entries.cc b/databases/mysql267-server/files/patch-router_src_rest__host__cache_src_rest__host__cache__entries.cc
deleted file mode 100644
index f195e767f2de..000000000000
--- a/databases/mysql267-server/files/patch-router_src_rest__host__cache_src_rest__host__cache__entries.cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- router/src/rest_host_cache/src/rest_host_cache_entries.cc.orig 2026-07-10 11:18:36 UTC
-+++ router/src/rest_host_cache/src/rest_host_cache_entries.cc
-@@ -63,7 +63,8 @@ bool RestHostCacheEntries::on_handle_request(
- (remaining_ttl > k_zero_seconds) ? remaining_ttl : k_zero_seconds;
- rapidjson::Value object(rapidjson::kObjectType);
-
-- object.AddMember("secondsRemainingTtl", remaining_ttl.count(),
-+ object.AddMember<int64_t>("secondsRemainingTtl",
-+ static_cast<int64_t>(remaining_ttl.count()),
- allocator);
- object.AddMember<uint64_t>("ttl", e.ttl_.count(), allocator);
- object.AddMember<uint64_t>("cacheHits", e.cache_hits_.load(),
diff --git a/databases/mysql267-server/files/patch-scripts_CMakeLists.txt b/databases/mysql267-server/files/patch-scripts_CMakeLists.txt
deleted file mode 100644
index 2b9c9530b694..000000000000
--- a/databases/mysql267-server/files/patch-scripts_CMakeLists.txt
+++ /dev/null
@@ -1,52 +0,0 @@
---- scripts/CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ scripts/CMakeLists.txt
-@@ -421,6 +421,8 @@ MACRO(EXTRACT_LINK_LIBRARIES target var)
- SET(${var} "${${var}}-L${dir} " )
- ENDIF()
- SET(${var} "${${var}}-l${lib} " )
-+ ELSEIF(lib STREQUAL "-pthread")
-+ SET(${var} "${${var}}-pthread " )
- ELSE()
- SET(${var} "${${var}}-l${lib} " )
- ENDIF()
-@@ -494,7 +496,7 @@ ELSE()
- ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE}
- ESCAPE_QUOTES @ONLY)
-
-- IF(INSTALL_PKGCONFIGDIR)
-+ IF(INSTALL_PKGCONFIGDIR AND NOT WITHOUT_CLIENTLIBS)
- MESSAGE(STATUS "INSTALL ${PKGCONFIG_FILE} ${INSTALL_PKGCONFIGDIR}")
- INSTALL(FILES
- ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE}
-@@ -507,23 +509,28 @@ ELSE()
- # mysqld_safe used in mtr even for systemd platforms
- IF(WITH_SYSTEMD)
- SET(BIN_SCRIPTS
-- mysql_config
- mysqldumpslow
- mysqld_safe
- )
- ELSE()
- SET(BIN_SCRIPTS
-- mysql_config
- mysqldumpslow
- mysqld_multi
- mysqld_safe
- )
- ENDIF()
-
-+ IF(NOT WITHOUT_CLIENTLIBS)
-+ SET(BIN_SCRIPTS
-+ ${BIN_SCRIPTS}
-+ mysql_config
-+ )
-+ ENDIF(NOT WITHOUT_CLIENTLIBS)
-+
- FOREACH(file ${BIN_SCRIPTS})
- IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
-- ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY
-+ ${CMAKE_CURRENT_BINARY_DIR}/${file} @ONLY
- )
- ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.pl.in)
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.pl.in
diff --git a/databases/mysql267-server/files/patch-scripts_mysqld__safe.sh b/databases/mysql267-server/files/patch-scripts_mysqld__safe.sh
deleted file mode 100644
index 47bc81e3963b..000000000000
--- a/databases/mysql267-server/files/patch-scripts_mysqld__safe.sh
+++ /dev/null
@@ -1,19 +0,0 @@
---- scripts/mysqld_safe.sh.orig 2022-01-23 11:48:36 UTC
-+++ scripts/mysqld_safe.sh
-@@ -360,7 +360,7 @@ mysqld_ld_preload_text() {
- # running mysqld. See ld.so for details.
- set_malloc_lib() {
- # This list is kept intentionally simple.
-- malloc_dirs="/usr/lib /usr/lib64 /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu"
-+ malloc_dirs="/usr/lib /usr/lib64 /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu /usr/local/lib"
- malloc_lib="$1"
-
- # Allow --malloc-lib='' to override other settings
-@@ -379,6 +379,7 @@ set_malloc_lib() {
- /usr/lib64) ;;
- /usr/lib/i386-linux-gnu) ;;
- /usr/lib/x86_64-linux-gnu) ;;
-+ /usr/local/lib) ;;
- *)
- log_error "--malloc-lib must be located in one of the directories: $malloc_dirs"
- exit 1
diff --git a/databases/mysql267-server/files/patch-sql_auth_sha2__password__common.cc b/databases/mysql267-server/files/patch-sql_auth_sha2__password__common.cc
deleted file mode 100644
index 8f6b01a02519..000000000000
--- a/databases/mysql267-server/files/patch-sql_auth_sha2__password__common.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- sql/auth/sha2_password_common.cc.orig 2026-07-10 11:18:36 UTC
-+++ sql/auth/sha2_password_common.cc
-@@ -103,7 +103,7 @@ bool SHA256_digest::retrieve_digest(unsigned char *dig
- return true;
- }
- m_ok = EVP_DigestFinal_ex(md_context, m_digest, nullptr);
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if defined(LIBRESSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L
- EVP_MD_CTX_cleanup(md_context);
- #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
- EVP_MD_CTX_reset(md_context);
diff --git a/databases/mysql267-server/files/patch-sql_auth_sql__authorization.cc b/databases/mysql267-server/files/patch-sql_auth_sql__authorization.cc
deleted file mode 100644
index b6925b7fde57..000000000000
--- a/databases/mysql267-server/files/patch-sql_auth_sql__authorization.cc
+++ /dev/null
@@ -1,13 +0,0 @@
---- sql/auth/sql_authorization.cc.orig 2026-07-10 11:18:36 UTC
-+++ sql/auth/sql_authorization.cc
-@@ -238,6 +238,10 @@ bool operator==(const Role_id &a, const std::string &b
- return tmp == b;
- }
-
-+bool operator==(const Role_id &a, const LEX_CSTRING &b) {
-+ return a == to_string(b);
-+}
-+
- bool operator==(const std::pair<Role_id, bool> &a, const std::string &b) {
- return a.first == b;
- }
diff --git a/databases/mysql267-server/files/patch-sql_binlog__ostream.cc b/databases/mysql267-server/files/patch-sql_binlog__ostream.cc
deleted file mode 100644
index 1bcf252da064..000000000000
--- a/databases/mysql267-server/files/patch-sql_binlog__ostream.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- sql/binlog_ostream.cc.orig 2024-07-12 19:20:22 UTC
-+++ sql/binlog_ostream.cc
-@@ -240,7 +240,7 @@ bool IO_CACHE_binlog_cache_storage::setup_ciphers_pass
-
- /* Generate password, it is a random string. */
- if (my_rand_buffer(password, sizeof(password))) return true;
-- password_str.append(password, sizeof(password));
-+ password_str.insert(password_str.end(), password, password + sizeof(password));
-
- m_io_cache.m_encryptor->close();
- m_io_cache.m_decryptor->close();
diff --git a/databases/mysql267-server/files/patch-sql_conn__handler_socket__connection.cc b/databases/mysql267-server/files/patch-sql_conn__handler_socket__connection.cc
deleted file mode 100644
index 38341a4c6902..000000000000
--- a/databases/mysql267-server/files/patch-sql_conn__handler_socket__connection.cc
+++ /dev/null
@@ -1,32 +0,0 @@
---- sql/conn_handler/socket_connection.cc.orig 2024-04-10 06:26:28 UTC
-+++ sql/conn_handler/socket_connection.cc
-@@ -961,9 +961,11 @@ bool check_connection_refused_by_tcp_wrapper(MYSQL_SOC
- signal(SIGCHLD, SIG_DFL);
- request_init(&req, RQ_DAEMON, libwrap_name, RQ_FILE,
- mysql_socket_getfd(connect_sock), nullptr);
-- fromhost(&req);
-+ void (*my_fromhost) (void *) = (void (*)(void *)) fromhost;
-+ my_fromhost(&req);
-
-- if (!hosts_access(&req)) {
-+ int (*my_hosts_access) (void *) = (int (*) (void *)) hosts_access;
-+ if (!my_hosts_access(&req)) {
- /*
- This may be stupid but refuse() includes an exit(0)
- which we surely don't want...
-@@ -975,12 +977,13 @@ bool check_connection_refused_by_tcp_wrapper(MYSQL_SOC
- This is unproblematic as TCP-wrapper is unix specific,
- anyway.
- */
-+ char *(*my_eval_client) (void *) = (char *(*) (void *)) eval_client;
- syslog(LOG_AUTH | LOG_WARNING, "refused connect from %s",
-- eval_client(&req));
-+ my_eval_client(&req));
-
- #ifdef HAVE_LIBWRAP_PROTOTYPES
- // Some distros have patched tcpd.h to have proper prototypes
-- if (req.sink) (req.sink)(req.fd);
-+ if (req.sink) ((void (*)(int)) (req.sink))(req.fd);
- #else
- // Some distros have not patched tcpd.h
- if (req.sink) ((void (*)(int))req.sink)(req.fd);
diff --git a/databases/mysql267-server/files/patch-sql_mdl__context__backup.cc b/databases/mysql267-server/files/patch-sql_mdl__context__backup.cc
deleted file mode 100644
index 4cf419d722bc..000000000000
--- a/databases/mysql267-server/files/patch-sql_mdl__context__backup.cc
+++ /dev/null
@@ -1,36 +0,0 @@
---- sql/mdl_context_backup.cc.orig 2024-07-12 19:20:22 UTC
-+++ sql/mdl_context_backup.cc
-@@ -160,7 +160,7 @@ bool MDL_context_backup_manager::create_backup(const M
- DBUG_TRACE;
-
- try {
-- MDL_context_backup_key key_obj(key, keylen);
-+ MDL_context_backup_key key_obj(key, key + keylen);
-
- /*
- Since this method is called as part of THD cleaning up, every XA
-@@ -193,7 +193,7 @@ bool MDL_context_backup_manager::create_backup(MDL_req
-
- bool result = false;
- try {
-- MDL_context_backup_key key_obj(key, keylen);
-+ MDL_context_backup_key key_obj(key, key + keylen);
- /*
- Check for presence a record with specified key in the collection of
- MDL_context_backup elements. It is ok to already have a record with
-@@ -239,7 +239,7 @@ bool MDL_context_backup_manager::restore_backup(MDL_co
-
- MUTEX_LOCK(guard, &m_LOCK_mdl_context_backup);
-
-- auto result = m_backup_map.find(MDL_context_backup_key(key, keylen));
-+ auto result = m_backup_map.find(MDL_context_backup_key(key, key + keylen));
- if (result != m_backup_map.end()) {
- element = result->second.get();
- res = mdl_context->clone_tickets(element->get_context(), MDL_TRANSACTION);
-@@ -252,5 +252,5 @@ void MDL_context_backup_manager::delete_backup(const u
- const size_t keylen) {
- DBUG_TRACE;
- MUTEX_LOCK(guard, &m_LOCK_mdl_context_backup);
-- m_backup_map.erase(MDL_context_backup_key(key, keylen));
-+ m_backup_map.erase(MDL_context_backup_key(key, key + keylen));
- }
diff --git a/databases/mysql267-server/files/patch-sql_mysqld.cc b/databases/mysql267-server/files/patch-sql_mysqld.cc
deleted file mode 100644
index 6da9f0b4249c..000000000000
--- a/databases/mysql267-server/files/patch-sql_mysqld.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- sql/mysqld.cc.orig 2026-07-10 11:18:36 UTC
-+++ sql/mysqld.cc
-@@ -7252,7 +7252,7 @@ static PSI_memory_key key_memory_openssl = PSI_NOT_INS
-
- static PSI_memory_key key_memory_openssl = PSI_NOT_INSTRUMENTED;
-
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- #define FILE_LINE_ARGS
- #else
- #define FILE_LINE_ARGS , const char *, int
diff --git a/databases/mysql267-server/files/patch-sql_rpl__log__encryption.cc b/databases/mysql267-server/files/patch-sql_rpl__log__encryption.cc
deleted file mode 100644
index d6e739009958..000000000000
--- a/databases/mysql267-server/files/patch-sql_rpl__log__encryption.cc
+++ /dev/null
@@ -1,134 +0,0 @@
---- sql/rpl_log_encryption.cc.orig 2024-07-12 19:20:22 UTC
-+++ sql/rpl_log_encryption.cc
-@@ -213,7 +213,7 @@ bool Rpl_encryption::recover_master_key() {
- Rpl_encryption_header::seqno_to_key_id(m_master_key_seqno);
- auto master_key =
- get_key(m_master_key.m_id, Rpl_encryption_header::get_key_type());
-- m_master_key.m_value.assign(master_key.second);
-+ m_master_key.m_value = master_key.second;
- /* No keyring error */
- if (master_key.first == Keyring_status::KEYRING_ERROR_FETCHING) goto err1;
- }
-@@ -290,7 +290,7 @@ bool Rpl_encryption::recover_master_key() {
-
- if (new_master_key.first == Keyring_status::SUCCESS) {
- m_master_key.m_id = new_master_key_id;
-- m_master_key.m_value.assign(new_master_key.second);
-+ m_master_key.m_value = new_master_key.second;
- if (new_master_key_seqno.second > m_master_key_seqno &&
- new_master_key_seqno.second > old_master_key_seqno.second) {
- if (m_master_key_seqno > 0) {
-@@ -380,8 +380,8 @@ std::pair<Rpl_encryption::Keyring_status, Key_string>
- reinterpret_cast<unsigned char *>(std::get<1>(tuple));
- first[0] = ~(first[0]);
- });
-- key_str.append(reinterpret_cast<unsigned char *>(std::get<1>(tuple)),
-- std::get<2>(tuple));
-+ auto *first = reinterpret_cast<unsigned char *>(std::get<1>(tuple));
-+ key_str.insert(key_str.end(), first, first + std::get<2>(tuple));
- my_free(std::get<1>(tuple));
- }
-
-@@ -396,7 +396,7 @@ std::pair<Rpl_encryption::Keyring_status, Key_string>
- if (pair.first == Keyring_status::SUCCESS) {
- DBUG_EXECUTE_IF("corrupt_replication_encryption_key_size",
- { pair.second.resize(key_size / 2); });
-- if (pair.second.length() != key_size)
-+ if (pair.second.size() != key_size)
- pair.first = Keyring_status::UNEXPECTED_KEY_SIZE;
- }
- return pair;
-@@ -743,7 +743,7 @@ Rpl_encryption::get_seqno_from_keyring(std::string key
- auto fetched_key = get_key(key_id, SEQNO_KEY_TYPE, SEQNO_KEY_LENGTH);
- uint32_t seqno = 0;
- if (fetched_key.first == Keyring_status::SUCCESS) {
-- const void *key = fetched_key.second.c_str();
-+ const void *key = fetched_key.second.data();
- memcpy(&seqno, key, sizeof(seqno));
- seqno = le32toh(seqno);
- }
-@@ -948,7 +948,7 @@ bool Rpl_encryption::generate_master_key_on_keyring(ui
-
- /* Store the generated key as the new master key */
- m_master_key.m_id = key_id;
-- m_master_key.m_value.assign(pair.second);
-+ m_master_key.m_value = pair.second;
-
- return false;
- }
-@@ -1051,12 +1051,12 @@ bool Rpl_encryption_header_v1::serialize(Basic_ostream
-
- assert(m_encrypted_password.length() == PASSWORD_FIELD_SIZE);
- *ptr++ = ENCRYPTED_FILE_PASSWORD;
-- memcpy(ptr, m_encrypted_password.data(), m_encrypted_password.length());
-+ memcpy(ptr, m_encrypted_password.data(), m_encrypted_password.size());
- ptr += PASSWORD_FIELD_SIZE;
-
- assert(m_iv.length() == IV_FIELD_SIZE);
- *ptr++ = IV_FOR_FILE_PASSWORD;
-- memcpy(ptr, m_iv.data(), m_iv.length());
-+ memcpy(ptr, m_iv.data(), m_iv.size());
-
- bool res = DBUG_EVALUATE_IF("fail_to_serialize_encryption_header", true,
- ostream->write(header, HEADER_SIZE));
-@@ -1111,13 +1111,13 @@ bool Rpl_encryption_header_v1::deserialize(Basic_istre
- reinterpret_cast<const unsigned char *>(
- reader.ptr(PASSWORD_FIELD_SIZE));
- if (!reader.has_error())
-- m_encrypted_password.assign(password_ptr, PASSWORD_FIELD_SIZE);
-+ m_encrypted_password.assign(password_ptr, password_ptr + PASSWORD_FIELD_SIZE);
- break;
- }
- case IV_FOR_FILE_PASSWORD: {
- const unsigned char *iv_ptr =
- reinterpret_cast<const unsigned char *>(reader.ptr(IV_FIELD_SIZE));
-- if (!reader.has_error()) m_iv.assign(iv_ptr, IV_FIELD_SIZE);
-+ if (!reader.has_error()) m_iv.assign(iv_ptr, iv_ptr + IV_FIELD_SIZE);
- break;
- }
- default:
-@@ -1177,11 +1177,11 @@ Key_string Rpl_encryption_header_v1::decrypt_file_pass
- unsigned char buffer[Aes_ctr::PASSWORD_LENGTH];
-
- if (my_aes_decrypt(m_encrypted_password.data(),
-- m_encrypted_password.length(), buffer,
-+ m_encrypted_password.size(), buffer,
- error_and_key.second.data(),
-- error_and_key.second.length(), my_aes_256_cbc,
-+ error_and_key.second.size(), my_aes_256_cbc,
- m_iv.data(), false) != MY_AES_BAD_DATA)
-- file_password.append(buffer, Aes_ctr::PASSWORD_LENGTH);
-+ file_password.insert(file_password.end(), buffer, buffer + Aes_ctr::PASSWORD_LENGTH);
- }
- }
- #endif
-@@ -1212,16 +1212,16 @@ bool Rpl_encryption_header_v1::encrypt_file_password(K
-
- /* Generate iv, it is a random string. */
- error = my_rand_buffer(iv, Aes_ctr::AES_BLOCK_SIZE);
-- m_iv = Key_string(iv, sizeof(iv));
-+ m_iv = Key_string(iv, iv + sizeof(iv));
-
- /* Encrypt password */
- if (!error) {
-- error = (my_aes_encrypt(password_str.data(), password_str.length(),
-+ error = (my_aes_encrypt(password_str.data(), password_str.size(),
- encrypted_password, master_key.m_value.data(),
-- master_key.m_value.length(), my_aes_256_cbc, iv,
-+ master_key.m_value.size(), my_aes_256_cbc, iv,
- false) == MY_AES_BAD_DATA);
- m_encrypted_password =
-- Key_string(encrypted_password, sizeof(encrypted_password));
-+ Key_string(encrypted_password, encrypted_password + sizeof(encrypted_password));
- }
-
- return error;
-@@ -1237,7 +1237,7 @@ Key_string Rpl_encryption_header_v1::generate_new_file
- /* Generate password, it is a random string. */
- error = my_rand_buffer(password, sizeof(password));
- if (!error) {
-- password_str.append(password, sizeof(password));
-+ password_str.insert(password_str.end(), password, password + sizeof(password));
- }
-
- if (error || encrypt_file_password(password_str) ||
diff --git a/databases/mysql267-server/files/patch-sql_server__component_CMakeLists.txt b/databases/mysql267-server/files/patch-sql_server__component_CMakeLists.txt
deleted file mode 100644
index 8b49bcb218f4..000000000000
--- a/databases/mysql267-server/files/patch-sql_server__component_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
---- sql/server_component/CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ sql/server_component/CMakeLists.txt
-@@ -100,6 +100,9 @@ SET(MYSQL_SERVER_COMPONENT_SOURCES
- mysql_lock_free_hash_imp.cc
- )
-
-+SET_SOURCE_FILES_PROPERTIES(mysql_json_encode_imp.cc
-+ PROPERTIES COMPILE_FLAGS "-include stdio.h")
-+
- # This static library is used to build mysqld binary and in some unit test cases
- ADD_LIBRARY(mysql_server_component_services STATIC
- ${MYSQL_SERVER_COMPONENT_SOURCES})
diff --git a/databases/mysql267-server/files/patch-sql_server__component_mysql__file__imp.cc b/databases/mysql267-server/files/patch-sql_server__component_mysql__file__imp.cc
deleted file mode 100644
index 4a513c2209e0..000000000000
--- a/databases/mysql267-server/files/patch-sql_server__component_mysql__file__imp.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- sql/server_component/mysql_file_imp.cc.orig 2026-07-10 11:18:36 UTC
-+++ sql/server_component/mysql_file_imp.cc
-@@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
- #include "sql/server_component/mysql_file_imp.h"
-
- #include <fcntl.h>
-+#include <sys/stat.h>
- #include <mysql/components/service_implementation.h>
- #include "my_io.h"
- #include "my_sys.h"
diff --git a/databases/mysql267-server/files/patch-sql_server__component_mysql__json__encode__imp.cc b/databases/mysql267-server/files/patch-sql_server__component_mysql__json__encode__imp.cc
deleted file mode 100644
index 910b54a7215c..000000000000
--- a/databases/mysql267-server/files/patch-sql_server__component_mysql__json__encode__imp.cc
+++ /dev/null
@@ -1,19 +0,0 @@
---- sql/server_component/mysql_json_encode_imp.cc.orig 2026-07-10 11:18:36 UTC
-+++ sql/server_component/mysql_json_encode_imp.cc
-@@ -22,6 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-
- #include "mysql_json_encode_imp.h"
-+#include <cstdio>
- #include "my_inttypes.h"
- #include "mysql/strings/m_ctype.h"
-
-@@ -116,7 +117,7 @@ DEFINE_METHOD(const unsigned char *, mysql_json_encode
- /*
- Control characters must be escaped in JSON.
- */
-- int r = sprintf(reinterpret_cast<char *>(dst), "\\u%04x",
-+ int r = std::sprintf(reinterpret_cast<char *>(dst), "\\u%04x",
- static_cast<unsigned char>(wc));
- dst += r;
- } else if (wc < 0x80) {
diff --git a/databases/mysql267-server/files/patch-sql_ssl__init__callback.cc b/databases/mysql267-server/files/patch-sql_ssl__init__callback.cc
deleted file mode 100644
index 85cc416c3d76..000000000000
--- a/databases/mysql267-server/files/patch-sql_ssl__init__callback.cc
+++ /dev/null
@@ -1,36 +0,0 @@
---- sql/ssl_init_callback.cc.orig 2026-07-10 11:18:36 UTC
-+++ sql/ssl_init_callback.cc
-@@ -420,14 +420,14 @@ static Sys_var_charptr Sys_tls_version(
-
- static Sys_var_charptr Sys_tls_version(
- "tls_version",
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- "TLS version, permitted values are TLSv1.2, TLSv1.3",
- #else
- "TLS version, permitted values are TLSv1.2",
- #endif
- PERSIST_AS_READONLY GLOBAL_VAR(opt_tls_version),
- CMD_LINE(REQUIRED_ARG, OPT_TLS_VERSION), IN_FS_CHARSET,
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- "TLSv1.2,TLSv1.3",
- #else
- "TLSv1.2",
-@@ -548,14 +548,14 @@ static Sys_var_charptr Sys_admin_tls_version(
-
- static Sys_var_charptr Sys_admin_tls_version(
- "admin_tls_version",
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- "TLS version for --admin-port, permitted values are TLSv1.2, TLSv1.3",
- #else
- "TLS version for --admin-port, permitted values are TLSv1.2",
- #endif
- PERSIST_AS_READONLY GLOBAL_VAR(opt_admin_tls_version),
- CMD_LINE(REQUIRED_ARG, OPT_ADMIN_TLS_VERSION), IN_FS_CHARSET,
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- "TLSv1.2,TLSv1.3",
- #else
- "TLSv1.2",
diff --git a/databases/mysql267-server/files/patch-sql_sys__vars.cc b/databases/mysql267-server/files/patch-sql_sys__vars.cc
deleted file mode 100644
index c3dc5947ae81..000000000000
--- a/databases/mysql267-server/files/patch-sql_sys__vars.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- sql/sys_vars.cc.orig 2026-07-10 11:18:36 UTC
-+++ sql/sys_vars.cc
-@@ -2062,7 +2062,7 @@ static Sys_var_ulong Sys_connect_timeout(
- "The number of seconds the mysqld server is waiting for a connect "
- "packet before responding with 'Bad handshake'",
- GLOBAL_VAR(connect_timeout), CMD_LINE(REQUIRED_ARG),
-- VALID_RANGE(2, LONG_TIMEOUT), DEFAULT(CONNECT_TIMEOUT), BLOCK_SIZE(1));
-+ VALID_RANGE(2, INT_MAX32 / 1000), DEFAULT(CONNECT_TIMEOUT), BLOCK_SIZE(1));
-
- static Sys_var_ulong Sys_information_schema_stats_expiry(
- "information_schema_stats_expiry",
-@@ -3103,7 +3103,7 @@ static Sys_var_ulong Sys_net_read_timeout(
- "Number of seconds to wait for more data from a connection before "
- "aborting the read",
- SESSION_VAR(net_read_timeout), CMD_LINE(REQUIRED_ARG),
-- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1),
-+ VALID_RANGE(1, INT_MAX32 / 1000), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1),
- NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(nullptr),
- ON_UPDATE(fix_net_read_timeout));
-
-@@ -3124,7 +3124,7 @@ static Sys_var_ulong Sys_net_write_timeout(
- "Number of seconds to wait for a block to be written to a connection "
- "before aborting the write",
- SESSION_VAR(net_write_timeout), CMD_LINE(REQUIRED_ARG),
-- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1),
-+ VALID_RANGE(1, INT_MAX32 / 1000), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1),
- NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(nullptr),
- ON_UPDATE(fix_net_write_timeout));
-
diff --git a/databases/mysql267-server/files/patch-storage_innobase_include_srv0mon.h b/databases/mysql267-server/files/patch-storage_innobase_include_srv0mon.h
deleted file mode 100644
index a0332938fe51..000000000000
--- a/databases/mysql267-server/files/patch-storage_innobase_include_srv0mon.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- storage/innobase/include/srv0mon.h.orig 2026-07-10 11:18:36 UTC
-+++ storage/innobase/include/srv0mon.h
-@@ -41,6 +41,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
- /* Required for FreeBSD so that INT64_MAX is defined. */
- #define __STDC_LIMIT_MACROS
- #endif /* __STDC_LIMIT_MACROS */
-+#ifdef __DragonFly__
-+/* The hack above doen't work for dragonfly, stdint.h already imported */
-+#include <machine/int_limits.h>
-+#endif
-
- #include <stdint.h>
- #include <bitset>
diff --git a/databases/mysql267-server/files/patch-storage_innobase_include_ut0crc32.h b/databases/mysql267-server/files/patch-storage_innobase_include_ut0crc32.h
deleted file mode 100644
index dacad40a8934..000000000000
--- a/databases/mysql267-server/files/patch-storage_innobase_include_ut0crc32.h
+++ /dev/null
@@ -1,21 +0,0 @@
---- storage/innobase/include/ut0crc32.h.orig 2024-04-10 06:26:28 UTC
-+++ storage/innobase/include/ut0crc32.h
-@@ -133,7 +133,9 @@ CRC32_DEFAULT
- #endif /* CRC32_ARM64 */
-
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __FreeBSD__
- #include <asm/hwcap.h>
-+#endif /* __FreeBSD__ */
- #include <sys/auxv.h>
- #endif /* CRC32_ARM64_DEFAULT */
-
-@@ -185,7 +187,7 @@ extern bool ut_poly_mul_cpu_enabled;
- @param[in] data 8 bytes data to be processed
- @return updated CRC32 value */
- #ifdef CRC32_x86_64
--MY_ATTRIBUTE((target("sse4.2")))
-+MY_ATTRIBUTE((target("crc32")))
- #elif defined(CRC32_ARM64_DEFAULT)
- MY_ATTRIBUTE((target("+crc")))
- #endif /* CRC32_x86_64 */
diff --git a/databases/mysql267-server/files/patch-storage_innobase_ut_crc32.cc b/databases/mysql267-server/files/patch-storage_innobase_ut_crc32.cc
deleted file mode 100644
index d20af5744859..000000000000
--- a/databases/mysql267-server/files/patch-storage_innobase_ut_crc32.cc
+++ /dev/null
@@ -1,151 +0,0 @@
---- storage/innobase/ut/crc32.cc.orig 2024-04-10 06:26:28 UTC
-+++ storage/innobase/ut/crc32.cc
-@@ -333,8 +333,25 @@ bool can_use_poly_mul() { return true; }
- #endif /* CRC32_ARM64_APPLE */
-
- #ifdef CRC32_ARM64_DEFAULT
-+#ifdef __FreeBSD__
-+bool can_use_crc32() {
-+ unsigned long capabilities;
-+
-+ if (elf_aux_info(AT_HWCAP, &capabilities, sizeof(unsigned long)))
-+ return false;
-+ return capabilities & HWCAP_CRC32;
-+}
-+bool can_use_poly_mul() {
-+ unsigned long capabilities;
-+
-+ if (elf_aux_info(AT_HWCAP, &capabilities, sizeof(unsigned long)))
-+ return false;
-+ return capabilities & HWCAP_PMULL;
-+}
-+#else
- bool can_use_crc32() { return getauxval(AT_HWCAP) & HWCAP_CRC32; }
- bool can_use_poly_mul() { return getauxval(AT_HWCAP) & HWCAP_PMULL; }
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
-
- /** A helper template to statically unroll a loop with a fixed number of
-@@ -423,19 +440,19 @@ struct crc32_impl {
- };
-
- #ifdef CRC32_x86_64
--MY_ATTRIBUTE((target("sse4.2")))
-+MY_ATTRIBUTE((target("crc32")))
- uint32_t crc32_impl::update(uint32_t crc, unsigned char data) {
- return _mm_crc32_u8(crc, data);
- }
--MY_ATTRIBUTE((target("sse4.2")))
-+MY_ATTRIBUTE((target("crc32")))
- uint32_t crc32_impl::update(uint32_t crc, uint16_t data) {
- return _mm_crc32_u16(crc, data);
- }
--MY_ATTRIBUTE((target("sse4.2")))
-+MY_ATTRIBUTE((target("crc32")))
- uint32_t crc32_impl::update(uint32_t crc, uint32_t data) {
- return _mm_crc32_u32(crc, data);
- }
--MY_ATTRIBUTE((target("sse4.2")))
-+MY_ATTRIBUTE((target("crc32")))
- uint64_t crc32_impl::update(uint64_t crc, uint64_t data) {
- return _mm_crc32_u64(crc, data);
- }
-@@ -443,25 +460,39 @@ uint64_t crc32_impl::update(uint64_t crc, uint64_t dat
-
- #ifdef CRC32_ARM64
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __clang__
- MY_ATTRIBUTE((target("+crc")))
-+#else
-+MY_ATTRIBUTE((target("crc")))
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
- uint32_t crc32_impl::update(uint32_t crc, unsigned char data) {
- return __crc32cb(crc, data);
- }
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __clang__
- MY_ATTRIBUTE((target("+crc")))
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
- uint32_t crc32_impl::update(uint32_t crc, uint16_t data) {
- return __crc32ch(crc, data);
- }
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __clang__
- MY_ATTRIBUTE((target("+crc")))
-+#else
-+MY_ATTRIBUTE((target("crc")))
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
- uint32_t crc32_impl::update(uint32_t crc, uint32_t data) {
- return __crc32cw(crc, data);
- }
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __clang__
- MY_ATTRIBUTE((target("+crc")))
-+#else
-+MY_ATTRIBUTE((target("crc")))
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
- uint64_t crc32_impl::update(uint64_t crc, uint64_t data) {
- return (uint64_t)__crc32cd((uint32_t)crc, data);
-@@ -478,7 +509,7 @@ template <uint32_t w>
- };
- #ifdef CRC32_x86_64
- template <uint32_t w>
--MY_ATTRIBUTE((target("sse4.2,pclmul")))
-+MY_ATTRIBUTE((target("crc32,pclmul")))
- uint64_t use_pclmul::polynomial_mul_rev(uint32_t rev_u) {
- constexpr uint64_t flipped_w = flip_at_32(w);
- return _mm_cvtsi128_si64(_mm_clmulepi64_si128(
-@@ -508,7 +539,11 @@ template <uint32_t w>
- }
- template <uint32_t w>
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __clang__
- MY_ATTRIBUTE((target("+crypto")))
-+#else
-+MY_ATTRIBUTE((target("crypto")))
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
- uint64_t use_pclmul::polynomial_mul_rev(uint32_t rev_u) {
- constexpr uint64_t flipped_w = flip_at_32(w);
-@@ -745,13 +780,17 @@ It's non-static so it can be unit-tested.
- @param[in] len data length
- @return CRC-32C (polynomial 0x11EDC6F41) */
- #ifdef CRC32_x86_64_DEFAULT
--MY_ATTRIBUTE((target("sse4.2,pclmul"), flatten))
-+MY_ATTRIBUTE((target("crc32,pclmul"), flatten))
- #endif /* CRC32_x86_64_DEFAULT */
- #ifdef CRC32_ARM64_APPLE
- MY_ATTRIBUTE((flatten))
- #endif /* CRC32_ARM64_APPLE */
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __clang__
- MY_ATTRIBUTE((target("+crc+crypto"), flatten))
-+#else
-+MY_ATTRIBUTE((target("crc,crypto")))
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
- uint32_t crc32_using_pclmul(const byte *data, size_t len) {
- return crc32<use_pclmul>(0, data, len);
-@@ -765,13 +804,17 @@ It's non-static so it can be unit-tested.
- @param[in] len data length
- @return CRC-32C (polynomial 0x11EDC6F41) */
- #ifdef CRC32_x86_64_DEFAULT
--MY_ATTRIBUTE((target("sse4.2"), flatten))
-+MY_ATTRIBUTE((target("crc32"), flatten))
- #endif /* CRC32_x86_64_DEFAULT */
- #ifdef CRC32_ARM64_APPLE
- MY_ATTRIBUTE((flatten))
- #endif /* CRC32_ARM64_APPLE */
- #ifdef CRC32_ARM64_DEFAULT
-+#ifndef __clang__
- MY_ATTRIBUTE((target("+crc"), flatten))
-+#else
-+MY_ATTRIBUTE((target("crc")))
-+#endif
- #endif /* CRC32_ARM64_DEFAULT */
- uint32_t crc32_using_unrolled_loop_poly_mul(const byte *data, size_t len) {
- return crc32<use_unrolled_loop_poly_mul>(0, data, len);
diff --git a/databases/mysql267-server/files/patch-storage_myisam_mi__dynrec.cc b/databases/mysql267-server/files/patch-storage_myisam_mi__dynrec.cc
deleted file mode 100644
index b9d73f50435e..000000000000
--- a/databases/mysql267-server/files/patch-storage_myisam_mi__dynrec.cc
+++ /dev/null
@@ -1,22 +0,0 @@
---- storage/myisam/mi_dynrec.cc.orig 2024-04-10 06:26:28 UTC
-+++ storage/myisam/mi_dynrec.cc
-@@ -86,17 +86,12 @@ bool mi_dynmap_file(MI_INFO *info, my_off_t size) {
- return true;
- }
- /*
-- I wonder if it is good to use MAP_NORESERVE. From the Linux man page:
-- MAP_NORESERVE
-- Do not reserve swap space for this mapping. When swap space is
-- reserved, one has the guarantee that it is possible to modify the
-- mapping. When swap space is not reserved one might get SIGSEGV
-- upon a write if no physical memory is available.
-+ MAP_NORESERVE is unimplemented in FreeBSD
- */
- info->s->file_map = (uchar *)my_mmap(
- nullptr, (size_t)size,
- info->s->mode == O_RDONLY ? PROT_READ : PROT_READ | PROT_WRITE,
-- MAP_SHARED | MAP_NORESERVE, info->dfile, 0L);
-+ MAP_SHARED, info->dfile, 0L);
- if (info->s->file_map == (uchar *)MAP_FAILED) {
- info->s->file_map = nullptr;
- return true;
diff --git a/databases/mysql267-server/files/patch-storage_ndb_include_mgmapi_mgmapi.h b/databases/mysql267-server/files/patch-storage_ndb_include_mgmapi_mgmapi.h
deleted file mode 100644
index c11aa44c0236..000000000000
--- a/databases/mysql267-server/files/patch-storage_ndb_include_mgmapi_mgmapi.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- storage/ndb/include/mgmapi/mgmapi.h.orig 2026-10-12 18:51:03 UTC
-+++ storage/ndb/include/mgmapi/mgmapi.h
-@@ -168,6 +168,7 @@
-
- #include <ndb_types.h>
- #include <stdio.h>
-+#include <time.h>
- #include "mgmapi_config_parameters.h"
- #include "ndb_logevent.h"
-
diff --git a/databases/mysql267-server/files/patch-support-files_CMakeLists.txt b/databases/mysql267-server/files/patch-support-files_CMakeLists.txt
deleted file mode 100644
index 1ce8c74a9680..000000000000
--- a/databases/mysql267-server/files/patch-support-files_CMakeLists.txt
+++ /dev/null
@@ -1,39 +0,0 @@
---- support-files/CMakeLists.txt.orig 2024-04-10 06:26:28 UTC
-+++ support-files/CMakeLists.txt
-@@ -25,8 +25,9 @@ ENDIF()
- RETURN()
- ENDIF()
-
--INSTALL(FILES mysql.m4
-- DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
-+IF(NOT WITHOUT_CLIENTLIBS)
-+ INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
-+ENDIF(NOT WITHOUT_CLIENTLIBS)
-
- SET(localstatedir "${MYSQL_DATADIR}")
-
-@@ -44,7 +45,7 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql-log-r
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql-log-rotate.in
- ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate @ONLY)
-
--IF(NOT WITH_SYSTEMD)
-+IF(NOT WITHOUT_SERVER)
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql.server.sh
- ${CMAKE_CURRENT_BINARY_DIR}/mysql.server @ONLY
- )
-@@ -60,6 +61,7 @@ ENDIF()
- )
- ENDIF()
-
-+IF(NOT WITHOUT_SERVER)
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate
- COMPONENT Server_Scripts
- DESTINATION ${INSTALL_SUPPORTFILESDIR}
-@@ -67,6 +69,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-ro
- OWNER_READ OWNER_WRITE
- GROUP_READ WORLD_READ
- )
-+ENDIF()
-
- IF(WITH_ROUTER)
- IF(NOT WITH_SYSTEMD)
diff --git a/databases/mysql267-server/files/patch-unittest_gunit_stream__cipher-t.cc b/databases/mysql267-server/files/patch-unittest_gunit_stream__cipher-t.cc
deleted file mode 100644
index 0f182b2ae151..000000000000
--- a/databases/mysql267-server/files/patch-unittest_gunit_stream__cipher-t.cc
+++ /dev/null
@@ -1,15 +0,0 @@
---- unittest/gunit/stream_cipher-t.cc.orig 2024-07-12 19:20:22 UTC
-+++ unittest/gunit/stream_cipher-t.cc
-@@ -251,10 +251,10 @@ void SetKeyStr(Key_string &key_str, const unsigned cha
- template <typename T>
- void SetKeyStr(Key_string &key_str, const unsigned char *key) {
- if (key) {
-- key_str.assign(key, T::PASSWORD_LENGTH);
-+ key_str.assign(key, key + T::PASSWORD_LENGTH);
- } else {
- const unsigned char new_key[T::PASSWORD_LENGTH]{0};
-- key_str.assign(new_key, T::PASSWORD_LENGTH);
-+ key_str.assign(new_key, new_key + T::PASSWORD_LENGTH);
- }
- }
-
diff --git a/databases/mysql267-server/files/patch-utilities_CMakeLists.txt b/databases/mysql267-server/files/patch-utilities_CMakeLists.txt
deleted file mode 100644
index 30805886eef2..000000000000
--- a/databases/mysql267-server/files/patch-utilities_CMakeLists.txt
+++ /dev/null
@@ -1,68 +0,0 @@
---- utilities/CMakeLists.txt.orig 2026-07-10 11:18:36 UTC
-+++ utilities/CMakeLists.txt
-@@ -30,13 +30,19 @@ ENDIF()
- DISABLE_DOCUMENTATION_WARNINGS()
- ENDIF()
-
--IF(NOT CMAKE_CROSSCOMPILING)
-+IF(WITHOUT_CLIENTLIBS)
- MYSQL_ADD_EXECUTABLE(comp_err
- comp_err.cc
- COMPONENT Test
- LINK_LIBRARIES mysys
-+ SKIP_INSTALL)
-+ELSE(WITHOUT_CLIENTLIBS)
-+ MYSQL_ADD_EXECUTABLE(comp_err
-+ comp_err.cc
-+ COMPONENT Test
-+ LINK_LIBRARIES mysys
- )
--ENDIF()
-+ENDIF(WITHOUT_CLIENTLIBS)
-
- MYSQL_ADD_EXECUTABLE(comp_client_err
- comp_client_err.cc
-@@ -126,10 +132,35 @@ MYSQL_ADD_EXECUTABLE(static_thread_local_test
- EXCLUDE_FROM_ALL
- )
-
-+IF(WITHOUT_CLIENTLIBS)
- MYSQL_ADD_EXECUTABLE(my_print_defaults
- my_print_defaults.cc
- COMPONENT Server
- LINK_LIBRARIES mysys
-+ SKIP_INSTALL )
-+MYSQL_ADD_EXECUTABLE(perror
-+ perror.cc
-+ COMPONENT Server
-+ DEPENDENCIES GenError
-+ LINK_LIBRARIES mysys
-+ SKIP_INSTALL )
-+ENDIF(WITHOUT_CLIENTLIBS)
-+
-+IF(WITHOUT_CLIENTLIBS)
-+IF(BUILD_BUNDLED_LZ4)
-+ MYSQL_ADD_EXECUTABLE(lz4_decompress
-+ lz4_decompress.cc
-+ COMPONENT Server
-+ LINK_LIBRARIES ${LZ4_LIBRARY} mysys
-+ SKIP_INSTALL )
-+ENDIF()
-+ENDIF(WITHOUT_CLIENTLIBS)
-+
-+IF(NOT WITHOUT_CLIENTLIBS)
-+MYSQL_ADD_EXECUTABLE(my_print_defaults
-+ my_print_defaults.cc
-+ COMPONENT Server
-+ LINK_LIBRARIES mysys
- )
- MYSQL_ADD_EXECUTABLE(perror
- perror.cc
-@@ -137,6 +168,7 @@ MYSQL_ADD_EXECUTABLE(perror
- DEPENDENCIES GenError
- LINK_LIBRARIES mysys
- )
-+ENDIF()
-
- # All targets below belong to COMPONENT Server and depend on InnoDB.
- IF(WITHOUT_SERVER)
diff --git a/databases/mysql267-server/files/patch-vio_viossl.cc b/databases/mysql267-server/files/patch-vio_viossl.cc
deleted file mode 100644
index a2d2df597165..000000000000
--- a/databases/mysql267-server/files/patch-vio_viossl.cc
+++ /dev/null
@@ -1,30 +0,0 @@
---- vio/viossl.cc.orig 2026-07-10 11:18:36 UTC
-+++ vio/viossl.cc
-@@ -59,7 +59,8 @@
- BIO_set_callback_ex was added in openSSL 1.1.1
- For older openSSL, use the deprecated BIO_set_callback.
- */
--#if OPENSSL_VERSION_NUMBER >= 0x10101000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && \
-+ !defined(LIBRESSL_VERSION_NUMBER)
- #define HAVE_BIO_SET_CALLBACK_EX
- #endif
-
-@@ -737,7 +738,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, l
- #if !defined(NDEBUG)
- {
- STACK_OF(SSL_COMP) *ssl_comp_methods = nullptr;
-- ssl_comp_methods = SSL_COMP_get_compression_methods();
-+ ssl_comp_methods = (STACK_OF(SSL_COMP) *)SSL_COMP_get_compression_methods();
- n = sk_SSL_COMP_num(ssl_comp_methods);
- DBUG_PRINT("info", ("Available compression methods:\n"));
- if (n == 0)
-@@ -745,7 +746,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, l
- else
- for (j = 0; j < n; j++) {
- SSL_COMP *c = sk_SSL_COMP_value(ssl_comp_methods, j);
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- DBUG_PRINT("info", (" %d: %s\n", c->id, c->name));
- #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
- DBUG_PRINT("info",
diff --git a/databases/mysql267-server/files/patch-vio_viosslfactories.cc b/databases/mysql267-server/files/patch-vio_viosslfactories.cc
deleted file mode 100644
index 78be4a663cb4..000000000000
--- a/databases/mysql267-server/files/patch-vio_viosslfactories.cc
+++ /dev/null
@@ -1,46 +0,0 @@
---- vio/viosslfactories.cc.orig 2026-07-10 11:18:36 UTC
-+++ vio/viosslfactories.cc
-@@ -56,6 +56,7 @@
- #include <tls_ciphers.h>
-
- #include "my_openssl_fips.h"
-+#include "openssl/crypto.h"
- #define TLS_VERSION_OPTION_SIZE 256
-
- static bool ssl_initialized = false;
-@@ -384,7 +385,7 @@ long process_tls_version(const char *tls_version) {
- const char *separator = ",";
- char *token, *lasts = nullptr;
-
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- const char *tls_version_name_list[] = {"TLSv1.2", "TLSv1.3"};
- const char ctx_flag_default[] = "TLSv1.2,TLSv1.3";
- const long tls_ctx_list[] = {SSL_OP_NO_TLSv1_2, SSL_OP_NO_TLSv1_3};
-@@ -457,7 +458,7 @@ static struct st_VioSSLFd *new_VioSSLFd(
- ssl_ctx_options = (ssl_ctx_options | ssl_ctx_flags) &
- (SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 |
- SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- | SSL_OP_NO_TLSv1_3
- #endif /* HAVE_TLSv13 */
- | SSL_OP_NO_TICKET);
-@@ -475,7 +476,7 @@ static struct st_VioSSLFd *new_VioSSLFd(
- ssl_fd->tls_kex = nullptr;
-
- if (!(ssl_fd->ssl_context = SSL_CTX_new(is_client ?
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- TLS_client_method()
- : TLS_server_method()
- #else /* HAVE_TLSv13 */
-@@ -502,7 +503,7 @@ static struct st_VioSSLFd *new_VioSSLFd(
- }
- }
-
--#ifdef HAVE_TLSv13
-+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER)
- /*
- Set OpenSSL TLS v1.3 ciphersuites.
- Note that an empty list is permissible.
diff --git a/databases/mysql267-server/files/pkg-message.in b/databases/mysql267-server/files/pkg-message.in
deleted file mode 100644
index 7232bc33d2a9..000000000000
--- a/databases/mysql267-server/files/pkg-message.in
+++ /dev/null
@@ -1,52 +0,0 @@
-[
-{ type: install
- message: <<EOM
-There is no initial password for first time use of MySQL.
-Keep in mind to reset it to a secure password.
-
-MySQL 9.7 has a default %%ETCDIR%%/my.cnf,
-remember to replace it with your own
-or set `mysql_optfile="$YOUR_CNF_FILE"` in rc.conf.
-
-MySQL Router is part of this package. It is disabled by default. To use it:
-
- cp %%PREFIX%%/etc/mysqlrouter/mysqlrouter.conf.sample \
- %%PREFIX%%/etc/mysqlrouter/mysqlrouter.conf
- sysrc mysqlrouter_enable=YES
- service mysqlrouter start
-
-The router runs as the user "mysqlrouter" and logs to
-/var/log/mysqlrouter/mysqlrouter.log. Do not add a "pid_file" or a "user"
-entry to mysqlrouter.conf, the rc script takes care of both.
-
-When creating a configuration for an InnoDB cluster, run
-mysqlrouter_bootstrap --user=mysqlrouter, so that the generated
-files below /var/db/mysqlrouter belong to that account.
-
-If the router has to serve many connections, raise "openfiles" for its login
-class in /etc/login.conf and point mysqlrouter_login_class in rc.conf at it,
-upstream uses 10000.
-EOM
-}
-{ type: upgrade
- message: <<EOM
-The MySQL server performs all upgrade tasks itself at startup.
-The mysql_upgrade utility does not exist anymore in MySQL 9.x.
-
-This version adds an rc script, a configuration sample and the system user
-"mysqlrouter" for MySQL Router. Nothing is enabled automatically.
-
-If you already run MySQL Router yourself, note:
-
-- An own %%PREFIX%%/etc/rc.d/mysqlrouter was renamed to mysqlrouter.pkgsave
- by pkg and is not used anymore.
-- An existing /var/log/mysqlrouter, /var/run/mysqlrouter or
- /var/db/mysqlrouter is left untouched, ownership and permissions are not
- changed. The rc script only creates the directories when they are
- missing. If your router runs under a different account, set
- mysqlrouter_user and mysqlrouter_group in rc.conf.
-- %%PREFIX%%/etc/logrotate.d/mysqlrouter works from now on, its
- "create 600 mysqlrouter mysqlrouter" no longer points at a missing user.
-EOM
-}
-]
diff --git a/databases/mysql267-server/pkg-descr b/databases/mysql267-server/pkg-descr
deleted file mode 100644
index 2d1842c56336..000000000000
--- a/databases/mysql267-server/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-MySQL is a very fast, multi-threaded, multi-user and robust SQL
-(Structured Query Language) database server. MySQL Server is intended for
-mission-critical, heavy-load production systems as well as for embedding
-into mass-deployed software
diff --git a/databases/mysql267-server/pkg-plist b/databases/mysql267-server/pkg-plist
deleted file mode 100644
index e0095f491ecc..000000000000
--- a/databases/mysql267-server/pkg-plist
+++ /dev/null
@@ -1,327 +0,0 @@
-bin/ibd2sdi
-bin/innochecksum
-bin/myisam_ftdump
-bin/myisamchk
-bin/myisamlog
-bin/myisampack
-bin/mysql_client_test
-bin/mysql_keyring_encryption_test
-bin/mysql_test_event_tracking
-bin/mysql_tzinfo_to_sql
-bin/mysqld_multi
-bin/mysqld_safe
-bin/mysqldumpslow
-bin/mysqlrouter
-bin/mysqlrouter_bootstrap
-bin/mysqlrouter_keyring
-bin/mysqlrouter_mrs_client
-bin/mysqlrouter_passwd
-bin/mysqlrouter_plugin_info
-bin/mysqlxtest
-bin/mysqltest_safe_process
-etc/logrotate.d/mysqlrouter
-@sample etc/mysqlrouter/mysqlrouter.conf.sample
-%%ETCDIR%%/my.cnf.sample
-lib/mysql/mysqlrouter/rest_host_cache.so
-lib/mysql/plugin/component_group_replication_elect_prefers_most_updated.so
-lib/mysql/plugin/component_group_replication_flow_control_stats.so
-lib/mysql/plugin/component_group_replication_resource_manager.so
-lib/mysql/plugin/component_replication_applier_metrics.so
-lib/mysql/plugin/component_telemetry.so
-lib/mysql/plugin/component_test_telemetry_resource_provider.so
-lib/mysql/plugin/component_test_telemetry_secret_provider.so
-lib/mysql/plugin/telemetry_client.so
-lib/mysql/libmysqlharness.so
-lib/mysql/libmysqlharness.so.1
-lib/mysql/libmysqlharness_stdx.so
-lib/mysql/libmysqlharness_stdx.so.1
-lib/mysql/libmysqlharness_tls.so
-lib/mysql/libmysqlharness_tls.so.1
-lib/mysql/libmysqlrouter.so
-lib/mysql/libmysqlrouter.so.1
-lib/mysql/libmysqlrouter_cluster.so
-lib/mysql/libmysqlrouter_cluster.so.1
-lib/mysql/libmysqlrouter_connection_pool.so
-lib/mysql/libmysqlrouter_connection_pool.so.1
-lib/mysql/libmysqlrouter_destination_status.so
-lib/mysql/libmysqlrouter_destination_status.so.1
-lib/mysql/libmysqlrouter_http.so
-lib/mysql/libmysqlrouter_http.so.1
-lib/mysql/libmysqlrouter_http_auth_backend.so
-lib/mysql/libmysqlrouter_http_auth_backend.so.1
-lib/mysql/libmysqlrouter_http_auth_realm.so
-lib/mysql/libmysqlrouter_http_auth_realm.so.1
-lib/mysql/libmysqlrouter_http_client.so
-lib/mysql/libmysqlrouter_http_client.so.1
-lib/mysql/libmysqlrouter_http_server.so
-lib/mysql/libmysqlrouter_http_server.so.1
-lib/mysql/libmysqlrouter_io_component.so
-lib/mysql/libmysqlrouter_io_component.so.1
-lib/mysql/libmysqlrouter_metadata_cache.so
-lib/mysql/libmysqlrouter_metadata_cache.so.1
-lib/mysql/libmysqlrouter_mysql.so
-lib/mysql/libmysqlrouter_mysql.so.1
-lib/mysql/libmysqlrouter_mysqlclient.so
-lib/mysql/libmysqlrouter_mysqlclient.so.1
-lib/mysql/libmysqlrouter_mysqlxclient.so
-lib/mysql/libmysqlrouter_mysqlxclient.so.1
-lib/mysql/libmysqlrouter_mysqlxmessages.so
-lib/mysql/libmysqlrouter_mysqlxmessages.so.1
-lib/mysql/libmysqlrouter_routing.so
-lib/mysql/libmysqlrouter_routing.so.1
-lib/mysql/libmysqlrouter_routing_connections.so
-lib/mysql/libmysqlrouter_routing_connections.so.1
-lib/mysql/libmysqlrouter_routing_guidelines.so
-lib/mysql/libmysqlrouter_utils.so
-lib/mysql/libmysqlrouter_routing_guidelines.so.1
-lib/mysql/libmysqlrouter_utils.so.1
-lib/mysql/libprotobuf.so.24.4.0
-lib/mysql/mysqlrouter/connection_pool.so
-lib/mysql/mysqlrouter/destination_status.so
-lib/mysql/mysqlrouter/host_cache.so
-lib/mysql/mysqlrouter/http_auth_backend.so
-lib/mysql/mysqlrouter/http_auth_realm.so
-lib/mysql/mysqlrouter/http_server.so
-lib/mysql/mysqlrouter/io.so
-lib/mysql/mysqlrouter/keepalive.so
-lib/mysql/mysqlrouter/metadata_cache.so
-lib/mysql/mysqlrouter/mysql_rest_service.so
-lib/mysql/mysqlrouter/rest_api.so
-lib/mysql/mysqlrouter/rest_connection_pool.so
-lib/mysql/mysqlrouter/rest_metadata_cache.so
-lib/mysql/mysqlrouter/rest_router.so
-lib/mysql/mysqlrouter/rest_routing.so
-lib/mysql/mysqlrouter/router_openssl.so
-lib/mysql/mysqlrouter/router_protobuf.so
-lib/mysql/mysqlrouter/routing.so
-lib/mysql/plugin/adt_null.so
-lib/mysql/plugin/auth.so
-lib/mysql/plugin/auth_test_plugin.so
-lib/mysql/plugin/component_audit_api_message_emit.so
-lib/mysql/plugin/component_connection_control.so
-lib/mysql/plugin/component_example_component1.so
-lib/mysql/plugin/component_example_component2.so
-lib/mysql/plugin/component_example_component3.so
-lib/mysql/plugin/component_classic_hashing.so
-lib/mysql/plugin/component_keyring_file.so
-lib/mysql/plugin/component_log_filter_dragnet.so
-lib/mysql/plugin/component_log_sink_json.so
-lib/mysql/plugin/component_log_sink_syseventlog.so
-lib/mysql/plugin/component_log_sink_test.so
-lib/mysql/plugin/component_mysqlbackup.so
-lib/mysql/plugin/component_mysqlx_global_reset.so
-lib/mysql/plugin/component_pfs_example.so
-lib/mysql/plugin/component_pfs_example_component_population.so
-lib/mysql/plugin/component_query_attributes.so
-lib/mysql/plugin/component_reference_cache.so
-lib/mysql/plugin/component_test_audit_api_message.so
-lib/mysql/plugin/component_test_backup_lock_service.so
-lib/mysql/plugin/component_test_component_deinit.so
-lib/mysql/plugin/component_test_component_deinit_no_deadlock.so
-lib/mysql/plugin/component_test_component_init_fail.so
-lib/mysql/plugin/component_test_component_init_then_register.so
-lib/mysql/plugin/component_test_event_tracking_consumer.so
-lib/mysql/plugin/component_test_event_tracking_consumer_a.so
-lib/mysql/plugin/component_test_event_tracking_consumer_b.so
-lib/mysql/plugin/component_test_event_tracking_consumer_c.so
-lib/mysql/plugin/component_test_event_tracking_producer_a.so
-lib/mysql/plugin/component_test_event_tracking_producer_b.so
-lib/mysql/plugin/component_test_execute_prepared_statement.so
-lib/mysql/plugin/component_test_execute_regular_statement.so
-lib/mysql/plugin/component_test_host_application_signal.so
-lib/mysql/plugin/component_test_mysql_command_services.so
-lib/mysql/plugin/component_test_mysql_current_thread_reader.so
-lib/mysql/plugin/component_test_mysql_file_service.so
-lib/mysql/plugin/component_test_mysql_runtime_error.so
-lib/mysql/plugin/component_test_mysql_signal_handler.so
-lib/mysql/plugin/component_test_mysql_system_variable_set.so
-lib/mysql/plugin/component_test_mysql_thd_store_service.so
-lib/mysql/plugin/component_test_pfs_notification.so
-lib/mysql/plugin/component_test_pfs_resource_group.so
-lib/mysql/plugin/component_test_sensitive_system_variables.so
-lib/mysql/plugin/component_test_server_telemetry_logs_client.so
-lib/mysql/plugin/component_test_server_telemetry_logs_export.so
-lib/mysql/plugin/component_test_server_telemetry_metrics.so
-lib/mysql/plugin/component_test_server_telemetry_traces.so
-lib/mysql/plugin/component_test_session_var_service.so
-lib/mysql/plugin/component_test_status_var_reader.so
-lib/mysql/plugin/component_test_status_var_service.so
-lib/mysql/plugin/component_test_status_var_service_int.so
-lib/mysql/plugin/component_test_status_var_service_reg_only.so
-lib/mysql/plugin/component_test_status_var_service_str.so
-lib/mysql/plugin/component_test_status_var_service_unreg_only.so
-lib/mysql/plugin/component_test_string_service.so
-lib/mysql/plugin/component_test_string_service_charset.so
-lib/mysql/plugin/component_test_string_service_long.so
-lib/mysql/plugin/component_test_sys_var_service.so
-lib/mysql/plugin/component_test_sys_var_service_int.so
-lib/mysql/plugin/component_test_sys_var_service_same.so
-lib/mysql/plugin/component_test_sys_var_service_str.so
-lib/mysql/plugin/component_test_system_variable_source.so
-lib/mysql/plugin/component_test_table_access.so
-lib/mysql/plugin/component_test_udf_aggregate.so
-lib/mysql/plugin/component_test_udf_registration.so
-lib/mysql/plugin/component_test_udf_services.so
-lib/mysql/plugin/component_udf_reg_3_func.so
-lib/mysql/plugin/component_udf_reg_avg_func.so
-lib/mysql/plugin/component_udf_reg_int_func.so
-lib/mysql/plugin/component_udf_reg_int_same_func.so
-lib/mysql/plugin/component_udf_reg_only_3_func.so
-lib/mysql/plugin/component_udf_reg_real_func.so
-lib/mysql/plugin/component_udf_unreg_3_func.so
-lib/mysql/plugin/component_udf_unreg_int_func.so
-lib/mysql/plugin/component_udf_unreg_real_func.so
-lib/mysql/plugin/component_validate_password.so
-lib/mysql/plugin/conflicting_variables.so
-lib/mysql/plugin/connection_control.so
-lib/mysql/plugin/daemon_example.ini
-lib/mysql/plugin/ddl_rewriter.so
-lib/mysql/plugin/group_replication.so
-lib/mysql/plugin/ha_example.so
-lib/mysql/plugin/ha_mock.so
-lib/mysql/plugin/keyring_udf.so
-lib/mysql/plugin/libdaemon_example.so
-lib/mysql/plugin/libtest_framework.so
-lib/mysql/plugin/libtest_services.so
-lib/mysql/plugin/libtest_services_threaded.so
-lib/mysql/plugin/libtest_session_attach.so
-lib/mysql/plugin/libtest_session_detach.so
-lib/mysql/plugin/libtest_session_in_thd.so
-lib/mysql/plugin/libtest_session_info.so
-lib/mysql/plugin/libtest_sql_2_sessions.so
-lib/mysql/plugin/libtest_sql_all_col_types.so
-lib/mysql/plugin/libtest_sql_cmds_1.so
-lib/mysql/plugin/libtest_sql_commit.so
-lib/mysql/plugin/libtest_sql_complex.so
-lib/mysql/plugin/libtest_sql_errors.so
-lib/mysql/plugin/libtest_sql_lock.so
-lib/mysql/plugin/libtest_sql_processlist.so
-lib/mysql/plugin/libtest_sql_replication.so
-lib/mysql/plugin/libtest_sql_reset_connection.so
-lib/mysql/plugin/libtest_sql_shutdown.so
-lib/mysql/plugin/libtest_sql_sleep_is_connected.so
-lib/mysql/plugin/libtest_sql_sqlmode.so
-lib/mysql/plugin/libtest_sql_stmt.so
-lib/mysql/plugin/libtest_sql_stored_procedures_functions.so
-lib/mysql/plugin/libtest_sql_views_triggers.so
-lib/mysql/plugin/libtest_x_sessions_deinit.so
-lib/mysql/plugin/libtest_x_sessions_init.so
-lib/mysql/plugin/locking_service.so
-lib/mysql/plugin/mypluglib.so
-lib/mysql/plugin/mysql_clone.so
-lib/mysql/plugin/mysql_no_login.so
-lib/mysql/plugin/pfs_example_plugin_employee.so
-lib/mysql/plugin/qa_auth_client.so
-lib/mysql/plugin/qa_auth_interface.so
-lib/mysql/plugin/qa_auth_server.so
-lib/mysql/plugin/replication_observers_example_plugin.so
-lib/mysql/plugin/rewrite_example.so
-lib/mysql/plugin/rewriter.so
-lib/mysql/plugin/semisync_replica.so
-lib/mysql/plugin/semisync_source.so
-lib/mysql/plugin/test_security_context.so
-lib/mysql/plugin/test_services_command_services.so
-lib/mysql/plugin/test_services_host_application_signal.so
-lib/mysql/plugin/test_services_plugin_registry.so
-lib/mysql/plugin/test_udf_services.so
-lib/mysql/plugin/thread_pool.so
-lib/mysql/plugin/udf_example.so
-lib/mysql/plugin/validate_password.so
-lib/mysql/private/libprotobuf-lite.so.24.4.0
-lib/mysql/private/libprotobuf.so.24.4.0
-libexec/mysqld
-%%DOCSDIR%%/LICENSE.router
-%%DOCSDIR%%/README.router
-@comment share/man/man1/comp_err.1.gz
-share/man/man1/ibd2sdi.1.gz
-share/man/man1/innochecksum.1.gz
-share/man/man1/my_print_defaults.1.gz
-share/man/man1/myisam_ftdump.1.gz
-share/man/man1/myisamchk.1.gz
-share/man/man1/myisamlog.1.gz
-share/man/man1/myisampack.1.gz
-@comment share/man/man1/mysql.1.gz
-share/man/man1/mysql.server.1.gz
-@comment share/man/man1/mysql_config.1.gz
-@comment share/man/man1/mysql_config_editor.1.gz
-share/man/man1/mysql_secure_installation.1.gz
-share/man/man1/mysql_tzinfo_to_sql.1.gz
-@comment share/man/man1/mysqladmin.1.gz
-@comment share/man/man1/mysqlbinlog.1.gz
-@comment share/man/man1/mysqlcheck.1.gz
-share/man/man1/mysqld_multi.1.gz
-share/man/man1/mysqld_safe.1.gz
-@comment share/man/man1/mysqldump.1.gz
-share/man/man1/mysqldumpslow.1.gz
-@comment share/man/man1/mysqlimport.1.gz
-@comment share/man/man1/mysqlman.1.gz
-share/man/man1/mysqlrouter.1.gz
-share/man/man1/mysqlrouter_passwd.1.gz
-share/man/man1/mysqlrouter_plugin_info.1.gz
-@comment share/man/man1/mysqlshow.1.gz
-@comment share/man/man1/mysqlslap.1.gz
-@comment share/man/man1/perror.1.gz
-share/man/man8/mysqld.8.gz
-%%DATADIR%%/bulgarian/errmsg.sys
-%%DATADIR%%/charsets/Index.xml
-%%DATADIR%%/charsets/README
-%%DATADIR%%/charsets/armscii8.xml
-%%DATADIR%%/charsets/ascii.xml
-%%DATADIR%%/charsets/cp1250.xml
-%%DATADIR%%/charsets/cp1251.xml
-%%DATADIR%%/charsets/cp1256.xml
-%%DATADIR%%/charsets/cp1257.xml
-%%DATADIR%%/charsets/cp850.xml
-%%DATADIR%%/charsets/cp852.xml
-%%DATADIR%%/charsets/cp866.xml
-%%DATADIR%%/charsets/dec8.xml
-%%DATADIR%%/charsets/geostd8.xml
-%%DATADIR%%/charsets/greek.xml
-%%DATADIR%%/charsets/hebrew.xml
-%%DATADIR%%/charsets/hp8.xml
-%%DATADIR%%/charsets/keybcs2.xml
-%%DATADIR%%/charsets/koi8r.xml
-%%DATADIR%%/charsets/koi8u.xml
-%%DATADIR%%/charsets/latin1.xml
-%%DATADIR%%/charsets/latin2.xml
-%%DATADIR%%/charsets/latin5.xml
-%%DATADIR%%/charsets/latin7.xml
-%%DATADIR%%/charsets/macce.xml
-%%DATADIR%%/charsets/macroman.xml
-%%DATADIR%%/charsets/swe7.xml
-%%DATADIR%%/czech/errmsg.sys
-%%DATADIR%%/danish/errmsg.sys
-%%DATADIR%%/dictionary.txt
-%%DATADIR%%/dutch/errmsg.sys
-%%DATADIR%%/english/errmsg.sys
-%%DATADIR%%/estonian/errmsg.sys
-%%DATADIR%%/french/errmsg.sys
-%%DATADIR%%/german/errmsg.sys
-%%DATADIR%%/greek/errmsg.sys
-%%DATADIR%%/hungarian/errmsg.sys
-%%DATADIR%%/install_rewriter.sql
-%%DATADIR%%/italian/errmsg.sys
-%%DATADIR%%/japanese/errmsg.sys
-%%DATADIR%%/korean/errmsg.sys
-%%DATADIR%%/messages_to_clients.txt
-%%DATADIR%%/messages_to_error_log.txt
-%%DATADIR%%/mysql-log-rotate
-%%DATADIR%%/mysql.server
-%%DATADIR%%/mysqld_multi.server
-%%DATADIR%%/norwegian-ny/errmsg.sys
-%%DATADIR%%/norwegian/errmsg.sys
-%%DATADIR%%/polish/errmsg.sys
-%%DATADIR%%/portuguese/errmsg.sys
-%%DATADIR%%/romanian/errmsg.sys
-%%DATADIR%%/russian/errmsg.sys
-%%DATADIR%%/serbian/errmsg.sys
-%%DATADIR%%/slovak/errmsg.sys
-%%DATADIR%%/spanish/errmsg.sys
-%%DATADIR%%/swedish/errmsg.sys
-%%DATADIR%%/ukrainian/errmsg.sys
-%%DATADIR%%/uninstall_rewriter.sql
-%%DATADIR%%router/docs/sample_mysqlrouter.conf
-@dir %%ETCDIR%%/keyring
-@dir lib/mysql/plugin/debug
-@dir(mysql,mysql,0750) %%MY_SECDIR%%
-@dir(mysql,mysql,0750) %%MY_TMPDIR%%