diff options
author | Rene Ladan <rene@FreeBSD.org> | 2023-10-01 09:30:03 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2023-10-01 09:30:03 +0000 |
commit | 438a30ec44e27e6c183b085f4a5c6479e1bcbbad (patch) | |
tree | 82c6cd3af533c4d71f07ca486964a187ef06ee6d | |
parent | 7ba41b9e4e4b3a7b1494c0bd858577c25395efa9 (diff) | |
download | ports-438a30ec44e27e6c183b085f4a5c6479e1bcbbad.tar.gz ports-438a30ec44e27e6c183b085f4a5c6479e1bcbbad.zip |
cleanup: Remove expired ports:
2023-10-01 databases/percona57-pam-for-mysql: Upstream EOL reaches on 2023-10-01
2023-10-01 databases/percona57-server: Upstream EOL reaches on 2023-10-01
2023-10-01 databases/percona57-client: Upstream EOL reaches on 2023-10-01
77 files changed, 3 insertions, 2396 deletions
@@ -7923,3 +7923,6 @@ net-p2p/transmission-gtk|net-p2p/transmission-components@gtk|2023-09-30|Moved fo net-p2p/transmission-qt|net-p2p/transmission-components@qt|2023-09-30|Moved for metaport net-p2p/transmission-utils|net-p2p/transmission-components@utils|2023-09-30|Moved for metaport databases/percona-pam-for-mysql||2023-10-01|Has expired: Upstream EOL reaches on 2023-10-01 +databases/percona57-pam-for-mysql||2023-10-01|Has expired: Upstream EOL reaches on 2023-10-01 +databases/percona57-server||2023-10-01|Has expired: Upstream EOL reaches on 2023-10-01 +databases/percona57-client||2023-10-01|Has expired: Upstream EOL reaches on 2023-10-01 diff --git a/databases/Makefile b/databases/Makefile index 4c116f92229b..59f7d3ab59ad 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -543,9 +543,6 @@ SUBDIR += pecl-redis SUBDIR += pecl-rrd SUBDIR += percona-toolkit - SUBDIR += percona57-client - SUBDIR += percona57-pam-for-mysql - SUBDIR += percona57-server SUBDIR += pg-gvm SUBDIR += pg.el SUBDIR += pgFormatter diff --git a/databases/percona57-client/Makefile b/databases/percona57-client/Makefile deleted file mode 100644 index c7491369167f..000000000000 --- a/databases/percona57-client/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -PORTNAME= percona -PORTREVISION?= 0 -PKGNAMESUFFIX= 57-client - -COMMENT= Multithreaded SQL database (client) - -LICENSE= GPLv2+ - -MASTERDIR= ${.CURDIR}/../percona57-server - -OPTIONS_EXCLUDE=TOKUDB - -PKGMESSAGE= ${.CURDIR}/pkg-message -PATCHDIR= ${.CURDIR}/files -PLIST= ${.CURDIR}/pkg-plist - -CONFLICTS_INSTALL= mysql*-client \ - mariadb*-client \ - percona5[0-68-9]-client - -CMAKE_ARGS+= -DWITHOUT_SERVER=1 - -USE_LDCONFIG= ${PREFIX}/lib/mysql - -MANPAGES= comp_err.1 mysql.1 mysql_config.1 mysql_config_editor.1 \ - mysql_waitpid.1 mysqladmin.1 mysqlbinlog.1 \ - mysqlcheck.1 mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1 - -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 - -# Percona renamed the libraries, until we decide how to deal with it create some symlinks -# to prevent breaking installed ports. -post-install: - ${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so - ${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so.20 - ${LN} -s libperconaserverclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a - ${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so - ${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.20 - ${LN} -s perconaserverclient.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/mysqlclient.pc - -.include "${MASTERDIR}/Makefile" diff --git a/databases/percona57-client/files/patch-CMakeLists.txt b/databases/percona57-client/files/patch-CMakeLists.txt deleted file mode 100644 index 86b3aeb04103..000000000000 --- a/databases/percona57-client/files/patch-CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ ---- CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ CMakeLists.txt -@@ -613,8 +613,8 @@ ENDIF() - - ADD_SUBDIRECTORY(extra) - ADD_SUBDIRECTORY(client) --ADD_SUBDIRECTORY(sql/share) - ADD_SUBDIRECTORY(libservices) -+ADD_SUBDIRECTORY(support-files) - - IF(UNIX) - ADD_SUBDIRECTORY(man) -@@ -684,14 +684,13 @@ ELSE() - SET(CPACK_GENERATOR "TGZ") - ENDIF() - ADD_SUBDIRECTORY(packaging/WiX) --ADD_SUBDIRECTORY(packaging/solaris) - - IF(UNIX) -- INSTALL(FILES Docs/mysql.info DESTINATION ${INSTALL_INFODIR} OPTIONAL COMPONENT Info) - ENDIF() - # - # RPM installs documentation directly from the source tree - # -+IF(FALSE) - IF(NOT INSTALL_LAYOUT MATCHES "RPM") - INSTALL(FILES COPYING LICENSE.mysql - DESTINATION ${INSTALL_DOCREADMEDIR} -@@ -714,6 +713,7 @@ IF(NOT INSTALL_LAYOUT MATCHES "RPM") - PATTERN "sp-imp-spec.txt" EXCLUDE - ) - ENDIF() -+ENDIF() - - INCLUDE(CPack) - diff --git a/databases/percona57-client/files/patch-client_CMakeLists.txt b/databases/percona57-client/files/patch-client_CMakeLists.txt deleted file mode 100644 index e61b2322f95c..000000000000 --- a/databases/percona57-client/files/patch-client_CMakeLists.txt +++ /dev/null @@ -1,44 +0,0 @@ ---- client/CMakeLists.txt.orig 2018-02-16 07:57:38 UTC -+++ client/CMakeLists.txt -@@ -48,6 +48,7 @@ IF(UNIX) - TARGET_LINK_LIBRARIES(mysql ${MY_READLINE_LIBRARY}) - ENDIF(UNIX) - -+IF(FALSE) - IF(NOT WITHOUT_SERVER) - MYSQL_ADD_EXECUTABLE(mysql_upgrade - upgrade/program.cc -@@ -58,11 +59,14 @@ ADD_COMPILE_FLAGS( - TARGET_LINK_LIBRARIES(mysql_upgrade perconaserverclient client_base mysqlcheck_core) - ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs GenSysSchema) - ENDIF() -+ENDIF() - -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test) - SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS") - TARGET_LINK_LIBRARIES(mysqltest perconaserverclient regex) - ADD_DEPENDENCIES(mysqltest GenError) -+ENDIF() - - ADD_CONVENIENCE_LIBRARY(mysqlcheck_core check/mysqlcheck_core.cc) - TARGET_LINK_LIBRARIES(mysqlcheck_core perconaserverclient) -@@ -80,8 +84,10 @@ TARGET_LINK_LIBRARIES(mysqlimport perconaserverclient) - MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c) - TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient) - -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c) - TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient) -+ENDIF() - - MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc) - ADD_COMPILE_FLAGS( -@@ -124,7 +130,6 @@ IF(WIN32) - ENDIF(WIN32) - - SET_TARGET_PROPERTIES ( -- mysql_plugin - mysqlcheck - mysqldump - mysqlimport diff --git a/databases/percona57-client/files/patch-client__mysql.cc b/databases/percona57-client/files/patch-client__mysql.cc deleted file mode 100644 index cfa890924934..000000000000 --- a/databases/percona57-client/files/patch-client__mysql.cc +++ /dev/null @@ -1,40 +0,0 @@ ---- client/mysql.cc.orig 2017-04-01 14:33:18 UTC -+++ client/mysql.cc -@@ -1903,11 +1903,11 @@ static void usage(int version) - #endif - - #ifdef HAVE_READLINE -- printf("%s Ver %s Distrib %s, for %s (%s) using %s %s\n", -+ printf("%s Ver %s Distrib %s Percona, for %s (%s) using %s %s\n", - my_progname, VER, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE, - readline, rl_library_version); - #else -- printf("%s Ver %s Distrib %s, for %s (%s)\n", my_progname, VER, -+ printf("%s Ver %s Distrib %s Percona, for %s (%s)\n", my_progname, VER, - MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE); - #endif - -y@@ -2858,15 +2858,18 @@ static void initialize_readline (char *name) - - /* Tell the completer that we want a crack first. */ - #if defined(USE_NEW_XLINE_INTERFACE) -- rl_attempted_completion_function= &new_mysql_completion; -- rl_completion_entry_function= &no_completion; -- -+ rl_attempted_completion_function= (rl_completion_func_t*)&new_mysql_completion; -+ rl_completion_entry_function= (rl_compentry_func_t*)&no_completion; -+/* - rl_add_defun("magic-space", &fake_magic_space, -1); -+*/ - #elif defined(USE_LIBEDIT_INTERFACE) - setlocale(LC_ALL,""); /* so as libedit use isprint */ -- rl_attempted_completion_function= &new_mysql_completion; -- rl_completion_entry_function= &no_completion; -+ rl_attempted_completion_function= (rl_completion_func_t*)&new_mysql_completion; -+ rl_completion_entry_function= (rl_compentry_func_t*)&no_completion; -+/* - rl_add_defun("magic-space", &fake_magic_space, -1); -+*/ - #else - rl_attempted_completion_function= (CPPFunction*)&new_mysql_completion; - rl_completion_entry_function= &no_completion; diff --git a/databases/percona57-client/files/patch-cmake_build__configurations_compiler__options.cmake b/databases/percona57-client/files/patch-cmake_build__configurations_compiler__options.cmake deleted file mode 100644 index 4eca5cfb5df9..000000000000 --- a/databases/percona57-client/files/patch-cmake_build__configurations_compiler__options.cmake +++ /dev/null @@ -1,20 +0,0 @@ ---- cmake/build_configurations/compiler_options.cmake.orig 2016-08-25 11:52:06 UTC -+++ cmake/build_configurations/compiler_options.cmake -@@ -50,7 +50,7 @@ IF(UNIX) - IF(CMAKE_COMPILER_IS_GNUCC) - SET(COMMON_C_FLAGS "-fno-omit-frame-pointer -fno-strict-aliasing") - IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) # gcc-9 or older -- SET(COMMON_C_FLAGS "-fabi-version=2 ${COMMON_C_FLAGS}") -+ SET(COMMON_C_FLAGS "${COMMON_C_FLAGS}") - ENDIF() - # Disable inline optimizations for valgrind testing to avoid false positives - IF(WITH_VALGRIND) -@@ -77,7 +77,7 @@ IF(UNIX) - IF(CMAKE_COMPILER_IS_GNUCXX) - SET(COMMON_CXX_FLAGS "-g -fno-omit-frame-pointer -fno-strict-aliasing") - IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) # gcc-9 or older -- SET(COMMON_CXX_FLAGS "-fabi-version=2 ${COMMON_CXX_FLAGS}") -+ SET(COMMON_CXX_FLAGS "${COMMON_CXX_FLAGS}") - ENDIF() - # GCC 6 has C++14 as default, set it explicitly to the old default. - EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion diff --git a/databases/percona57-client/files/patch-cmake_os_DragonFly.cmake b/databases/percona57-client/files/patch-cmake_os_DragonFly.cmake deleted file mode 100644 index 83c154ee3bcf..000000000000 --- a/databases/percona57-client/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/percona57-client/files/patch-cmake_os_FreeBSD.cmake b/databases/percona57-client/files/patch-cmake_os_FreeBSD.cmake deleted file mode 100644 index 9e9043f341ae..000000000000 --- a/databases/percona57-client/files/patch-cmake_os_FreeBSD.cmake +++ /dev/null @@ -1,25 +0,0 @@ ---- cmake/os/FreeBSD.cmake.orig 2018-10-04 05:48:22 UTC -+++ cmake/os/FreeBSD.cmake -@@ -37,8 +37,20 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER) - IF(NOT HAVE_SUPPORTED_CLANG_VERSION) - MESSAGE(FATAL_ERROR "Clang 3.3 or newer is required!") - ENDIF() -- ELSE() -- MESSAGE(FATAL_ERROR "Unsupported compiler!") -+ CHECK_C_SOURCE_RUNS(" -+ int main() -+ { -+ return (__clang_major__ >= 4); -+ }" I386_ATOMIC_BUILTINS) -+ IF((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (NOT I386_ATOMIC_BUILTINS)) -+ SET(HAVE_GCC_ATOMIC_BUILTINS CACHE INTERNAL "") -+ ENDIF() -+ ELSEIF(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() - ENDIF() - ENDIF() - diff --git a/databases/percona57-client/files/patch-cmake_plugin.cmake b/databases/percona57-client/files/patch-cmake_plugin.cmake deleted file mode 100644 index a52ef25c7b24..000000000000 --- a/databases/percona57-client/files/patch-cmake_plugin.cmake +++ /dev/null @@ -1,25 +0,0 @@ ---- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC -+++ cmake/plugin.cmake -@@ -278,13 +278,17 @@ MACRO(MYSQL_ADD_PLUGIN) - MYSQL_INSTALL_TARGETS(${target} - DESTINATION ${INSTALL_PLUGINDIR} - COMPONENT ${INSTALL_COMPONENT}) -- INSTALL_DEBUG_TARGET(${target} -- DESTINATION ${INSTALL_PLUGINDIR}/debug -- COMPONENT ${INSTALL_COMPONENT}) -+ IF(CMAKE_BUILD_TYPE MATCHES "Debug") -+ INSTALL_DEBUG_TARGET(${target} -+ DESTINATION ${INSTALL_PLUGINDIR}/debug -+ COMPONENT ${INSTALL_COMPONENT}) -+ # Add installed files to list for RPMs -+ FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files -+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n") -+ ENDIF() - # Add installed files to list for RPMs - FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files -- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n" -- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n") -+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n") - # For internal testing in PB2, append collections files - IF(DEFINED ENV{PB2WORKDIR}) - PLUGIN_APPEND_COLLECTIONS(${plugin}) diff --git a/databases/percona57-client/files/patch-cmake_ssl.cmake b/databases/percona57-client/files/patch-cmake_ssl.cmake deleted file mode 100644 index 7a73266ce4c8..000000000000 --- a/databases/percona57-client/files/patch-cmake_ssl.cmake +++ /dev/null @@ -1,23 +0,0 @@ ---- cmake/ssl.cmake.orig 2022-08-05 18:25:13 UTC -+++ cmake/ssl.cmake -@@ -246,7 +246,8 @@ MACRO (MYSQL_CHECK_SSL) - ) - SET(OPENSSL_VERSION ${OPENSSL_VERSION} CACHE INTERNAL "") - -- IF("${OPENSSL_VERSION}" VERSION_GREATER "1.1.0") -+ CHECK_SYMBOL_EXISTS(TLS1_3_VERSION "openssl/tls1.h" HAVE_TLS1_3_VERSION) -+ IF(HAVE_TLS1_3_VERSION) - ADD_DEFINITIONS(-DHAVE_TLSv13) - SET(HAVE_TLSv13 1) - IF(SOLARIS) -@@ -258,8 +259,7 @@ MACRO (MYSQL_CHECK_SSL) - ENDIF() - IF(OPENSSL_INCLUDE_DIR AND - OPENSSL_LIBRARY AND -- CRYPTO_LIBRARY AND -- (OPENSSL_MAJOR_VERSION STREQUAL "1" OR OPENSSL_MAJOR_VERSION STREQUAL "3") -+ CRYPTO_LIBRARY - ) - SET(OPENSSL_FOUND TRUE) - ELSE() - diff --git a/databases/percona57-client/files/patch-configure.cmake b/databases/percona57-client/files/patch-configure.cmake deleted file mode 100644 index 81ab9495aac3..000000000000 --- a/databases/percona57-client/files/patch-configure.cmake +++ /dev/null @@ -1,15 +0,0 @@ ---- configure.cmake.orig 2018-01-16 23:26:09 UTC -+++ configure.cmake -@@ -43,6 +43,12 @@ IF(UNIX) - ENDIF() - - -+IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -+ SET(CMAKE_SHARED_LIBRARY_C_FLAGS -+ "${CMAKE_SHARED_LIBRARY_C_FLAGS} ${CMAKE_C_FLAGS} -L%%FREEBSD_LOCAL_LIB%%") -+ENDIF() -+ -+ - IF(CMAKE_SYSTEM_NAME MATCHES "SunOS" AND CMAKE_COMPILER_IS_GNUCXX) - ## We will be using gcc to generate .so files - ## Add C flags (e.g. -m64) to CMAKE_SHARED_LIBRARY_C_FLAGS diff --git a/databases/percona57-client/files/patch-extra_CMakeLists.txt b/databases/percona57-client/files/patch-extra_CMakeLists.txt deleted file mode 100644 index 50f6e806e8be..000000000000 --- a/databases/percona57-client/files/patch-extra_CMakeLists.txt +++ /dev/null @@ -1,33 +0,0 @@ ---- extra/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ extra/CMakeLists.txt -@@ -45,6 +45,7 @@ ENDIF() - - ADD_CUSTOM_COMMAND(OUTPUT ${PROJECT_BINARY_DIR}/include/mysqld_error.h - ${PROJECT_BINARY_DIR}/sql/share/english/errmsg.sys -+ COMMAND mkdir -p ${PROJECT_BINARY_DIR}/sql/share/ - COMMAND comp_err - --charset=${PROJECT_SOURCE_DIR}/sql/share/charsets - --out-dir=${PROJECT_BINARY_DIR}/sql/share/ -@@ -73,6 +74,7 @@ IF (WIN32 AND WITH_SSL_PATH AND HAVE_CRY - ENDIF() - - -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(my_print_defaults my_print_defaults.c) - TARGET_LINK_LIBRARIES(my_print_defaults mysys mysys_ssl) - SET_TARGET_PROPERTIES(my_print_defaults PROPERTIES LINKER_LANGUAGE CXX) -@@ -142,11 +144,14 @@ IF(WITH_INNOBASE_STORAGE_ENGINE) - TARGET_LINK_LIBRARIES(innochecksum mysys mysys_ssl ${LZ4_LIBRARY}) - ADD_DEPENDENCIES(innochecksum GenError) - ENDIF() -+ENDIF() - -+IF(FALSE) - IF(UNIX) - MYSQL_ADD_EXECUTABLE(resolve_stack_dump resolve_stack_dump.cc) - TARGET_LINK_LIBRARIES(resolve_stack_dump mysys mysys_ssl) - ENDIF() -+ENDIF() - - # In published release builds on Solaris, we need to bundle gcc source. - # PB2 will take care of putting it in extra/ when needed diff --git a/databases/percona57-client/files/patch-include_CMakeLists.txt b/databases/percona57-client/files/patch-include_CMakeLists.txt deleted file mode 100644 index 488de8104854..000000000000 --- a/databases/percona57-client/files/patch-include_CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- include/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ include/CMakeLists.txt -@@ -38,6 +38,7 @@ SET(HEADERS_ABI - - SET(HEADERS - ${HEADERS_ABI} -+ hash.h - my_dbug.h - m_string.h - my_sys.h diff --git a/databases/percona57-client/files/patch-include_my__compare.h b/databases/percona57-client/files/patch-include_my__compare.h deleted file mode 100644 index 608e15dd8751..000000000000 --- a/databases/percona57-client/files/patch-include_my__compare.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/my_compare.h.orig 2016-11-27 19:44:54 UTC -+++ include/my_compare.h -@@ -40,7 +40,7 @@ extern "C" { - 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/percona57-client/files/patch-include_my__openssl.h b/databases/percona57-client/files/patch-include_my__openssl.h deleted file mode 100644 index 43ddb2935038..000000000000 --- a/databases/percona57-client/files/patch-include_my__openssl.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/my_openssl.h.orig 2020-03-23 17:35:17 UTC -+++ include/my_openssl.h -@@ -51,7 +51,7 @@ extern "C" { - */ - static inline int mysql_OPENSSL_init() - { --#if defined(HAVE_STATIC_OPENSSL) -+#if defined(HAVE_STATIC_OPENSSL) && !defined(LIBRESSL_VERSION_NUMBER) - return OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL); - #else - return SSL_library_init(); diff --git a/databases/percona57-client/files/patch-include_myisam.h b/databases/percona57-client/files/patch-include_myisam.h deleted file mode 100644 index 96bc58628416..000000000000 --- a/databases/percona57-client/files/patch-include_myisam.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/myisam.h.orig 2016-11-27 19:44:54 UTC -+++ include/myisam.h -@@ -45,7 +45,7 @@ extern "C" { - 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/percona57-client/files/patch-include_mysql.h b/databases/percona57-client/files/patch-include_mysql.h deleted file mode 100644 index 906bdb42c4fb..000000000000 --- a/databases/percona57-client/files/patch-include_mysql.h +++ /dev/null @@ -1,13 +0,0 @@ ---- include/mysql.h.orig 2023-02-28 17:21:35 UTC -+++ include/mysql.h -@@ -46,7 +46,10 @@ extern "C" { - #ifndef MYSQL_ABI_CHECK - #include <sys/types.h> - #endif -+#ifndef HAVE_TYPE_MY_BOOL -+#define HAVE_TYPE_MY_BOOL - typedef char my_bool; -+#endif - #if !defined(_WIN32) - #define STDCALL - #else diff --git a/databases/percona57-client/files/patch-man_CMakeLists.txt b/databases/percona57-client/files/patch-man_CMakeLists.txt deleted file mode 100644 index e02a804949d8..000000000000 --- a/databases/percona57-client/files/patch-man_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- man/CMakeLists.txt.orig 2015-11-29 19:16:24 UTC -+++ man/CMakeLists.txt -@@ -15,10 +15,6 @@ - - # Copy man pages - FILE(GLOB MAN1_FILES *.1) --FILE(GLOB MAN1_EXCLUDE make_win_bin_dist.1) --FILE(GLOB MAN1_NDB ndb*.1) --FILE(GLOB MAN8_FILES *.8) --FILE(GLOB MAN8_NDB ndb*.8) - IF(MAN1_FILES) - IF(MAN1_EXCLUDE) - LIST(REMOVE_ITEM MAN1_FILES ${MAN1_EXCLUDE}) diff --git a/databases/percona57-client/files/patch-mysys__ssl_my__crypt.cc b/databases/percona57-client/files/patch-mysys__ssl_my__crypt.cc deleted file mode 100644 index 453c89a71c12..000000000000 --- a/databases/percona57-client/files/patch-mysys__ssl_my__crypt.cc +++ /dev/null @@ -1,39 +0,0 @@ ---- mysys_ssl/my_crypt.cc.orig 2019-05-16 05:06:00 UTC -+++ mysys_ssl/my_crypt.cc -@@ -26,7 +26,7 @@ - #include <boost/move/unique_ptr.hpp> - #include <boost/core/noncopyable.hpp> - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - #define EVP_CIPHER_CTX_buf_noconst(ctx) ((ctx)->buf) - #define RAND_OpenSSL() RAND_SSLeay() - #endif -@@ -80,7 +80,7 @@ class MyEncryptionCTX : private boost::noncopyable (pr - - MyEncryptionCTX::MyEncryptionCTX() - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - ctx= new EVP_CIPHER_CTX(); - EVP_CIPHER_CTX_init(ctx); - #else -@@ -91,7 +91,8 @@ MyEncryptionCTX::MyEncryptionCTX() - MyEncryptionCTX::~MyEncryptionCTX() - { - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02090000fL) - EVP_CIPHER_CTX_cleanup(ctx); - delete ctx; - ERR_remove_thread_state(0); -@@ -340,7 +341,7 @@ int my_aes_crypt(const my_aes_mode mode, int flags, - res2= my_aes_crypt_finish(ctx, dst + d1, &d2); - if (res1 || res2) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - /* in case of failure clear error queue */ - ERR_remove_thread_state(0); - #endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ diff --git a/databases/percona57-client/files/patch-mysys__ssl_my__default.cc b/databases/percona57-client/files/patch-mysys__ssl_my__default.cc deleted file mode 100644 index 83a127b9602c..000000000000 --- a/databases/percona57-client/files/patch-mysys__ssl_my__default.cc +++ /dev/null @@ -1,31 +0,0 @@ ---- mysys_ssl/my_default.cc.orig 2016-11-27 19:44:54 UTC -+++ mysys_ssl/my_default.cc -@@ -114,7 +114,7 @@ static my_bool defaults_already_read= FA - - /* 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 = NULL; - -@@ -1416,7 +1416,10 @@ static const char **init_default_directo - - #if defined(DEFAULT_SYSCONFDIR) - if (DEFAULT_SYSCONFDIR[0]) -+ { - errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs); -+ errors += add_directory(alloc, DEFAULT_SYSCONFDIR "/mysql", dirs); -+ } - #endif /* DEFAULT_SYSCONFDIR */ - - #endif -@@ -1488,7 +1491,7 @@ int check_file_permissions(const char *f - MY_STAT stat_info; - - if (!my_stat(file_name,&stat_info,MYF(0))) -- return 1; -+ return 0; - /* - Ignore .mylogin.cnf file if not exclusively readable/writable - by current user. diff --git a/databases/percona57-client/files/patch-mysys_mf__iocache2.c b/databases/percona57-client/files/patch-mysys_mf__iocache2.c deleted file mode 100644 index e418e454e939..000000000000 --- a/databases/percona57-client/files/patch-mysys_mf__iocache2.c +++ /dev/null @@ -1,10 +0,0 @@ ---- mysys/mf_iocache2.c.orig 2019-02-18 09:11:31.000000000 +0300 -+++ mysys/mf_iocache2.c -@@ -24,6 +24,7 @@ - #include <m_string.h> - #include <stdarg.h> - #include <m_ctype.h> -+#include "mysql/psi/mysql_file.h" - - /* - Copy contents of an IO_CACHE to a file. diff --git a/databases/percona57-client/files/patch-scripts_CMakeLists.txt b/databases/percona57-client/files/patch-scripts_CMakeLists.txt deleted file mode 100644 index a8cb6de9fb23..000000000000 --- a/databases/percona57-client/files/patch-scripts_CMakeLists.txt +++ /dev/null @@ -1,72 +0,0 @@ ---- scripts/CMakeLists.txt.orig 2017-12-11 07:56:49.000000000 +0000 -+++ scripts/CMakeLists.txt 2017-12-31 14:31:35.649012000 +0000 -@@ -23,6 +23,7 @@ - SET(COMPILER_ID_AND_VERSION - "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}") - -+IF(FALSE) - # Build mysql_fix_privilege_tables.sql (concatenate 2 sql scripts) - IF(NOT WIN32 OR CMAKE_CROSSCOMPILING) - FIND_PROGRAM(CAT_EXECUTABLE cat DOC "path to the executable") -@@ -65,7 +66,9 @@ - ALL - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/mysql_fix_privilege_tables_sql.c - ${CMAKE_CURRENT_BINARY_DIR}/sql_commands_sys_schema.h -+ENDIF() - ) -+ENDIF() - - # If we do not have performance schema compiled in then sys will not work, - # so only create an empty sys database with an auto-generated file, -@@ -146,6 +149,7 @@ - ) - ENDIF() - -+IF(FALSE) - IF(UNIX) - FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_binary_distribution - "cd ${CMAKE_BINARY_DIR} && '${CMAKE_CPACK_COMMAND}' -G TGZ --config CPackConfig.cmake\n" ) -@@ -153,6 +157,7 @@ - COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/make_binary_distribution - ) - ENDIF() -+ENDIF() - - IF(NOT WITHOUT_SERVER) - INSTALL(FILES -@@ -332,6 +337,8 @@ - GET_FILENAME_COMPONENT(lib "${lib}" NAME_WE) - STRING(REGEX REPLACE "^lib" "" lib "${lib}") - SET(${var} "${${var}}-l${lib} " ) -+ ELSEIF(lib STREQUAL "-pthread") -+ SET(${var} "${${var}}-pthread " ) - ELSE() - SET(${var} "${${var}}-l${lib} " ) - ENDIF() -@@ -417,25 +424,7 @@ - # On Unix, most of the files end up in the bin directory - SET(mysql_config_COMPONENT COMPONENT Development) - -- IF(WITH_SYSTEMD) -- SET(BIN_SCRIPTS -- mysql_config -- mysqldumpslow -- ps_tokudb_admin -- ps_mysqld_helper -- ps-admin -- ) -- ELSE() -- SET(BIN_SCRIPTS -- mysql_config -- mysqldumpslow -- mysqld_multi -- mysqld_safe -- ps_tokudb_admin -- ps_mysqld_helper -- ps-admin -- ) -- ENDIF() -+ SET(BIN_SCRIPTS mysql_config) - - SET(PKGCONFIG_FILE ${LIBMYSQL_OS_OUTPUT_NAME}.pc) - STRING(REGEX REPLACE "/mysql$" "" PKGCONFIG_DIR "${INSTALL_LIBDIR}") diff --git a/databases/percona57-client/files/patch-sql_auth_sha2__password__common.cc b/databases/percona57-client/files/patch-sql_auth_sha2__password__common.cc deleted file mode 100644 index 1d2486c48d20..000000000000 --- a/databases/percona57-client/files/patch-sql_auth_sha2__password__common.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- sql/auth/sha2_password_common.cc.orig 2019-05-16 05:06:00 UTC -+++ sql/auth/sha2_password_common.cc -@@ -146,7 +146,8 @@ bool SHA256_digest::retrieve_digest(unsigned char *dig - DBUG_RETURN(true); - } - m_ok= EVP_DigestFinal_ex(md_context, m_digest, NULL); --#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02070000fL) - EVP_MD_CTX_cleanup(md_context); - #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ - EVP_MD_CTX_reset(md_context); diff --git a/databases/percona57-client/files/patch-support-files_CMakeLists.txt b/databases/percona57-client/files/patch-support-files_CMakeLists.txt deleted file mode 100644 index 9dd13cfbe3b7..000000000000 --- a/databases/percona57-client/files/patch-support-files_CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ ---- support-files/CMakeLists.txt.orig 2017-12-11 07:56:49.000000000 +0000 -+++ support-files/CMakeLists.txt 2017-12-31 14:35:25.047786000 +0000 -@@ -47,6 +47,7 @@ - SET (PIDOF "pgrep -d' ' -f") - ENDIF() - SET(prefix ${CMAKE_INSTALL_PREFIX}) -+ IF(FALSE) - FOREACH(script mysqld_multi.server mysql-log-rotate) - CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh - ${CMAKE_CURRENT_BINARY_DIR}/${script} @ONLY ) -@@ -59,9 +60,11 @@ - IF(INSTALL_SUPPORTFILESDIR) - INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles) - ENDIF() -+ENDIF() - - INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development) - -+IF(FALSE) - SET(bindir ${prefix}/${INSTALL_BINDIR}) - SET(sbindir ${prefix}/${INSTALL_SBINDIR}) - SET(scriptdir ${prefix}/${INSTALL_SCRIPTDIR}) -@@ -74,3 +77,4 @@ - PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ - GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - ENDIF() -+ENDIF() diff --git a/databases/percona57-client/files/patch-vio_viosocket.c b/databases/percona57-client/files/patch-vio_viosocket.c deleted file mode 100644 index c03e19e9e86c..000000000000 --- a/databases/percona57-client/files/patch-vio_viosocket.c +++ /dev/null @@ -1,13 +0,0 @@ ---- vio/viosocket.c.orig 2016-11-27 19:44:54 UTC -+++ vio/viosocket.c -@@ -45,6 +45,10 @@ - static void (*before_io_wait)(void)= 0; - static void (*after_io_wait)(void)= 0; - -+#ifdef __FreeBSD__ -+#define s6_addr32 __u6_addr.__u6_addr32 -+#endif -+ - /* Wait callback macros (both performance schema and threadpool */ - #define START_SOCKET_WAIT(locker, state_ptr, sock, which, timeout) \ - do \ diff --git a/databases/percona57-client/files/patch-vio_viossl.c b/databases/percona57-client/files/patch-vio_viossl.c deleted file mode 100644 index 39bcb6b765b5..000000000000 --- a/databases/percona57-client/files/patch-vio_viossl.c +++ /dev/null @@ -1,20 +0,0 @@ ---- vio/viossl.c.orig 2020-05-13 20:59:55 UTC -+++ vio/viossl.c -@@ -396,7 +396,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, - #if !defined(DBUG_OFF) - { - STACK_OF(SSL_COMP) *ssl_comp_methods = NULL; -- 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) -@@ -405,7 +405,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, - 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", (" %d: %s\n", SSL_COMP_get_id(c), SSL_COMP_get0_name(c))); diff --git a/databases/percona57-client/files/patch-vio_viosslfactories.c b/databases/percona57-client/files/patch-vio_viosslfactories.c deleted file mode 100644 index b37d41d49108..000000000000 --- a/databases/percona57-client/files/patch-vio_viosslfactories.c +++ /dev/null @@ -1,45 +0,0 @@ ---- vio/viosslfactories.c.orig 2020-05-13 20:59:55 UTC -+++ vio/viosslfactories.c -@@ -126,7 +126,7 @@ static DH *get_dh2048(void) - { - BIGNUM* p= BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL); - BIGNUM* g= BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL); --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - dh->p= p; - dh->g= g; - if (! dh->p || ! dh->g) -@@ -500,7 +500,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - struct st_VioSSLFd *ssl_fd; - /* MySQL 5.7 supports TLS up to v1.2, explicitly disable TLSv1.3. */ - long ssl_ctx_options= SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - | SSL_OP_NO_TLSv1_3 - #endif /* HAVE_TLSv13 */ - ; -@@ -536,7 +536,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - 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 -@@ -557,6 +557,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - DBUG_RETURN(0); - } - -+#ifndef LIBRESSL_VERSION_NUMBER - SSL_CTX_set_options(ssl_fd->ssl_context, ssl_ctx_options); - - #ifdef HAVE_TLSv13 -@@ -573,6 +574,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - DBUG_RETURN(0); - } - #endif /* HAVE_TLSv13 */ -+#endif /* LIBRESSL_VERSION_NUMBER */ - - /* - We explicitly prohibit weak ciphers. diff --git a/databases/percona57-client/pkg-plist b/databases/percona57-client/pkg-plist deleted file mode 100644 index bd41108327f6..000000000000 --- a/databases/percona57-client/pkg-plist +++ /dev/null @@ -1,144 +0,0 @@ -bin/mysql -bin/mysqladmin -bin/mysqlbinlog -bin/mysqlcheck -bin/mysql_config -bin/mysql_config_editor -bin/mysqldump -bin/mysqlimport -bin/mysqlpump -bin/mysql_secure_installation -bin/mysqlshow -bin/mysqlslap -bin/mysql_ssl_rsa_setup -include/mysql/big_endian.h -include/mysql/binary_log_types.h -include/mysql/byte_order_generic.h -include/mysql/byte_order_generic_x86.h -include/mysql/decimal.h -include/mysql/errmsg.h -include/mysql/hash.h -include/mysql/keycache.h -include/mysql/little_endian.h -include/mysql/m_ctype.h -include/mysql/m_string.h -include/mysql/my_alloc.h -include/mysql/my_byteorder.h -include/mysql/my_command.h -include/mysql/my_compiler.h -include/mysql/my_config.h -include/mysql/my_dbug.h -include/mysql/my_dir.h -include/mysql/my_getopt.h -include/mysql/my_global.h -include/mysql/my_list.h -include/mysql/mysql/client_authentication.h -include/mysql/mysql/client_plugin.h -include/mysql/mysql/client_plugin.h.pp -include/mysql/mysql/com_data.h -include/mysql/mysql_com.h -include/mysql/mysql_com_server.h -include/mysql/mysqld_ername.h -include/mysql/mysqld_error.h -include/mysql/mysql_embed.h -include/mysql/mysql/get_password.h -include/mysql/mysql/group_replication_priv.h -include/mysql/mysql.h -include/mysql/mysql/innodb_priv.h -include/mysql/mysql/mysql_lex_string.h -include/mysql/mysql/plugin_audit.h -include/mysql/mysql/plugin_audit.h.pp -include/mysql/mysql/plugin_auth_common.h -include/mysql/mysql/plugin_auth.h -include/mysql/mysql/plugin_auth.h.pp -include/mysql/mysql/plugin_ftparser.h -include/mysql/mysql/plugin_ftparser.h.pp -include/mysql/mysql/plugin_group_replication.h -include/mysql/mysql/plugin.h -include/mysql/mysql/plugin_keyring.h -include/mysql/mysql/plugin_keyring.h.pp -include/mysql/mysql/plugin_trace.h -include/mysql/mysql/plugin_validate_password.h -include/mysql/mysql/psi/mysql_file.h -include/mysql/mysql/psi/mysql_idle.h -include/mysql/mysql/psi/mysql_mdl.h -include/mysql/mysql/psi/mysql_memory.h -include/mysql/mysql/psi/mysql_ps.h -include/mysql/mysql/psi/mysql_socket.h -include/mysql/mysql/psi/mysql_sp.h -include/mysql/mysql/psi/mysql_stage.h -include/mysql/mysql/psi/mysql_statement.h -include/mysql/mysql/psi/mysql_table.h -include/mysql/mysql/psi/mysql_thread.h -include/mysql/mysql/psi/mysql_transaction.h -include/mysql/mysql/psi/psi_base.h -include/mysql/mysql/psi/psi.h -include/mysql/mysql/psi/psi_memory.h -include/mysql/mysql/service_command.h -include/mysql/mysql/service_locking.h -include/mysql/mysql/service_my_plugin_log.h -include/mysql/mysql/service_my_snprintf.h -include/mysql/mysql/service_mysql_alloc.h -include/mysql/mysql/service_mysql_keyring.h -include/mysql/mysql/service_mysql_password_policy.h -include/mysql/mysql/service_mysql_string.h -include/mysql/mysql/service_parser.h -include/mysql/mysql/service_rpl_transaction_ctx.h -include/mysql/mysql/service_rpl_transaction_write_set.h -include/mysql/mysql/service_rules_table.h -include/mysql/mysql/service_security_context.h -include/mysql/mysql/services.h -include/mysql/mysql/services.h.pp -include/mysql/mysql/service_srv_session.h -include/mysql/mysql/service_srv_session_info.h -include/mysql/mysql/service_ssl_wrapper.h -include/mysql/mysql/service_thd_alloc.h -include/mysql/mysql/service_thd_engine_lock.h -include/mysql/mysql/service_thd_wait.h -include/mysql/mysql/service_thread_scheduler.h -include/mysql/mysql/thread_pool_priv.h -include/mysql/mysql/thread_type.h -include/mysql/mysql_time.h -include/mysql/mysql_version.h -include/mysql/my_sys.h -include/mysql/my_thread.h -include/mysql/my_thread_local.h -include/mysql/my_xml.h -include/mysql/plugin_audit.h -include/mysql/plugin_ftparser.h -include/mysql/plugin_group_replication.h -include/mysql/plugin.h -include/mysql/plugin_keyring.h -include/mysql/plugin_validate_password.h -include/mysql/sql_common.h -include/mysql/sql_state.h -include/mysql/sslopt-case.h -include/mysql/sslopt-longopts.h -include/mysql/sslopt-vars.h -include/mysql/thr_cond.h -include/mysql/thr_mutex.h -include/mysql/thr_rwlock.h -include/mysql/typelib.h -lib/mysql/libmysqlclient_r.a -lib/mysql/libmysqlclient_r.so -lib/mysql/libmysqlclient_r.so.20 -lib/mysql/libmysqlclient.so -lib/mysql/libmysqlclient.so.20 -lib/mysql/libperconaserverclient.a -lib/mysql/libperconaserverclient.so -lib/mysql/libperconaserverclient.so.20 -%%SASLCLIENT%%lib/mysql/plugin/authentication_ldap_sasl_client.so -libdata/pkgconfig/mysqlclient.pc -libdata/pkgconfig/perconaserverclient.pc -share/man/man1/comp_err.1.gz -share/man/man1/mysql.1.gz -share/man/man1/mysqladmin.1.gz -share/man/man1/mysqlbinlog.1.gz -share/man/man1/mysqlcheck.1.gz -share/man/man1/mysql_config.1.gz -share/man/man1/mysql_config_editor.1.gz -share/man/man1/mysqldump.1.gz -share/man/man1/mysqlimport.1.gz -share/man/man1/mysqlshow.1.gz -share/man/man1/mysqlslap.1.gz -share/aclocal/mysql.m4 diff --git a/databases/percona57-pam-for-mysql/Makefile b/databases/percona57-pam-for-mysql/Makefile deleted file mode 100644 index 9614290ce116..000000000000 --- a/databases/percona57-pam-for-mysql/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -PORTNAME= percona57 -PORTREVISION?= 0 -PKGNAMESUFFIX= -pam-for-mysql - -COMMENT= PAM plugin for MySQL -WWW= https://www.percona.com/ - -LICENSE= GPLv2+ - -RUN_DEPENDS=# This plugin has no run dependencies. It should work with any desired mysql client/server. - -MASTERDIR= ${.CURDIR}/../percona57-server - -PKGMESSAGE= ${.CURDIR}/pkg-message -PATCHDIR= ${MASTERDIR}/files -FILESDIR= ${.CURDIR}/files -PLIST= ${.CURDIR}/pkg-plist -DESCR= ${.CURDIR}/pkg-descr - -CONFLICTS_INSTALL= percona5[0-68-9]-pam-for-mysql* \ - percona-pam-for-mysql* - -CMAKE_ARGS+= -DWITH_PAM=1 - -PLUGIN_ONLY= yes - -do-install: - (cd ${WRKSRC}/plugin/percona-pam-for-mysql && ${MAKE} ${MAKE_ARGS} install) - ${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/mysqld.sample - -.include "${MASTERDIR}/Makefile" diff --git a/databases/percona57-pam-for-mysql/files/pam.conf b/databases/percona57-pam-for-mysql/files/pam.conf deleted file mode 100644 index 0e75199574ba..000000000000 --- a/databases/percona57-pam-for-mysql/files/pam.conf +++ /dev/null @@ -1,12 +0,0 @@ -# -# PAM configuration for the "mysqld" service -# - -# auth -auth include system - -# account -account include system - -# password -password include system diff --git a/databases/percona57-pam-for-mysql/files/patch-cmake_build__configurations_compiler__options.cmake b/databases/percona57-pam-for-mysql/files/patch-cmake_build__configurations_compiler__options.cmake deleted file mode 100644 index 4eca5cfb5df9..000000000000 --- a/databases/percona57-pam-for-mysql/files/patch-cmake_build__configurations_compiler__options.cmake +++ /dev/null @@ -1,20 +0,0 @@ ---- cmake/build_configurations/compiler_options.cmake.orig 2016-08-25 11:52:06 UTC -+++ cmake/build_configurations/compiler_options.cmake -@@ -50,7 +50,7 @@ IF(UNIX) - IF(CMAKE_COMPILER_IS_GNUCC) - SET(COMMON_C_FLAGS "-fno-omit-frame-pointer -fno-strict-aliasing") - IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) # gcc-9 or older -- SET(COMMON_C_FLAGS "-fabi-version=2 ${COMMON_C_FLAGS}") -+ SET(COMMON_C_FLAGS "${COMMON_C_FLAGS}") - ENDIF() - # Disable inline optimizations for valgrind testing to avoid false positives - IF(WITH_VALGRIND) -@@ -77,7 +77,7 @@ IF(UNIX) - IF(CMAKE_COMPILER_IS_GNUCXX) - SET(COMMON_CXX_FLAGS "-g -fno-omit-frame-pointer -fno-strict-aliasing") - IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) # gcc-9 or older -- SET(COMMON_CXX_FLAGS "-fabi-version=2 ${COMMON_CXX_FLAGS}") -+ SET(COMMON_CXX_FLAGS "${COMMON_CXX_FLAGS}") - ENDIF() - # GCC 6 has C++14 as default, set it explicitly to the old default. - EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion diff --git a/databases/percona57-pam-for-mysql/files/patch-cmake_os_DragonFly.cmake b/databases/percona57-pam-for-mysql/files/patch-cmake_os_DragonFly.cmake deleted file mode 100644 index 83c154ee3bcf..000000000000 --- a/databases/percona57-pam-for-mysql/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/percona57-pam-for-mysql/files/patch-cmake_os_FreeBSD.cmake b/databases/percona57-pam-for-mysql/files/patch-cmake_os_FreeBSD.cmake deleted file mode 100644 index 9e9043f341ae..000000000000 --- a/databases/percona57-pam-for-mysql/files/patch-cmake_os_FreeBSD.cmake +++ /dev/null @@ -1,25 +0,0 @@ ---- cmake/os/FreeBSD.cmake.orig 2018-10-04 05:48:22 UTC -+++ cmake/os/FreeBSD.cmake -@@ -37,8 +37,20 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER) - IF(NOT HAVE_SUPPORTED_CLANG_VERSION) - MESSAGE(FATAL_ERROR "Clang 3.3 or newer is required!") - ENDIF() -- ELSE() -- MESSAGE(FATAL_ERROR "Unsupported compiler!") -+ CHECK_C_SOURCE_RUNS(" -+ int main() -+ { -+ return (__clang_major__ >= 4); -+ }" I386_ATOMIC_BUILTINS) -+ IF((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (NOT I386_ATOMIC_BUILTINS)) -+ SET(HAVE_GCC_ATOMIC_BUILTINS CACHE INTERNAL "") -+ ENDIF() -+ ELSEIF(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() - ENDIF() - ENDIF() - diff --git a/databases/percona57-pam-for-mysql/pkg-descr b/databases/percona57-pam-for-mysql/pkg-descr deleted file mode 100644 index 0d2b72f09ae3..000000000000 --- a/databases/percona57-pam-for-mysql/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -Percona PAM authentication plugin for MySQL. diff --git a/databases/percona57-pam-for-mysql/pkg-message b/databases/percona57-pam-for-mysql/pkg-message deleted file mode 100644 index 4bade43b0850..000000000000 --- a/databases/percona57-pam-for-mysql/pkg-message +++ /dev/null @@ -1,16 +0,0 @@ -[ -{ type: install - message: <<EOM -Documentation for using percona-pam-for-mysql authentication plugin can -be found at: - -https://www.percona.com/doc/percona-pam-for-mysql/index.html - -Please note that you need this plugin installed on both the client and -server for authentication to be successful. - -This version of the plugin is compatible with the new auth plugin API -introduced in MySQL 5.7. -EOM -} -] diff --git a/databases/percona57-pam-for-mysql/pkg-plist b/databases/percona57-pam-for-mysql/pkg-plist deleted file mode 100644 index 45350d3e7caf..000000000000 --- a/databases/percona57-pam-for-mysql/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@sample etc/pam.d/mysqld.sample -lib/mysql/plugin/auth_pam.so -lib/mysql/plugin/auth_pam_compat.so -lib/mysql/plugin/dialog.so diff --git a/databases/percona57-server/Makefile b/databases/percona57-server/Makefile deleted file mode 100644 index dd10241c59be..000000000000 --- a/databases/percona57-server/Makefile +++ /dev/null @@ -1,188 +0,0 @@ -PORTNAME?= percona -DISTVERSION= 5.7.42-46 -PORTREVISION?= 0 -CATEGORIES= databases -MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \ - SF/boost/boost/1.59.0:boost -PKGNAMESUFFIX?= 57-server -DISTNAME= percona-server-${DISTVERSION} -DISTFILES= percona-server-${DISTVERSION}${EXTRACT_SUFX}:percona \ - boost_1_59_0${EXTRACT_SUFX}:boost - -MAINTAINER= fluffy@FreeBSD.org -COMMENT?= Multithreaded SQL database (server) -WWW?= https://www.percona.com/software/percona-server - -LICENSE?= GPLv2+ -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Upstream EOL reaches on 2023-10-01 -EXPIRATION_DATE= 2023-10-01 -IGNORE_SSL= openssl30 openssl31 -IGNORE_SSL_REASON= Upstream only supports upto OpenSSL 1.1.1 branch - -CPE_VENDOR= percona -CPE_PRODUCT= percona_server - -LIB_DEPENDS= libevent.so:devel/libevent \ - liblz4.so:archivers/liblz4 \ - libzstd.so:archivers/zstd - -SLAVEDIRS= databases/percona57-client \ - databases/percona57-pam-for-mysql -USES= bison:build cmake:insource,noninja compiler:c11 \ - cpe libedit localbase perl5 shebangfix ssl - -MY_DBDIR= /var/db/mysql -MY_SECDIR= /var/db/mysql_secure -MY_TMPDIR= /var/db/mysql_tmpdir - -DATADIR= ${LOCALBASE}/share/mysql -DOCSDIR= ${LOCALBASE}/share/doc/mysql - -CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \ - -DINSTALL_DOCDIR="share/doc/mysql" \ - -DINSTALL_LDCONFIGDIR="${LOCALBASE}/libdata/ldconfig" \ - -DINSTALL_PKGCONFIGDIR="${LOCALBASE}/libdata/pkgconfig" \ - -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ - -DINSTALL_INCLUDEDIR="include/mysql" \ - -DINSTALL_INFODIR="${INFO_PATH}" \ - -DINSTALL_LIBDIR="lib/mysql" \ - -DINSTALL_MANDIR="share/man" \ - -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ - -DINSTALL_SECURE_FILE_PRIVDIR="${MY_SECDIR}" \ - -DINSTALL_MYSQLSHAREDIR="share/mysql" \ - -DINSTALL_MYSQLTESTDIR=0 \ - -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ - -DINSTALL_SBINDIR="libexec" \ - -DINSTALL_SCRIPTDIR="bin" \ - -DINSTALL_SHAREDIR="share" \ - -DINSTALL_SQLBENCHDIR="share/mysql" \ - -DINSTALL_SUPPORTFILESDIR="share/mysql" \ - -DWITH_UNIT_TESTS=0 \ - -DWITH_EDITLINE=system \ - -DWITH_LIBEVENT=system \ - -DWITH_LIBWRAP=0 \ - -DWITH_LZ4=system \ - -DWITH_ZLIB=system \ - -DWITH_ZSTD=system \ - -DWITH_ROCKSDB=0 \ - -DWITH_BOOST="${WRKDIR}/boost_1_59_0" - -SHEBANG_FILES= scripts/*.pl* scripts/*.sh - -.ifdef USE_MYSQL -.error 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} - -.ifdef CLIENT_ONLY -# Client part -USES+= libedit -.elifdef PLUGIN_ONLY -# For building plugins (percona-pam-for-mysql, etc) -# Currently do nothing special -USES+= libedit -LIB_DEPENDS+= libcurl.so:ftp/curl -.else -LIB_DEPENDS+= libcurl.so:ftp/curl - -# MySQL-Server part -OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED TOKUDB -OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED -OPTIONS_SUB= yes - -FASTMTX_DESC= Replace mutexes with spinlocks -FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 -INNODBMEMCACHED_DESC= InnoDB Memcached plugin -INNODBMEMCACHED_CMAKE_ON= -DWITH_INNODB_MEMCACHED=1 -OPENSSL_CMAKE_ON= -DWITH_SSL="${MY_SSL}" -OPENSSL_USES= ssl -TOKUDB_DESC= TokuDB Engine (experimental) -TOKUDB_CMAKE_ON= -DUSE_CTAGS=0 -TOKUDB_EXTRA_PATCHES=${PATCHDIR}/extrapatch-tokudb - -USES+=mysql:57p - -CONFLICTS_INSTALL= mysql*-server \ - mysqlwsrep*-server \ - mariadb*-server \ - percona*-server - -USE_RC_SUBR= mysql-server - -USERS= mysql -GROUPS= mysql - -INFO= mysql - -USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin - -MANPAGES= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ - mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ - mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ - mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ - mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ - mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 - -CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" -# issue 220865: Currently there's no source to be built with server-side support. -# But this keeps the pkg-plist not overlaping -CMAKE_ARGS+= -DWITH_AUTHENTICATION_LDAP=0 - -.include <bsd.port.options.mk> - -#.if !${SSL_DEFAULT:Mlibressl*} -#MY_TESTDIR= "share/mysql/tests" -#.else -#MY_TESTDIR= "" -#.endif - -post-install: - ${MKDIR} ${STAGEDIR}/var/db/mysql - ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring - ${MKDIR} ${STAGEDIR}${MY_SECDIR} - ${MKDIR} ${STAGEDIR}${MY_TMPDIR} -.endif - -post-patch: - @${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt - # issue 220865: MySQL developers forgot that FreeBSD != Linux - @${REINPLACE_CMD} -e 's|%%FREEBSD_LOCAL_LIB%%|${LOCALBASE}/lib|g' \ - ${WRKSRC}/configure.cmake - @${REINPLACE_CMD} -e 's|__clang__|__undefined__|g' \ - ${WRKDIR}/boost_1_59_0/boost/atomic/detail/ops_gcc_x86_dcas.hpp - -.include <bsd.port.pre.mk> - -# Workaround to clang11/gcc10 with -fno-common by default -CFLAGS+= -fcommon - -.if ${CHOSEN_COMPILER_TYPE} == gcc -CXXFLAGS+= -fpermissive -.endif - -.if ${ARCH} == "arm" -BROKEN= Does not compile on arm -.endif - -.if ${SSL_DEFAULT} == base -MY_SSL= system -.else -MY_SSL= ${OPENSSLBASE} -.endif - -.if ${PORT_OPTIONS:MTOKUDB} -NOT_FOR_ARCHS= i386 -NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \ - https://github.com/percona/PerconaFT/blob/master/README.md -.endif - -.include <bsd.port.post.mk> diff --git a/databases/percona57-server/distinfo b/databases/percona57-server/distinfo deleted file mode 100644 index a6584ee758ab..000000000000 --- a/databases/percona57-server/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1686081932 -SHA256 (percona-server-5.7.42-46.tar.gz) = 9a8864f7b868472ae5dc0a79388515d2c88c51c2a0a0631bff081e2e444150bc -SIZE (percona-server-5.7.42-46.tar.gz) = 91600347 -SHA256 (boost_1_59_0.tar.gz) = 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac -SIZE (boost_1_59_0.tar.gz) = 83709983 diff --git a/databases/percona57-server/files/extra-patch-config.h.cmake b/databases/percona57-server/files/extra-patch-config.h.cmake deleted file mode 100644 index 4ea465832fb4..000000000000 --- a/databases/percona57-server/files/extra-patch-config.h.cmake +++ /dev/null @@ -1,29 +0,0 @@ ---- Makefile -+++ Makefile -@@ -95,8 +95,8 @@ post-patch: - - .include <bsd.port.pre.mk> - --.if ${ARCH} == "arm" --BROKEN= Does not compile on arm -+.if ${ARCH} == "armv6" -+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.h.cmake - .endif - - .include <bsd.port.post.mk> - ---- /dev/null -+++ files/extra-patch-config.h.cmake -@@ -0,0 +1,12 @@ -+--- config.h.cmake.orig 2014-12-05 16:24:02 UTC -++++ config.h.cmake -+@@ -151,7 +151,8 @@ -+ #cmakedefine HAVE_FESETROUND 1 -+ #cmakedefine HAVE_FINITE 1 -+ #cmakedefine HAVE_FP_EXCEPT 1 -+-#cmakedefine HAVE_FPSETMASK 1 -++#cmakedefine HAVE_FPSETMASK 0 -++#cmakedefine HAVE_FEDISABLEEXCEPT 1 -+ #cmakedefine HAVE_FSEEKO 1 -+ #cmakedefine HAVE_FSYNC 1 -+ #cmakedefine HAVE_FTIME 1 diff --git a/databases/percona57-server/files/extrapatch-tokudb b/databases/percona57-server/files/extrapatch-tokudb deleted file mode 100644 index bddd008e4ea5..000000000000 --- a/databases/percona57-server/files/extrapatch-tokudb +++ /dev/null @@ -1,95 +0,0 @@ ---- storage/tokudb/CMakeLists.txt.orig 2016-03-03 15:32:33.000000000 +0200 -+++ storage/tokudb/CMakeLists.txt 2016-03-08 10:13:58.000000000 +0200 -@@ -40,8 +40,8 @@ - ENDIF () - - # check platform support, no 32 bit --IF (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") -- MESSAGE (${TOKUDB_STATUS_MODE} "x86_64 is only platform supported. ${CMAKE_SYSTEM_PROCESSOR} found. Not building TokuDB") -+IF (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64") -+ MESSAGE (${TOKUDB_STATUS_MODE} "amd64 is only platform supported. ${CMAKE_SYSTEM_PROCESSOR} found. Not building TokuDB") - RETURN () - ENDIF () - -@@ -118,5 +118,5 @@ - tokudb_thread.cc) - MYSQL_ADD_PLUGIN(tokudb ${TOKUDB_SOURCES} STORAGE_ENGINE MODULE_ONLY - LINK_LIBRARIES tokufractaltree_static tokuportability_static ${ZLIB_LIBRARY} stdc++) --SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} -flto -fuse-linker-plugin") --SET(CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO} -flto -fuse-linker-plugin") -+SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} ") -+SET(CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO} ") ---- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/CMakeLists.txt.orig 2016-03-03 15:31:53.000000000 +0200 -+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/CMakeLists.txt 2016-03-10 11:13:23.772664272 +0200 -@@ -69,7 +69,7 @@ - endif () - endfunction(add_space_separated_property) - --set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -flto -UNDEBUG") -+set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -UNDEBUG") - if (NOT CMAKE_CXX_COMPILER_ID MATCHES Clang) - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") - endif () ---- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/backup.cc.orig 2016-03-03 15:31:53.000000000 +0200 -+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/backup.cc 2016-03-08 10:40:07.000000000 +0200 -@@ -85,7 +85,7 @@ - if (oflag & O_CREAT) { - va_list ap; - va_start(ap, oflag); -- mode_t mode = va_arg(ap, mode_t); -+ mode_t mode = va_arg(ap, int); - va_end(ap); - the_manager.lock_file_op(); - fd = call_real_open(file, oflag, mode); ---- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/file_hash_table.cc.orig 2016-03-03 15:31:53.000000000 +0200 -+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/file_hash_table.cc 2016-03-08 10:37:19.000000000 +0200 -@@ -36,7 +36,7 @@ - - #include <string.h> - #include <pthread.h> --#include <malloc.h> -+#include <stdlib.h> - #include <stdio.h> - - #include "source_file.h" ---- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/real_syscalls.cc.orig 2016-03-03 15:31:53.000000000 +0200 -+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/real_syscalls.cc 2016-03-08 10:38:58.000000000 +0200 -@@ -104,7 +104,7 @@ - if (oflag & O_CREAT) { - va_list op; - va_start(op, oflag); -- mode_t mode = va_arg(op, mode_t); -+ mode_t mode = va_arg(op, int); - va_end(op); - return real_open(file, oflag, mode); - } else { ---- storage/tokudb/PerconaFT/CMakeLists.txt.orig 2016-06-30 13:35:08.000000000 +0200 -+++ storage/tokudb/PerconaFT/CMakeLists.txt 2016-07-29 23:07:37.871068000 +0200 -@@ -82,7 +82,7 @@ - - install( - FILES README.md COPYING.AGPLv3 COPYING.GPLv2 PATENTS -- DESTINATION . -+ DESTINATION ${INSTALL_DOCDIR} - COMPONENT tokukv_misc - ) - ---- storage/tokudb/PerconaFT/buildheader/CMakeLists.txt.orig 2016-07-29 23:30:26.557847000 +0200 -+++ storage/tokudb/PerconaFT/buildheader/CMakeLists.txt 2016-07-29 23:30:32.695950000 +0200 -@@ -1,6 +1,6 @@ - set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "") - --file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/bash -+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/sh - out=$1; shift - exec \"$@\" >$out") - -@@ -8,7 +8,7 @@ - set_property(TARGET make_tdb APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE) - add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/db.h" -- COMMAND bash runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb> -+ COMMAND sh runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb> - DEPENDS make_tdb) - add_custom_target(install_tdb_h DEPENDS - "${CMAKE_CURRENT_BINARY_DIR}/db.h") diff --git a/databases/percona57-server/files/mysql-server.in b/databases/percona57-server/files/mysql-server.in deleted file mode 100644 index b482eeb2a008..000000000000 --- a/databases/percona57-server/files/mysql-server.in +++ /dev/null @@ -1,84 +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. -# Default to "${mysql_confdir}/my.cnf". -# 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_dbdir="%%MY_DBDIR%%"} -: ${mysql_confdir="%%ETCDIR%%"} -if [ -f "${mysql_dbdir}/my.cnf" ]; then -: ${mysql_optfile="${mysql_dbdir}/my.cnf"} -else -: ${mysql_optfile="${mysql_confdir}/my.cnf"} -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 --defaults-extra-file=${mysql_optfile} --basedir=%%PREFIX%% --datadir=${mysql_dbdir} --pid-file=${pidfile} --user=${mysql_user} ${mysql_args}" -procname="%%PREFIX%%/libexec/mysqld" -start_precmd="${name}_prestart" -start_postcmd="${name}_poststart" -mysql_install_db="%%PREFIX%%/bin/mysql_install_db" -mysql_install_db_args="--defaults-extra-file=${mysql_optfile} --basedir=%%PREFIX%% --datadir=${mysql_dbdir} --mysqld-file=${procname} --user=${mysql_user}" - -mysql_create_auth_tables() -{ - eval $mysql_install_db $mysql_install_db_args >/dev/null 2>/dev/null -} - -mysql_prestart() -{ - if [ -f "${mysql_dbdir}/my.cnf" ]; then - echo "" - echo "Please keep in mind that the default location for my.cnf has changed" - echo "from \"%%MY_DBDIR%%/my.cnf\" to \"%%ETCDIR%%/my.cnf\". " - echo "Please merge your existing my.cnf with the new default and move" - echo "it to \"%%ETCDIR%%/my.cnf\"." - echo "If you do not want to move your my.cnf to the new location then" - echo "you must set \"mysql_optfile\" in /etc/rc.conf to \"/var/db/mysql/my.cnf\"." - echo "" - fi - - 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/percona57-server/files/patch-CMakeLists.txt b/databases/percona57-server/files/patch-CMakeLists.txt deleted file mode 100644 index 47c8a57168cb..000000000000 --- a/databases/percona57-server/files/patch-CMakeLists.txt +++ /dev/null @@ -1,40 +0,0 @@ ---- CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ CMakeLists.txt -@@ -621,12 +621,10 @@ IF(UNIX) - ENDIF() - - IF(NOT WITHOUT_SERVER) -- ADD_SUBDIRECTORY(testclients) - ADD_SUBDIRECTORY(sql) - OPTION (WITH_EMBEDDED_SERVER "Compile MySQL with embedded server" OFF) - IF(WITH_EMBEDDED_SERVER) - ADD_SUBDIRECTORY(libmysqld) -- ADD_SUBDIRECTORY(libmysqld/examples) - ENDIF(WITH_EMBEDDED_SERVER) - ENDIF() - -@@ -635,8 +633,6 @@ ENDIF() - ADD_SUBDIRECTORY(scripts) - - IF(NOT WITHOUT_SERVER) -- ADD_SUBDIRECTORY(mysql-test) -- ADD_SUBDIRECTORY(mysql-test/lib/My/SafeProcess) - ADD_SUBDIRECTORY(support-files) - IF(EXISTS ${CMAKE_SOURCE_DIR}/internal/CMakeLists.txt) - ADD_SUBDIRECTORY(internal) -@@ -692,6 +688,7 @@ ENDIF() - # - # RPM installs documentation directly from the source tree - # -+IF(FALSE) - IF(NOT INSTALL_LAYOUT MATCHES "RPM") - INSTALL(FILES - README -@@ -714,6 +711,7 @@ IF(NOT INSTALL_LAYOUT MATCHES "RPM") - PATTERN "sp-imp-spec.txt" EXCLUDE - ) - ENDIF() -+ENDIF() - - INCLUDE(CPack) - diff --git a/databases/percona57-server/files/patch-client_CMakeLists.txt b/databases/percona57-server/files/patch-client_CMakeLists.txt deleted file mode 100644 index e89ab375d99c..000000000000 --- a/databases/percona57-server/files/patch-client_CMakeLists.txt +++ /dev/null @@ -1,83 +0,0 @@ ---- client/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ client/CMakeLists.txt -@@ -32,8 +32,6 @@ INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compil - - ## Subdirectory with common client code. - ADD_SUBDIRECTORY(base) --## Subdirectory for mysqlpump code. --ADD_SUBDIRECTORY(dump) - - ## We will need libeay32.dll and ssleay32.dll when running client executables. - COPY_OPENSSL_DLLS(copy_openssl_client) -@@ -41,11 +39,13 @@ COPY_OPENSSL_DLLS(copy_openssl_client) - INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake) - - ADD_DEFINITIONS(${SSL_DEFINES}) -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc ../sql-common/sql_string.cc) - TARGET_LINK_LIBRARIES(mysql perconaserverclient) - IF(UNIX) - TARGET_LINK_LIBRARIES(mysql ${MY_READLINE_LIBRARY}) - ENDIF(UNIX) -+ENDIF() - - IF(NOT WITHOUT_SERVER) - MYSQL_ADD_EXECUTABLE(mysql_upgrade -@@ -65,6 +65,7 @@ TARGET_LINK_LIBRARIES(mysqltest perconas - ADD_CONVENIENCE_LIBRARY(mysqlcheck_core check/mysqlcheck_core.cc) - TARGET_LINK_LIBRARIES(mysqlcheck_core perconaserverclient) - -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(mysqlcheck check/mysqlcheck.cc) - TARGET_LINK_LIBRARIES(mysqlcheck mysqlcheck_core) - -@@ -77,10 +78,12 @@ TARGET_LINK_LIBRARIES(mysqlimport percon - - MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c) - TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient) -+ENDIF() - - MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c) - TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient) - -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc) - ADD_COMPILE_FLAGS( - mysqlbinlog.cc -@@ -97,9 +100,12 @@ TARGET_LINK_LIBRARIES(mysqlslap perconas - - MYSQL_ADD_EXECUTABLE(mysql_config_editor mysql_config_editor.cc) - TARGET_LINK_LIBRARIES(mysql_config_editor ${FORCE_SSL_SOLARIS} perconaserverclient) -+ENDIF() - -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(mysql_secure_installation mysql_secure_installation.cc) - TARGET_LINK_LIBRARIES(mysql_secure_installation perconaserverclient) -+ENDIF() - - IF(UNIX AND NOT WITHOUT_SERVER) - MYSQL_ADD_EXECUTABLE(mysql_install_db -@@ -112,9 +118,11 @@ IF(UNIX AND NOT WITHOUT_SERVER) - ADD_DEPENDENCIES(mysql_install_db GenBootstrapPriv GenSysSchema) - ENDIF() - -+IF(FALSE) - MYSQL_ADD_EXECUTABLE(mysql_ssl_rsa_setup mysql_ssl_rsa_setup.cc path.cc logger.cc) - TARGET_LINK_LIBRARIES(mysql_ssl_rsa_setup mysys mysys_ssl) - SET_TARGET_PROPERTIES(mysql_ssl_rsa_setup PROPERTIES LINKER_LANGUAGE CXX) -+ENDIF() - - # "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/". - IF(WIN32) -@@ -123,11 +131,6 @@ ENDIF(WIN32) - - SET_TARGET_PROPERTIES ( - mysql_plugin -- mysqlcheck -- mysqldump -- mysqlimport -- mysqlshow -- mysqlslap - PROPERTIES HAS_CXX TRUE) - - ADD_DEFINITIONS(-DHAVE_DLOPEN) diff --git a/databases/percona57-server/files/patch-cmake_build__configurations_compiler__options.cmake b/databases/percona57-server/files/patch-cmake_build__configurations_compiler__options.cmake deleted file mode 100644 index 4eca5cfb5df9..000000000000 --- a/databases/percona57-server/files/patch-cmake_build__configurations_compiler__options.cmake +++ /dev/null @@ -1,20 +0,0 @@ ---- cmake/build_configurations/compiler_options.cmake.orig 2016-08-25 11:52:06 UTC -+++ cmake/build_configurations/compiler_options.cmake -@@ -50,7 +50,7 @@ IF(UNIX) - IF(CMAKE_COMPILER_IS_GNUCC) - SET(COMMON_C_FLAGS "-fno-omit-frame-pointer -fno-strict-aliasing") - IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) # gcc-9 or older -- SET(COMMON_C_FLAGS "-fabi-version=2 ${COMMON_C_FLAGS}") -+ SET(COMMON_C_FLAGS "${COMMON_C_FLAGS}") - ENDIF() - # Disable inline optimizations for valgrind testing to avoid false positives - IF(WITH_VALGRIND) -@@ -77,7 +77,7 @@ IF(UNIX) - IF(CMAKE_COMPILER_IS_GNUCXX) - SET(COMMON_CXX_FLAGS "-g -fno-omit-frame-pointer -fno-strict-aliasing") - IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) # gcc-9 or older -- SET(COMMON_CXX_FLAGS "-fabi-version=2 ${COMMON_CXX_FLAGS}") -+ SET(COMMON_CXX_FLAGS "${COMMON_CXX_FLAGS}") - ENDIF() - # GCC 6 has C++14 as default, set it explicitly to the old default. - EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion diff --git a/databases/percona57-server/files/patch-cmake_os_DragonFly.cmake b/databases/percona57-server/files/patch-cmake_os_DragonFly.cmake deleted file mode 100644 index 83c154ee3bcf..000000000000 --- a/databases/percona57-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/percona57-server/files/patch-cmake_os_FreeBSD.cmake b/databases/percona57-server/files/patch-cmake_os_FreeBSD.cmake deleted file mode 100644 index 9e9043f341ae..000000000000 --- a/databases/percona57-server/files/patch-cmake_os_FreeBSD.cmake +++ /dev/null @@ -1,25 +0,0 @@ ---- cmake/os/FreeBSD.cmake.orig 2018-10-04 05:48:22 UTC -+++ cmake/os/FreeBSD.cmake -@@ -37,8 +37,20 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER) - IF(NOT HAVE_SUPPORTED_CLANG_VERSION) - MESSAGE(FATAL_ERROR "Clang 3.3 or newer is required!") - ENDIF() -- ELSE() -- MESSAGE(FATAL_ERROR "Unsupported compiler!") -+ CHECK_C_SOURCE_RUNS(" -+ int main() -+ { -+ return (__clang_major__ >= 4); -+ }" I386_ATOMIC_BUILTINS) -+ IF((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (NOT I386_ATOMIC_BUILTINS)) -+ SET(HAVE_GCC_ATOMIC_BUILTINS CACHE INTERNAL "") -+ ENDIF() -+ ELSEIF(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() - ENDIF() - ENDIF() - diff --git a/databases/percona57-server/files/patch-cmake_plugin.cmake b/databases/percona57-server/files/patch-cmake_plugin.cmake deleted file mode 100644 index a52ef25c7b24..000000000000 --- a/databases/percona57-server/files/patch-cmake_plugin.cmake +++ /dev/null @@ -1,25 +0,0 @@ ---- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC -+++ cmake/plugin.cmake -@@ -278,13 +278,17 @@ MACRO(MYSQL_ADD_PLUGIN) - MYSQL_INSTALL_TARGETS(${target} - DESTINATION ${INSTALL_PLUGINDIR} - COMPONENT ${INSTALL_COMPONENT}) -- INSTALL_DEBUG_TARGET(${target} -- DESTINATION ${INSTALL_PLUGINDIR}/debug -- COMPONENT ${INSTALL_COMPONENT}) -+ IF(CMAKE_BUILD_TYPE MATCHES "Debug") -+ INSTALL_DEBUG_TARGET(${target} -+ DESTINATION ${INSTALL_PLUGINDIR}/debug -+ COMPONENT ${INSTALL_COMPONENT}) -+ # Add installed files to list for RPMs -+ FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files -+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n") -+ ENDIF() - # Add installed files to list for RPMs - FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files -- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n" -- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n") -+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n") - # For internal testing in PB2, append collections files - IF(DEFINED ENV{PB2WORKDIR}) - PLUGIN_APPEND_COLLECTIONS(${plugin}) diff --git a/databases/percona57-server/files/patch-cmake_ssl.cmake b/databases/percona57-server/files/patch-cmake_ssl.cmake deleted file mode 100644 index 7a73266ce4c8..000000000000 --- a/databases/percona57-server/files/patch-cmake_ssl.cmake +++ /dev/null @@ -1,23 +0,0 @@ ---- cmake/ssl.cmake.orig 2022-08-05 18:25:13 UTC -+++ cmake/ssl.cmake -@@ -246,7 +246,8 @@ MACRO (MYSQL_CHECK_SSL) - ) - SET(OPENSSL_VERSION ${OPENSSL_VERSION} CACHE INTERNAL "") - -- IF("${OPENSSL_VERSION}" VERSION_GREATER "1.1.0") -+ CHECK_SYMBOL_EXISTS(TLS1_3_VERSION "openssl/tls1.h" HAVE_TLS1_3_VERSION) -+ IF(HAVE_TLS1_3_VERSION) - ADD_DEFINITIONS(-DHAVE_TLSv13) - SET(HAVE_TLSv13 1) - IF(SOLARIS) -@@ -258,8 +259,7 @@ MACRO (MYSQL_CHECK_SSL) - ENDIF() - IF(OPENSSL_INCLUDE_DIR AND - OPENSSL_LIBRARY AND -- CRYPTO_LIBRARY AND -- (OPENSSL_MAJOR_VERSION STREQUAL "1" OR OPENSSL_MAJOR_VERSION STREQUAL "3") -+ CRYPTO_LIBRARY - ) - SET(OPENSSL_FOUND TRUE) - ELSE() - diff --git a/databases/percona57-server/files/patch-configure.cmake b/databases/percona57-server/files/patch-configure.cmake deleted file mode 100644 index 81ab9495aac3..000000000000 --- a/databases/percona57-server/files/patch-configure.cmake +++ /dev/null @@ -1,15 +0,0 @@ ---- configure.cmake.orig 2018-01-16 23:26:09 UTC -+++ configure.cmake -@@ -43,6 +43,12 @@ IF(UNIX) - ENDIF() - - -+IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -+ SET(CMAKE_SHARED_LIBRARY_C_FLAGS -+ "${CMAKE_SHARED_LIBRARY_C_FLAGS} ${CMAKE_C_FLAGS} -L%%FREEBSD_LOCAL_LIB%%") -+ENDIF() -+ -+ - IF(CMAKE_SYSTEM_NAME MATCHES "SunOS" AND CMAKE_COMPILER_IS_GNUCXX) - ## We will be using gcc to generate .so files - ## Add C flags (e.g. -m64) to CMAKE_SHARED_LIBRARY_C_FLAGS diff --git a/databases/percona57-server/files/patch-include_CMakeLists.txt b/databases/percona57-server/files/patch-include_CMakeLists.txt deleted file mode 100644 index c047677002a0..000000000000 --- a/databases/percona57-server/files/patch-include_CMakeLists.txt +++ /dev/null @@ -1,19 +0,0 @@ ---- include/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ include/CMakeLists.txt -@@ -69,14 +69,13 @@ SET(HEADERS - ${HEADERS_GEN_CONFIGURE} - ) - -+IF(FALSE) - INSTALL(FILES - ../libbinlogevents/export/binary_log_types.h - DESTINATION ${INSTALL_INCLUDEDIR} -- COMPONENT Development) --INSTALL(FILES ${HEADERS} DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development) --INSTALL(DIRECTORY mysql/ DESTINATION ${INSTALL_INCLUDEDIR}/mysql COMPONENT Development - PATTERN "*.h" - PATTERN "psi_abi*" EXCLUDE - ) -+ENDIF() - - diff --git a/databases/percona57-server/files/patch-include_my__compare.h b/databases/percona57-server/files/patch-include_my__compare.h deleted file mode 100644 index 608e15dd8751..000000000000 --- a/databases/percona57-server/files/patch-include_my__compare.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/my_compare.h.orig 2016-11-27 19:44:54 UTC -+++ include/my_compare.h -@@ -40,7 +40,7 @@ extern "C" { - 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/percona57-server/files/patch-include_my__openssl.h b/databases/percona57-server/files/patch-include_my__openssl.h deleted file mode 100644 index 43ddb2935038..000000000000 --- a/databases/percona57-server/files/patch-include_my__openssl.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/my_openssl.h.orig 2020-03-23 17:35:17 UTC -+++ include/my_openssl.h -@@ -51,7 +51,7 @@ extern "C" { - */ - static inline int mysql_OPENSSL_init() - { --#if defined(HAVE_STATIC_OPENSSL) -+#if defined(HAVE_STATIC_OPENSSL) && !defined(LIBRESSL_VERSION_NUMBER) - return OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL); - #else - return SSL_library_init(); diff --git a/databases/percona57-server/files/patch-include_myisam.h b/databases/percona57-server/files/patch-include_myisam.h deleted file mode 100644 index 96bc58628416..000000000000 --- a/databases/percona57-server/files/patch-include_myisam.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/myisam.h.orig 2016-11-27 19:44:54 UTC -+++ include/myisam.h -@@ -45,7 +45,7 @@ extern "C" { - 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/percona57-server/files/patch-include_mysql.h b/databases/percona57-server/files/patch-include_mysql.h deleted file mode 100644 index 906bdb42c4fb..000000000000 --- a/databases/percona57-server/files/patch-include_mysql.h +++ /dev/null @@ -1,13 +0,0 @@ ---- include/mysql.h.orig 2023-02-28 17:21:35 UTC -+++ include/mysql.h -@@ -46,7 +46,10 @@ extern "C" { - #ifndef MYSQL_ABI_CHECK - #include <sys/types.h> - #endif -+#ifndef HAVE_TYPE_MY_BOOL -+#define HAVE_TYPE_MY_BOOL - typedef char my_bool; -+#endif - #if !defined(_WIN32) - #define STDCALL - #else diff --git a/databases/percona57-server/files/patch-libmysql_CMakeLists.txt b/databases/percona57-server/files/patch-libmysql_CMakeLists.txt deleted file mode 100644 index d66517c9ed59..000000000000 --- a/databases/percona57-server/files/patch-libmysql_CMakeLists.txt +++ /dev/null @@ -1,29 +0,0 @@ ---- libmysql/CMakeLists.txt.orig 2018-03-09 22:41:36 UTC -+++ libmysql/CMakeLists.txt -@@ -235,7 +235,7 @@ - ADD_SUBDIRECTORY(authentication_ldap) - - # Merge several convenience libraries into one big perconaserverclient --MERGE_CONVENIENCE_LIBRARIES(perconaserverclient ${LIBS_TO_MERGE} COMPONENT Development) -+MERGE_CONVENIENCE_LIBRARIES(perconaserverclient ${LIBS_TO_MERGE} COMPONENT Development SKIP_INSTALL) - TARGET_LINK_LIBRARIES(perconaserverclient ${LIBS_TO_LINK}) - - # Visual Studio users need debug static library for debug projects -@@ -271,7 +271,8 @@ - # and link them together into shared library. - MERGE_LIBRARIES_SHARED(libmysql ${LIBS_TO_MERGE} - EXPORTS ${CLIENT_API_FUNCTIONS} ${CLIENT_API_FUNCTIONS_UNDOCUMENTED} -- COMPONENT SharedLibraries) -+ COMPONENT SharedLibraries SKIP_INSTALL) - TARGET_LINK_LIBRARIES(libmysql ${LIBS_TO_LINK}) -+IF(FALSE) - IF(UNIX) - # libtool compatability -@@ -327,6 +328,7 @@ - # to initialize api_calls[] array in api_test.c - # - SET(CLIENT_API_FUNCTION_LIST "") -+ENDIF() - FOREACH(api ${CLIENT_API_FUNCTIONS}) - SET(CLIENT_API_FUNCTION_LIST "${CLIENT_API_FUNCTION_LIST} ${api},") - ENDFOREACH() diff --git a/databases/percona57-server/files/patch-libmysql_authentication__ldap_CMakeLists.txt b/databases/percona57-server/files/patch-libmysql_authentication__ldap_CMakeLists.txt deleted file mode 100644 index 805875fb1787..000000000000 --- a/databases/percona57-server/files/patch-libmysql_authentication__ldap_CMakeLists.txt +++ /dev/null @@ -1,20 +0,0 @@ ---- libmysql/authentication_ldap/CMakeLists.txt.orig 2019-02-18 09:11:31.000000000 +0300 -+++ libmysql/authentication_ldap/CMakeLists.txt -@@ -47,7 +47,8 @@ IF(NOT WIN32 AND NOT HAVE_LBER_H) - CROAK_AND_RETURN("Required LBER header is missing.") - ENDIF() - --MYSQL_ADD_PLUGIN(authentication_ldap_sasl_client -+IF (WITH_AUTHENTICATION_LDAP) -+ MYSQL_ADD_PLUGIN(authentication_ldap_sasl_client - auth_ldap_sasl_client.cc - log_client.cc - LINK_LIBRARIES -@@ -57,6 +58,7 @@ MYSQL_ADD_PLUGIN(authentication_ldap_sasl_client - CLIENT_ONLY - MODULE_ONLY - MODULE_OUTPUT_NAME "authentication_ldap_sasl_client") -+ENDIF() - - # The plugin may need symbols which are not loaded by the client. - IF(STATIC_SASL_LIBRARY) diff --git a/databases/percona57-server/files/patch-libservices_CMakeLists.txt b/databases/percona57-server/files/patch-libservices_CMakeLists.txt deleted file mode 100644 index c9190039e613..000000000000 --- a/databases/percona57-server/files/patch-libservices_CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- libservices/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ libservices/CMakeLists.txt -@@ -35,4 +35,6 @@ SET(MYSQLSERVICES_SOURCES - mysql_keyring_service.c) - - ADD_CONVENIENCE_LIBRARY(mysqlservices ${MYSQLSERVICES_SOURCES}) -+IF(FALSE) - INSTALL(TARGETS mysqlservices DESTINATION ${INSTALL_LIBDIR} COMPONENT Development) -+ENDIF() diff --git a/databases/percona57-server/files/patch-man_CMakeLists.txt b/databases/percona57-server/files/patch-man_CMakeLists.txt deleted file mode 100644 index 0d3487cbefe6..000000000000 --- a/databases/percona57-server/files/patch-man_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- man/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ man/CMakeLists.txt -@@ -14,9 +14,7 @@ - # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - # Copy man pages --FILE(GLOB MAN1_FILES *.1) --FILE(GLOB MAN1_EXCLUDE make_win_bin_dist.1) --FILE(GLOB MAN1_NDB ndb*.1) -+FILE(GLOB MAN1_FILES my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1) - FILE(GLOB MAN8_FILES *.8) - FILE(GLOB MAN8_NDB ndb*.8) - IF(MAN1_FILES) diff --git a/databases/percona57-server/files/patch-mysys__ssl_my__crypt.cc b/databases/percona57-server/files/patch-mysys__ssl_my__crypt.cc deleted file mode 100644 index 453c89a71c12..000000000000 --- a/databases/percona57-server/files/patch-mysys__ssl_my__crypt.cc +++ /dev/null @@ -1,39 +0,0 @@ ---- mysys_ssl/my_crypt.cc.orig 2019-05-16 05:06:00 UTC -+++ mysys_ssl/my_crypt.cc -@@ -26,7 +26,7 @@ - #include <boost/move/unique_ptr.hpp> - #include <boost/core/noncopyable.hpp> - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - #define EVP_CIPHER_CTX_buf_noconst(ctx) ((ctx)->buf) - #define RAND_OpenSSL() RAND_SSLeay() - #endif -@@ -80,7 +80,7 @@ class MyEncryptionCTX : private boost::noncopyable (pr - - MyEncryptionCTX::MyEncryptionCTX() - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - ctx= new EVP_CIPHER_CTX(); - EVP_CIPHER_CTX_init(ctx); - #else -@@ -91,7 +91,8 @@ MyEncryptionCTX::MyEncryptionCTX() - MyEncryptionCTX::~MyEncryptionCTX() - { - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02090000fL) - EVP_CIPHER_CTX_cleanup(ctx); - delete ctx; - ERR_remove_thread_state(0); -@@ -340,7 +341,7 @@ int my_aes_crypt(const my_aes_mode mode, int flags, - res2= my_aes_crypt_finish(ctx, dst + d1, &d2); - if (res1 || res2) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - /* in case of failure clear error queue */ - ERR_remove_thread_state(0); - #endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ diff --git a/databases/percona57-server/files/patch-mysys__ssl_my__default.cc b/databases/percona57-server/files/patch-mysys__ssl_my__default.cc deleted file mode 100644 index 83a127b9602c..000000000000 --- a/databases/percona57-server/files/patch-mysys__ssl_my__default.cc +++ /dev/null @@ -1,31 +0,0 @@ ---- mysys_ssl/my_default.cc.orig 2016-11-27 19:44:54 UTC -+++ mysys_ssl/my_default.cc -@@ -114,7 +114,7 @@ static my_bool defaults_already_read= FA - - /* 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 = NULL; - -@@ -1416,7 +1416,10 @@ static const char **init_default_directo - - #if defined(DEFAULT_SYSCONFDIR) - if (DEFAULT_SYSCONFDIR[0]) -+ { - errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs); -+ errors += add_directory(alloc, DEFAULT_SYSCONFDIR "/mysql", dirs); -+ } - #endif /* DEFAULT_SYSCONFDIR */ - - #endif -@@ -1488,7 +1491,7 @@ int check_file_permissions(const char *f - MY_STAT stat_info; - - if (!my_stat(file_name,&stat_info,MYF(0))) -- return 1; -+ return 0; - /* - Ignore .mylogin.cnf file if not exclusively readable/writable - by current user. diff --git a/databases/percona57-server/files/patch-rapid_plugin_group_replication_libmysqlgcs_src_bindings_xcom_xcom_xcom_ssl_transport.c b/databases/percona57-server/files/patch-rapid_plugin_group_replication_libmysqlgcs_src_bindings_xcom_xcom_xcom_ssl_transport.c deleted file mode 100644 index f4cadfc93dff..000000000000 --- a/databases/percona57-server/files/patch-rapid_plugin_group_replication_libmysqlgcs_src_bindings_xcom_xcom_xcom_ssl_transport.c +++ /dev/null @@ -1,37 +0,0 @@ ---- rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.c.orig 2020-03-23 17:35:17 UTC -+++ rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.c -@@ -230,7 +230,7 @@ static int configure_ssl_algorithms(SSL_CTX* ssl_ctx, - const char* tls_version) - { - DH *dh= NULL; --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - /* We support TLS up to 1.2, so explicitly disable TLS 1.3. */ - long ssl_ctx_options= SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1_3; - #else -@@ -255,14 +255,14 @@ static int configure_ssl_algorithms(SSL_CTX* ssl_ctx, - 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_CTX_set_options(ssl_ctx, ssl_ctx_options); - --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - /* We do not support TLS 1.3. - Setting empty TLS 1.3 ciphersuites disables them. */ - if (SSL_CTX_set_ciphersuites(ssl_ctx, "") == 0) -@@ -527,7 +527,7 @@ int xcom_init_ssl(const char *server_key_file, const c - break e.g. ODBC clients (if the client also uses SSL). - */ - --#if defined(HAVE_STATIC_OPENSSL) -+#if defined(HAVE_STATIC_OPENSSL) && !defined(LIBRESSL_VERSION_NUMBER) - OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL); - #else - SSL_library_init(); diff --git a/databases/percona57-server/files/patch-scripts_CMakeLists.txt b/databases/percona57-server/files/patch-scripts_CMakeLists.txt deleted file mode 100644 index 27ef3bb01f37..000000000000 --- a/databases/percona57-server/files/patch-scripts_CMakeLists.txt +++ /dev/null @@ -1,45 +0,0 @@ ---- scripts/CMakeLists.txt.orig 2017-12-11 07:56:49.000000000 +0000 -+++ scripts/CMakeLists.txt 2017-12-31 14:59:46.762799000 +0000 -@@ -332,6 +332,8 @@ - GET_FILENAME_COMPONENT(lib "${lib}" NAME_WE) - STRING(REGEX REPLACE "^lib" "" lib "${lib}") - SET(${var} "${${var}}-l${lib} " ) -+ ELSEIF(lib STREQUAL "-pthread") -+ SET(${var} "${${var}}-pthread " ) - ELSE() - SET(${var} "${${var}}-l${lib} " ) - ENDIF() -@@ -419,7 +421,6 @@ - - IF(WITH_SYSTEMD) - SET(BIN_SCRIPTS -- mysql_config - mysqldumpslow - ps_tokudb_admin - ps_mysqld_helper -@@ -427,7 +428,6 @@ - ) - ELSE() - SET(BIN_SCRIPTS -- mysql_config - mysqldumpslow - mysqld_multi - mysqld_safe -@@ -443,7 +443,7 @@ - ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE} - ESCAPE_QUOTES @ONLY) - -- IF(INSTALL_PKGCONFIGDIR) -+ IF(FALSE) - MESSAGE(STATUS "INSTALL ${PKGCONFIG_FILE} ${INSTALL_PKGCONFIGDIR}") - INSTALL(FILES - ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE} -@@ -464,7 +464,7 @@ - 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}) - CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file} - ${CMAKE_CURRENT_BINARY_DIR}/${file} COPYONLY) diff --git a/databases/percona57-server/files/patch-sql_auth_sha2__password__common.cc b/databases/percona57-server/files/patch-sql_auth_sha2__password__common.cc deleted file mode 100644 index 1d2486c48d20..000000000000 --- a/databases/percona57-server/files/patch-sql_auth_sha2__password__common.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- sql/auth/sha2_password_common.cc.orig 2019-05-16 05:06:00 UTC -+++ sql/auth/sha2_password_common.cc -@@ -146,7 +146,8 @@ bool SHA256_digest::retrieve_digest(unsigned char *dig - DBUG_RETURN(true); - } - m_ok= EVP_DigestFinal_ex(md_context, m_digest, NULL); --#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02070000fL) - EVP_MD_CTX_cleanup(md_context); - #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ - EVP_MD_CTX_reset(md_context); diff --git a/databases/percona57-server/files/patch-sql_locks_shared__spin__lock.cc b/databases/percona57-server/files/patch-sql_locks_shared__spin__lock.cc deleted file mode 100644 index ca63b9f31439..000000000000 --- a/databases/percona57-server/files/patch-sql_locks_shared__spin__lock.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- sql/locks/shared_spin_lock.cc.orig 2021-05-20 11:22:55 UTC -+++ sql/locks/shared_spin_lock.cc -@@ -242,7 +242,7 @@ lock::Shared_spin_lock &lock::Shared_spin_lock::try_or - #if defined(__APPLE__) - my_atomic_store64(&this->m_exclusive_owner, reinterpret_cast<int64>(self)); - #else -- my_atomic_store64(&this->m_exclusive_owner, self); -+ my_atomic_store64(&this->m_exclusive_owner, reinterpret_cast<int64>(self)); - #endif - return (*this); - } diff --git a/databases/percona57-server/files/patch-sql_mysqld.cc b/databases/percona57-server/files/patch-sql_mysqld.cc deleted file mode 100644 index c967c9ea01b1..000000000000 --- a/databases/percona57-server/files/patch-sql_mysqld.cc +++ /dev/null @@ -1,38 +0,0 @@ ---- sql/mysqld.cc.orig 2022-08-05 18:25:13 UTC -+++ sql/mysqld.cc -@@ -1531,6 +1531,16 @@ static void clean_up_mutexes() - ****************************************************************************/ - - /* Initialise proxy protocol. */ -+ -+/* At least OpenBSD and NexentaCore do not -+* define s6_addr32 for user land settings. -+*/ -+#if !defined s6_addr32 && defined __sun__ -+# define s6_addr32 _S6_un._S6_u32 -+#elif !defined s6_addr32 && ( defined __OpenBSD__ || defined __FreeBSD__ ) -+# define s6_addr32 __u6_addr.__u6_addr32 -+#endif /* !defined s6_addr32 */ -+ - static void set_proxy() - { - const char *p; -@@ -3706,6 +3716,7 @@ static int init_ssl() - static int init_ssl() - { - #ifdef HAVE_OPENSSL -+#ifndef LIBRESSL_VERSION_NUMBER - - #if OPENSSL_VERSION_NUMBER >= 0x30000000L - int fips_mode= EVP_default_properties_is_fips_enabled(NULL) && -@@ -3726,7 +3737,9 @@ static int init_ssl() - FIPS_mode_set(0); - #endif - } --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#endif -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ defined(LIBRESSL_VERSION_NUMBER) - CRYPTO_malloc_init(); - #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ - OPENSSL_malloc_init(); diff --git a/databases/percona57-server/files/patch-sql_sys__vars.cc b/databases/percona57-server/files/patch-sql_sys__vars.cc deleted file mode 100644 index 1d1cb73e49a2..000000000000 --- a/databases/percona57-server/files/patch-sql_sys__vars.cc +++ /dev/null @@ -1,38 +0,0 @@ ---- sql/sys_vars.cc.orig 2016-11-27 19:44:54 UTC -+++ sql/sys_vars.cc -@@ -1804,7 +1804,7 @@ static Sys_var_ulong Sys_interactive_tim - "connection before closing it", - SESSION_VAR(net_interactive_timeout), - CMD_LINE(REQUIRED_ARG), -- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1)); -+ VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1)); - - static Sys_var_ulong Sys_join_buffer_size( - "join_buffer_size", -@@ -2696,7 +2696,7 @@ static Sys_var_ulong Sys_net_read_timeou - "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(0), - ON_UPDATE(fix_net_read_timeout)); - -@@ -2720,7 +2720,7 @@ static Sys_var_ulong Sys_net_write_timeo - "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(0), - ON_UPDATE(fix_net_write_timeout)); - -@@ -4406,7 +4406,7 @@ static Sys_var_ulong Sys_net_wait_timeou - "The number of seconds the server waits for activity on a " - "connection before closing it", - SESSION_VAR(net_wait_timeout), CMD_LINE(REQUIRED_ARG), -- VALID_RANGE(1, IF_WIN(INT_MAX32/1000, LONG_TIMEOUT)), -+ VALID_RANGE(1, INT_MAX32/1000), - DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1)); - - static Sys_var_plugin Sys_default_storage_engine( diff --git a/databases/percona57-server/files/patch-storage_innobase_include_srv0mon.h b/databases/percona57-server/files/patch-storage_innobase_include_srv0mon.h deleted file mode 100644 index e023ef0c7708..000000000000 --- a/databases/percona57-server/files/patch-storage_innobase_include_srv0mon.h +++ /dev/null @@ -1,13 +0,0 @@ ---- storage/innobase/include/srv0mon.h.orig 2016-11-27 19:44:54 UTC -+++ storage/innobase/include/srv0mon.h -@@ -34,6 +34,10 @@ Created 12/15/2009 Jimmy Yang - /* 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> - diff --git a/databases/percona57-server/files/patch-storage_myisam_mi__dynrec.c b/databases/percona57-server/files/patch-storage_myisam_mi__dynrec.c deleted file mode 100644 index 80b7192940ca..000000000000 --- a/databases/percona57-server/files/patch-storage_myisam_mi__dynrec.c +++ /dev/null @@ -1,23 +0,0 @@ ---- storage/myisam/mi_dynrec.c.orig 2016-11-27 19:44:54 UTC -+++ storage/myisam/mi_dynrec.c -@@ -65,18 +65,13 @@ my_bool mi_dynmap_file(MI_INFO *info, my - DBUG_RETURN(1); - } - /* -- 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(0, (size_t) size, - info->s->mode==O_RDONLY ? PROT_READ : - PROT_READ | PROT_WRITE, -- MAP_SHARED | MAP_NORESERVE, -+ MAP_SHARED, - info->dfile, 0L); - if (info->s->file_map == (uchar*) MAP_FAILED) - { diff --git a/databases/percona57-server/files/patch-storage_rocksdb_CMakeLists.txt b/databases/percona57-server/files/patch-storage_rocksdb_CMakeLists.txt deleted file mode 100644 index 1d6bfda7483e..000000000000 --- a/databases/percona57-server/files/patch-storage_rocksdb_CMakeLists.txt +++ /dev/null @@ -1,60 +0,0 @@ ---- storage/rocksdb/CMakeLists.txt.orig 2021-07-30 02:26:13.135102000 +0300 -+++ storage/rocksdb/CMakeLists.txt 2021-07-30 02:29:42.990461000 +0300 -@@ -23,8 +23,8 @@ - ENDIF () - - # check platform support, no 32 bit --IF (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") -- MESSAGE (${MYROCKS_STATUS_MODE} "x86_64 is only platform supported. ${CMAKE_SYSTEM_PROCESSOR} found. Not building MyRocks") -+IF (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64") -+ MESSAGE (${MYROCKS_STATUS_MODE} "amd64 is only platform supported. ${CMAKE_SYSTEM_PROCESSOR} found. Not building MyRocks") - RETURN () - ENDIF () - -@@ -166,37 +166,6 @@ - ${LZ4_INCLUDE_DIR} - ) - --# add bundled compression code --SET(ZSTD_SOURCES -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common/entropy_common.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common/error_private.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common/fse_decompress.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common/pool.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common/threading.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common/xxhash.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common/zstd_common.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_compress_literals.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_compress_sequences.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_double_fast.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_fast.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_lazy.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_ldm.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_opt.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/hist.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/fse_compress.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/huf_compress.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstd_compress.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/compress/zstdmt_compress.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/decompress/huf_decompress.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/decompress/zstd_decompress.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/decompress/zstd_decompress_block.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/decompress/zstd_ddict.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/dictBuilder/cover.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/dictBuilder/fastcover.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/dictBuilder/divsufsort.c -- ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/dictBuilder/zdict.c --) -- - SET(ROCKSDB_SOURCES - ${ROCKSDB_SOURCES} - ${ZSTD_SOURCES} -@@ -230,7 +199,7 @@ - SET(rocksdb_static_libs ${rocksdb_static_libs} "${ROCKSDB_LIB_PATH}/${ROCKSDB_LIB_NAME}") - ENDIF() - --SET(rocksdb_static_libs ${rocksdb_static_libs} ${ZLIB_LIBRARY} ${LZ4_LIBRARY} "-lrt" "-ldl") -+SET(rocksdb_static_libs ${rocksdb_static_libs} ${ZLIB_LIBRARY} ${LZ4_LIBRARY} "-lrt" "-ldl -llz4 -lzstd") - - MYSQL_ADD_PLUGIN(rocksdb ${ROCKSDB_SOURCES} STORAGE_ENGINE DEFAULT MODULE_ONLY - LINK_LIBRARIES ${rocksdb_static_libs} diff --git a/databases/percona57-server/files/patch-support-files_CMakeLists.txt b/databases/percona57-server/files/patch-support-files_CMakeLists.txt deleted file mode 100644 index 87658305530b..000000000000 --- a/databases/percona57-server/files/patch-support-files_CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ ---- support-files/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC -+++ support-files/CMakeLists.txt -@@ -69,7 +69,9 @@ IF(UNIX) - INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles) - ENDIF() - -+IF(FALSE) - INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development) -+ENDIF() - - SET(bindir ${prefix}/${INSTALL_BINDIR}) - SET(sbindir ${prefix}/${INSTALL_SBINDIR}) diff --git a/databases/percona57-server/files/patch-vio_viosocket.c b/databases/percona57-server/files/patch-vio_viosocket.c deleted file mode 100644 index c03e19e9e86c..000000000000 --- a/databases/percona57-server/files/patch-vio_viosocket.c +++ /dev/null @@ -1,13 +0,0 @@ ---- vio/viosocket.c.orig 2016-11-27 19:44:54 UTC -+++ vio/viosocket.c -@@ -45,6 +45,10 @@ - static void (*before_io_wait)(void)= 0; - static void (*after_io_wait)(void)= 0; - -+#ifdef __FreeBSD__ -+#define s6_addr32 __u6_addr.__u6_addr32 -+#endif -+ - /* Wait callback macros (both performance schema and threadpool */ - #define START_SOCKET_WAIT(locker, state_ptr, sock, which, timeout) \ - do \ diff --git a/databases/percona57-server/files/patch-vio_viossl.c b/databases/percona57-server/files/patch-vio_viossl.c deleted file mode 100644 index 39bcb6b765b5..000000000000 --- a/databases/percona57-server/files/patch-vio_viossl.c +++ /dev/null @@ -1,20 +0,0 @@ ---- vio/viossl.c.orig 2020-05-13 20:59:55 UTC -+++ vio/viossl.c -@@ -396,7 +396,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, - #if !defined(DBUG_OFF) - { - STACK_OF(SSL_COMP) *ssl_comp_methods = NULL; -- 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) -@@ -405,7 +405,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, - 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", (" %d: %s\n", SSL_COMP_get_id(c), SSL_COMP_get0_name(c))); diff --git a/databases/percona57-server/files/patch-vio_viosslfactories.c b/databases/percona57-server/files/patch-vio_viosslfactories.c deleted file mode 100644 index b37d41d49108..000000000000 --- a/databases/percona57-server/files/patch-vio_viosslfactories.c +++ /dev/null @@ -1,45 +0,0 @@ ---- vio/viosslfactories.c.orig 2020-05-13 20:59:55 UTC -+++ vio/viosslfactories.c -@@ -126,7 +126,7 @@ static DH *get_dh2048(void) - { - BIGNUM* p= BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL); - BIGNUM* g= BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL); --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - dh->p= p; - dh->g= g; - if (! dh->p || ! dh->g) -@@ -500,7 +500,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - struct st_VioSSLFd *ssl_fd; - /* MySQL 5.7 supports TLS up to v1.2, explicitly disable TLSv1.3. */ - long ssl_ctx_options= SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - | SSL_OP_NO_TLSv1_3 - #endif /* HAVE_TLSv13 */ - ; -@@ -536,7 +536,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - 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 -@@ -557,6 +557,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - DBUG_RETURN(0); - } - -+#ifndef LIBRESSL_VERSION_NUMBER - SSL_CTX_set_options(ssl_fd->ssl_context, ssl_ctx_options); - - #ifdef HAVE_TLSv13 -@@ -573,6 +574,7 @@ new_VioSSLFd(const char *key_file, const char *cert_fi - DBUG_RETURN(0); - } - #endif /* HAVE_TLSv13 */ -+#endif /* LIBRESSL_VERSION_NUMBER */ - - /* - We explicitly prohibit weak ciphers. diff --git a/databases/percona57-server/pkg-descr b/databases/percona57-server/pkg-descr deleted file mode 100644 index 82219ae00e60..000000000000 --- a/databases/percona57-server/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -MySQL replacement : Percona ServerPercona Server is a drop-in alternative -for MySQL with enhanced performance and enterprise-grade features. diff --git a/databases/percona57-server/pkg-message b/databases/percona57-server/pkg-message deleted file mode 100644 index c6e5d3df8100..000000000000 --- a/databases/percona57-server/pkg-message +++ /dev/null @@ -1,15 +0,0 @@ -[ -{ type: install - message: <<EOM -Initial password for first time use of MySQL is saved in $HOME/.mysql_secret -ie. when you want to use "mysql -u root -p" first you should see password -in /root/.mysql_secret -EOM -} -{ type: upgrade - message: <<EOM -Remember to run mysql_upgrade the first time you start the MySQL server -after an upgrade from an earlier version. -EOM -} -] diff --git a/databases/percona57-server/pkg-plist b/databases/percona57-server/pkg-plist deleted file mode 100644 index 4f67d52fcccf..000000000000 --- a/databases/percona57-server/pkg-plist +++ /dev/null @@ -1,187 +0,0 @@ -bin/innochecksum -bin/lz4_decompress -bin/myisamchk -bin/myisam_ftdump -bin/myisamlog -bin/myisampack -bin/my_print_defaults -bin/mysqld_multi -bin/mysqld_safe -bin/mysqldumpslow -bin/mysql_install_db -bin/mysql_plugin -bin/mysqltest -bin/mysql_tzinfo_to_sql -bin/mysql_upgrade -bin/mysqlxtest -bin/perror -bin/ps-admin -bin/ps_mysqld_helper -bin/ps_tokudb_admin -bin/replace -bin/resolveip -bin/resolve_stack_dump -bin/zlib_decompress -%%DATADIR%%/bulgarian/errmsg.sys -%%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/Index.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/README -%%DATADIR%%/charsets/swe7.xml -%%DATADIR%%/czech/errmsg.sys -%%DATADIR%%/danish/errmsg.sys -%%DATADIR%%/dictionary.txt -%%DATADIR%%/dutch/errmsg.sys -%%DATADIR%%/english/errmsg.sys -%%DATADIR%%/errmsg-utf8.txt -%%DATADIR%%/estonian/errmsg.sys -%%DATADIR%%/fill_help_tables.sql -%%DATADIR%%/french/errmsg.sys -%%DATADIR%%/german/errmsg.sys -%%DATADIR%%/greek/errmsg.sys -%%DATADIR%%/hungarian/errmsg.sys -%%DATADIR%%/innodb_memcached_config.sql -%%DATADIR%%/install_rewriter.sql -%%DATADIR%%/italian/errmsg.sys -%%DATADIR%%/japanese/errmsg.sys -%%DATADIR%%/korean/errmsg.sys -%%DATADIR%%/magic -%%DATADIR%%/mysqld_multi.server -%%DATADIR%%/mysql-log-rotate -%%DATADIR%%/mysql_security_commands.sql -%%DATADIR%%/mysql.server -%%DATADIR%%/mysql_sys_schema.sql -%%DATADIR%%/mysql_system_tables_data.sql -%%DATADIR%%/mysql_system_tables.sql -%%DATADIR%%/mysql_test_data_timezone.sql -%%DATADIR%%/norwegian/errmsg.sys -%%DATADIR%%/norwegian-ny/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 -include/mysql/mysqlx_ername.h -include/mysql/mysqlx_error.h -include/mysql/mysqlx_version.h -@dir(mysql,mysql,) /var/db/mysql -%%INNODBMEMCACHED%%lib/mysql/plugin/innodb_engine.so -%%INNODBMEMCACHED%%lib/mysql/plugin/libmemcached.so -libexec/mysqld -lib/mysql/libmysqld.a -lib/mysql/plugin/adt_null.so -lib/mysql/plugin/audit_log.so -lib/mysql/plugin/auth.so -lib/mysql/plugin/auth_test_plugin.so -lib/mysql/plugin/connection_control.so -lib/mysql/plugin/daemon_example.ini -lib/mysql/plugin/data_masking.ini -lib/mysql/plugin/data_masking.so -lib/mysql/plugin/group_replication.so -lib/mysql/plugin/ha_example.so -lib/mysql/plugin/keyring_file.so -lib/mysql/plugin/keyring_udf.so -lib/mysql/plugin/keyring_vault.so -lib/mysql/plugin/libdaemon_example.so -lib/mysql/plugin/libfnv1a_udf.so -lib/mysql/plugin/libfnv_udf.so -lib/mysql/plugin/libmurmur_udf.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_detach.so -lib/mysql/plugin/libtest_session_info.so -lib/mysql/plugin/libtest_session_in_thd.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_shutdown.so -lib/mysql/plugin/libtest_sql_sqlmode.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_no_login.so -lib/mysql/plugin/mysqlx.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/query_response_time.so -lib/mysql/plugin/replication_observers_example_plugin.so -lib/mysql/plugin/rewrite_example.so -lib/mysql/plugin/rewriter.so -lib/mysql/plugin/semisync_master.so -lib/mysql/plugin/semisync_slave.so -lib/mysql/plugin/test_security_context.so -lib/mysql/plugin/test_udf_services.so -lib/mysql/plugin/udf_example.so -lib/mysql/plugin/validate_password.so -lib/mysql/plugin/version_token.so -share/man/man1/myisamchk.1.gz -share/man/man1/myisam_ftdump.1.gz -share/man/man1/myisamlog.1.gz -share/man/man1/myisampack.1.gz -share/man/man1/my_print_defaults.1.gz -share/man/man1/mysqld_multi.1.gz -share/man/man1/mysqld_safe.1.gz -share/man/man1/mysqldumpslow.1.gz -share/man/man1/mysql_install_db.1.gz -share/man/man1/mysqlman.1.gz -share/man/man1/mysql_plugin.1.gz -share/man/man1/mysql_secure_installation.1.gz -share/man/man1/mysql.server.1.gz -share/man/man1/mysql_tzinfo_to_sql.1.gz -share/man/man1/mysql_upgrade.1.gz -share/man/man1/perror.1.gz -share/man/man1/replace.1.gz -share/man/man1/resolveip.1.gz -share/man/man1/resolve_stack_dump.1.gz -share/man/man8/mysqld.8.gz -%%TOKUDB%%bin/tokuftdump -%%TOKUDB%%bin/tokuft_logprint -%%TOKUDB%%include/backup.h -%%TOKUDB%%lib/mysql/libHotBackup.so -%%TOKUDB%%lib/mysql/plugin/ha_tokudb.so -%%TOKUDB%%lib/mysql/plugin/tokudb_backup.so -%%TOKUDB%%share/doc/mysql/COPYING.AGPLv3 -%%TOKUDB%%share/doc/mysql/COPYING.GPLv2 -%%TOKUDB%%share/doc/mysql/PATENTS -%%TOKUDB%%share/doc/mysql/README.md -%%TOKUDB%%share/doc/mysql/README_tokudb_backup -@dir(mysql,mysql,0750) %%ETCDIR%%/keyring -@dir(mysql,mysql,0750) %%MY_SECDIR%% -@dir(mysql,mysql,0750) %%MY_TMPDIR%% |