FreeBSD Bugzilla – Attachment 204956 Details for
Bug 236570
databases/percona57-{server,client} update to 5.7.26-29 (fixes several vulnerabilities)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
percona to Percona 5.7.26-29
patch-percona57-26_29 (text/plain), 8.44 KB, created by
Igor Zabelin
on 2019-06-10 18:58:21 UTC
(
hide
)
Description:
percona to Percona 5.7.26-29
Filename:
MIME Type:
Creator:
Igor Zabelin
Created:
2019-06-10 18:58:21 UTC
Size:
8.44 KB
patch
obsolete
>--- percona57-server.21-20/distinfo >+++ percona57-server/distinfo >@@ -1,5 +1,5 @@ >-TIMESTAMP = 1519339070 >-SHA256 (percona-server-5.7.21-20.tar.gz) = 842785e9b73c606be00ea74f568615d3427362fbeed5c136d8f509f03c9d43a6 >-SIZE (percona-server-5.7.21-20.tar.gz) = 82479778 >+TIMESTAMP = 1560188655 >+SHA256 (percona-server-5.7.26-29.tar.gz) = 0deb6d8a6eb910286a585c60beecd5fb8ce38fc2a5134adf45e418efbe4ed6b5 >+SIZE (percona-server-5.7.26-29.tar.gz) = 84327421 > SHA256 (boost_1_59_0.tar.gz) = 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac > SIZE (boost_1_59_0.tar.gz) = 83709983 >--- percona57-server.21-20/files/patch-cmake_plugin.cmake >+++ percona57-server/files/patch-cmake_plugin.cmake >@@ -1,25 +1,25 @@ > --- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC > +++ cmake/plugin.cmake >-@@ -263,13 +270,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}) >+@@ -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}) >--- percona57-server.21-20/files/patch-libmysql_authentication__ldap_CMakeLists.txt >+++ percona57-server/files/patch-libmysql_authentication__ldap_CMakeLists.txt >@@ -1,18 +1,21 @@ >---- libmysql/authentication_ldap/CMakeLists.txt.orig 2017-07-20 22:54:16 UTC >+--- libmysql/authentication_ldap/CMakeLists.txt.orig 2019-02-18 09:11:31.000000000 +0300 > +++ libmysql/authentication_ldap/CMakeLists.txt >-@@ -52,8 +52,10 @@ ELSE () >- SET(SASL_LIBRARY "sasl2") >- ENDIF () >+@@ -106,11 +106,13 @@ >+ ENDIF() > >+ MESSAGE(STATUS "SASL_LIBRARY = ${SASL_LIBRARY}") > -MYSQL_ADD_PLUGIN(authentication_ldap_sasl_client > - auth_ldap_sasl_client.cc log_client.cc > - LINK_LIBRARIES ${SASL_LIBRARY} >-- MODULE_ONLY >+- CLIENT_ONLY MODULE_ONLY > - MODULE_OUTPUT_NAME "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 ${SASL_LIBRARY} >-+ MODULE_ONLY >++ CLIENT_ONLY MODULE_ONLY > + MODULE_OUTPUT_NAME "authentication_ldap_sasl_client") > +ENDIF() >+ >+ IF(WIN32) >+ GET_FILENAME_COMPONENT(SASL_DLL_NAME ${SASL_LIBRARY_DLL} NAME) >--- percona57-server.21-20/Makefile >+++ percona57-server/Makefile >@@ -2,8 +2,8 @@ > # $FreeBSD: head/databases/percona57-server/Makefile 490083 2019-01-12 23:05:00Z linimon $ > > PORTNAME?= percona >-DISTVERSION= 5.7.21-20 >-PORTREVISION?= 3 >+DISTVERSION= 5.7.26-29 >+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 >--- percona57-server.21-20/pkg-plist >+++ percona57-server/pkg-plist >@@ -162,7 +162,6 @@ > man/man1/mysql_plugin.1.gz > man/man1/mysql_secure_installation.1.gz > man/man1/mysql.server.1.gz >-man/man1/mysqltest.1.gz > man/man1/mysql_tzinfo_to_sql.1.gz > man/man1/mysql_upgrade.1.gz > man/man1/perror.1.gz >--- percona57-client.21-20/files/patch-cmake_plugin.cmake >+++ percona57-client/files/patch-cmake_plugin.cmake >@@ -1,25 +1,25 @@ > --- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC > +++ cmake/plugin.cmake >-@@ -263,13 +270,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}) >+@@ -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}) >--- /dev/null >+++ percona57-client/files/patch-mysys_mf__iocache2.c >@@ -0,0 +1,10 @@ >+--- 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.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236570
:
202903
| 204956