aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/percona57-client/Makefile2
-rw-r--r--databases/percona57-client/files/patch-client__mysql.cc9
-rw-r--r--databases/percona57-client/files/patch-scripts_CMakeLists.txt27
-rw-r--r--databases/percona57-client/files/patch-support-files_CMakeLists.txt26
-rw-r--r--databases/percona57-pam-for-mysql/Makefile2
-rw-r--r--databases/percona57-server/Makefile5
-rw-r--r--databases/percona57-server/distinfo6
-rw-r--r--databases/percona57-server/files/patch-scripts_CMakeLists.txt12
-rw-r--r--databases/percona57-server/files/patch-sql_json__dom.h11
-rw-r--r--databases/percona57-server/files/patch-storage_innobase_buf_buf0buf.cc11
-rw-r--r--databases/percona57-server/files/patch-storage_innobase_dict_dict0stats.cc11
-rw-r--r--databases/percona57-server/files/patch-storage_innobase_sync_sync0debug.cc11
-rw-r--r--databases/percona57-server/pkg-plist7
13 files changed, 45 insertions, 95 deletions
diff --git a/databases/percona57-client/Makefile b/databases/percona57-client/Makefile
index 65b97d41c50b..a2ab5f0c2b2c 100644
--- a/databases/percona57-client/Makefile
+++ b/databases/percona57-client/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= percona
-PORTREVISION?= 3
+PORTREVISION?= 0
PKGNAMESUFFIX= 57-client
COMMENT= Multithreaded SQL database (client)
diff --git a/databases/percona57-client/files/patch-client__mysql.cc b/databases/percona57-client/files/patch-client__mysql.cc
index d15700aa095f..a3717a4dbf26 100644
--- a/databases/percona57-client/files/patch-client__mysql.cc
+++ b/databases/percona57-client/files/patch-client__mysql.cc
@@ -28,12 +28,3 @@
#else
rl_attempted_completion_function= (CPPFunction*)&new_mysql_completion;
rl_completion_entry_function= &no_completion;
-@@ -2886,7 +2888,7 @@ static char **new_mysql_completion(const char *text,
- int end MY_ATTRIBUTE((unused)))
- {
- if (!status.batch && !quick)
--#if defined(USE_NEW_READLINE_INTERFACE)
-+#if defined(USE_NEW_READLINE_INTERFACE) || defined(USE_LIBEDIT_INTERFACE)
- return rl_completion_matches(text, new_command_generator);
- #else
- return completion_matches((char *)text, (CPFunction *)new_command_generator);
diff --git a/databases/percona57-client/files/patch-scripts_CMakeLists.txt b/databases/percona57-client/files/patch-scripts_CMakeLists.txt
index bdb577cf274b..144cbaaf45e3 100644
--- a/databases/percona57-client/files/patch-scripts_CMakeLists.txt
+++ b/databases/percona57-client/files/patch-scripts_CMakeLists.txt
@@ -1,23 +1,24 @@
---- scripts/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
-+++ scripts/CMakeLists.txt
-@@ -19,7 +19,7 @@ IF(NOT CMAKE_CROSSCOMPILING)
- TARGET_LINK_LIBRARIES(comp_sql)
- ENDIF()
+--- 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")
-@@ -63,6 +63,7 @@ ADD_CUSTOM_TARGET(GenFixPrivs
+@@ -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,
-@@ -143,6 +144,7 @@ IF(NOT WITHOUT_SERVER)
+@@ -146,6 +149,7 @@
)
ENDIF()
@@ -25,7 +26,7 @@
IF(UNIX)
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_binary_distribution
"cd ${CMAKE_BINARY_DIR} && '${CMAKE_CPACK_COMMAND}' -G TGZ --config CPackConfig.cmake\n" )
-@@ -150,6 +152,7 @@ IF(UNIX)
+@@ -153,6 +157,7 @@
COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/make_binary_distribution
)
ENDIF()
@@ -33,7 +34,7 @@
IF(NOT WITHOUT_SERVER)
INSTALL(FILES
-@@ -347,6 +350,8 @@ MACRO(EXTRACT_LINK_LIBRARIES target var)
+@@ -332,6 +337,8 @@
GET_FILENAME_COMPONENT(lib "${lib}" NAME_WE)
STRING(REGEX REPLACE "^lib" "" lib "${lib}")
SET(${var} "${${var}}-l${lib} " )
@@ -42,7 +43,7 @@
ELSE()
SET(${var} "${${var}}-l${lib} " )
ENDIF()
-@@ -430,21 +435,7 @@ ELSE()
+@@ -417,25 +424,7 @@
# On Unix, most of the files end up in the bin directory
SET(mysql_config_COMPONENT COMPONENT Development)
@@ -51,6 +52,8 @@
- mysql_config
- mysqldumpslow
- ps_tokudb_admin
+- ps_mysqld_helper
+- ps-admin
- )
- ELSE()
- SET(BIN_SCRIPTS
@@ -59,6 +62,8 @@
- mysqld_multi
- mysqld_safe
- ps_tokudb_admin
+- ps_mysqld_helper
+- ps-admin
- )
- ENDIF()
+ SET(BIN_SCRIPTS mysql_config)
diff --git a/databases/percona57-client/files/patch-support-files_CMakeLists.txt b/databases/percona57-client/files/patch-support-files_CMakeLists.txt
index 27fc42b9c4ee..9dd13cfbe3b7 100644
--- a/databases/percona57-client/files/patch-support-files_CMakeLists.txt
+++ b/databases/percona57-client/files/patch-support-files_CMakeLists.txt
@@ -1,24 +1,14 @@
---- support-files/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
-+++ support-files/CMakeLists.txt
-@@ -44,14 +44,17 @@ ELSE()
- SET(inst_location ${INSTALL_SUPPORTFILESDIR})
- ENDIF()
-
-+IF(FALSE)
- SET(inifile my-default)
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${inifile}.cnf.sh
- ${CMAKE_CURRENT_BINARY_DIR}/${inifile}.${ini_file_extension} @ONLY)
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${inifile}.${ini_file_extension}
- DESTINATION ${inst_location} COMPONENT IniFiles)
-+ENDIF()
-
- IF(UNIX)
+--- 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)
++ IF(FALSE)
FOREACH(script mysqld_multi.server mysql-log-rotate)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
${CMAKE_CURRENT_BINARY_DIR}/${script} @ONLY )
-@@ -68,9 +71,11 @@ IF(UNIX)
+@@ -59,9 +60,11 @@
IF(INSTALL_SUPPORTFILESDIR)
INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles)
ENDIF()
@@ -30,7 +20,7 @@
SET(bindir ${prefix}/${INSTALL_BINDIR})
SET(sbindir ${prefix}/${INSTALL_SBINDIR})
SET(scriptdir ${prefix}/${INSTALL_SCRIPTDIR})
-@@ -83,3 +88,4 @@ IF(UNIX)
+@@ -74,3 +77,4 @@
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
ENDIF()
diff --git a/databases/percona57-pam-for-mysql/Makefile b/databases/percona57-pam-for-mysql/Makefile
index 7119499085e1..770085de3d39 100644
--- a/databases/percona57-pam-for-mysql/Makefile
+++ b/databases/percona57-pam-for-mysql/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= percona57
-PORTREVISION?= 2
+PORTREVISION?= 0
PKGNAMESUFFIX= -pam-for-mysql
COMMENT= PAM plugin for MySQL
diff --git a/databases/percona57-server/Makefile b/databases/percona57-server/Makefile
index 892cb82b9c8b..aef6512055e6 100644
--- a/databases/percona57-server/Makefile
+++ b/databases/percona57-server/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME?= percona
-DISTVERSION= 5.7.16-10
-PORTREVISION?= 5
+DISTVERSION= 5.7.20-18
+PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \
SF/boost/boost/1.59.0:boost
@@ -83,6 +83,7 @@ USES+= libedit
# Currently do nothing special
USES+= libedit
.else
+LIB_DEPENDS+= libcurl.so:ftp/curl
# MySQL-Server part
OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED TOKUDB
OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED
diff --git a/databases/percona57-server/distinfo b/databases/percona57-server/distinfo
index 93518d8dcd52..92c2fc633301 100644
--- a/databases/percona57-server/distinfo
+++ b/databases/percona57-server/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1481662079
-SHA256 (percona-server-5.7.16-10.tar.gz) = 1e88233d4bc5fd9a6910f2cc01ad5aca7d751f036cdba5a1c9954e1e25300347
-SIZE (percona-server-5.7.16-10.tar.gz) = 74341476
+TIMESTAMP = 1514728385
+SHA256 (percona-server-5.7.20-18.tar.gz) = ebbdf859d571562b9c9614c29355dd73adb9021b67108edd46b67063039a28af
+SIZE (percona-server-5.7.20-18.tar.gz) = 82206679
SHA256 (boost_1_59_0.tar.gz) = 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac
SIZE (boost_1_59_0.tar.gz) = 83709983
diff --git a/databases/percona57-server/files/patch-scripts_CMakeLists.txt b/databases/percona57-server/files/patch-scripts_CMakeLists.txt
index 84daf75bf979..ecbbf6d94bd9 100644
--- a/databases/percona57-server/files/patch-scripts_CMakeLists.txt
+++ b/databases/percona57-server/files/patch-scripts_CMakeLists.txt
@@ -1,6 +1,6 @@
---- scripts/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
-+++ scripts/CMakeLists.txt
-@@ -347,6 +347,8 @@ MACRO(EXTRACT_LINK_LIBRARIES target var)
+--- 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} " )
@@ -9,13 +9,15 @@
ELSE()
SET(${var} "${${var}}-l${lib} " )
ENDIF()
-@@ -432,13 +434,11 @@ ELSE()
+@@ -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
@@ -23,7 +25,7 @@
mysqldumpslow
mysqld_multi
mysqld_safe
-@@ -473,7 +473,7 @@ ELSE()
+@@ -464,7 +464,7 @@
FOREACH(file ${BIN_SCRIPTS})
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
diff --git a/databases/percona57-server/files/patch-sql_json__dom.h b/databases/percona57-server/files/patch-sql_json__dom.h
deleted file mode 100644
index 54718af16065..000000000000
--- a/databases/percona57-server/files/patch-sql_json__dom.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- sql/json_dom.h.orig 2017-01-05 16:09:35 UTC
-+++ sql/json_dom.h
-@@ -337,7 +337,7 @@ struct Json_key_comparator
- Json_object class.
- */
- typedef std::map<std::string, Json_dom *, Json_key_comparator,
-- Malloc_allocator<std::pair<std::string, Json_dom *> > > Json_object_map;
-+ Malloc_allocator<std::pair<const std::string, Json_dom *> > > Json_object_map;
-
- /**
- Represents a JSON container value of type "object" (ECMA), type
diff --git a/databases/percona57-server/files/patch-storage_innobase_buf_buf0buf.cc b/databases/percona57-server/files/patch-storage_innobase_buf_buf0buf.cc
deleted file mode 100644
index e43b325c6ea7..000000000000
--- a/databases/percona57-server/files/patch-storage_innobase_buf_buf0buf.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- storage/innobase/buf/buf0buf.cc.orig 2016-11-27 19:44:54 UTC
-+++ storage/innobase/buf/buf0buf.cc
-@@ -333,7 +333,7 @@ typedef std::map<
- const byte*,
- buf_chunk_t*,
- std::less<const byte*>,
-- ut_allocator<std::pair<const byte*, buf_chunk_t*> > >
-+ ut_allocator<std::pair<const byte* const, buf_chunk_t*> > >
- buf_pool_chunk_map_t;
-
- static buf_pool_chunk_map_t* buf_chunk_map_reg;
diff --git a/databases/percona57-server/files/patch-storage_innobase_dict_dict0stats.cc b/databases/percona57-server/files/patch-storage_innobase_dict_dict0stats.cc
deleted file mode 100644
index 48c7e3ed5d43..000000000000
--- a/databases/percona57-server/files/patch-storage_innobase_dict_dict0stats.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- storage/innobase/dict/dict0stats.cc.orig 2016-11-27 19:44:54 UTC
-+++ storage/innobase/dict/dict0stats.cc
-@@ -139,7 +139,7 @@ then we would store 5,7,10,11,12 in the
- typedef std::vector<ib_uint64_t, ut_allocator<ib_uint64_t> > boundaries_t;
-
- /** Allocator type used for index_map_t. */
--typedef ut_allocator<std::pair<const char*, dict_index_t*> >
-+typedef ut_allocator<std::pair<const char* const, dict_index_t*> >
- index_map_t_allocator;
-
- /** Auxiliary map used for sorting indexes by name in dict_stats_save(). */
diff --git a/databases/percona57-server/files/patch-storage_innobase_sync_sync0debug.cc b/databases/percona57-server/files/patch-storage_innobase_sync_sync0debug.cc
deleted file mode 100644
index e6087e7640a9..000000000000
--- a/databases/percona57-server/files/patch-storage_innobase_sync_sync0debug.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- storage/innobase/sync/sync0debug.cc.orig 2016-11-27 19:44:54 UTC
-+++ storage/innobase/sync/sync0debug.cc
-@@ -1717,7 +1717,7 @@ private:
- const void*,
- File,
- std::less<const void*>,
-- ut_allocator<std::pair<const void*, File> > >
-+ ut_allocator<std::pair<const void* const, File> > >
- Files;
-
- typedef OSMutex Mutex;
diff --git a/databases/percona57-server/pkg-plist b/databases/percona57-server/pkg-plist
index 0cee4e7528eb..12fa22fd82c2 100644
--- a/databases/percona57-server/pkg-plist
+++ b/databases/percona57-server/pkg-plist
@@ -15,6 +15,8 @@ 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
@@ -65,7 +67,6 @@ bin/zlib_decompress
%%DATADIR%%/japanese/errmsg.sys
%%DATADIR%%/korean/errmsg.sys
%%DATADIR%%/magic
-%%DATADIR%%/my-default.cnf
%%DATADIR%%/mysqld_multi.server
%%DATADIR%%/mysql-log-rotate
%%DATADIR%%/mysql_security_commands.sql
@@ -86,6 +87,7 @@ bin/zlib_decompress
%%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 lib/mysql/plugin/debug
@@ -98,10 +100,13 @@ 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/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