<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f80b90476f3bbd58e3ee2be223c6ba79ae2ee046">https://github.com/macports/macports-ports/commit/f80b90476f3bbd58e3ee2be223c6ba79ae2ee046</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f80b90476f3 mysql82: new port (version 8.2.0)
</span>f80b90476f3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f80b90476f3bbd58e3ee2be223c6ba79ae2ee046
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Wed Oct 25 17:38:00 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> mysql82: new port (version 8.2.0)
</span>---
databases/mysql82/Portfile | 375 +++++++++++++++++++++
databases/mysql82/files/macports-default.cnf | 11 +
databases/mysql82/files/my.cnf | 2 +
databases/mysql82/files/mysql82 | 169 ++++++++++
.../mysql82/files/org.macports.mysql-server.plist | 34 ++
.../files/patch-boost-clang16-cpp17-compat.diff | 85 +++++
.../files/patch-cmake-install_layout.cmake.diff | 57 ++++
...h-cmake-install_macros-protobuf-path.cmake.diff | 75 +++++
.../patch-cmake-sasl-disable-platform-check.diff | 15 +
.../mysql82/files/patch-mysql8-ffsll-apple.diff | 13 +
databases/mysql82/files/patch-readline.cmake.diff | 10 +
.../mysql82/files/patch-scripts-cmakelists.diff | 20 ++
databases/mysql82/files/patch-sql-local-boost.diff | 18 +
13 files changed, 884 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/Portfile b/databases/mysql82/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6c2feb76fef
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,375 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name mysql82
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8.2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set boost_version 1.77.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://dev.mysql.com
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Set revision_client and revision_server to 0 on version bump.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set revision_client 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set revision_server 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set name_mysql ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set version_branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set boost_distver [join [split ${boost_version} .] _]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set boost_distname boost_${boost_distver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Undefined symbols for architecture x86_64:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "std::bad_optional_access::~bad_optional_access()", referenced from:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 17} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} @${version} requires macOS 10.13 or newer."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible macOS version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq $name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup openssl 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Multithreaded SQL database server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description MySQL is an open-source, multi-threaded SQL database.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://downloads.mysql.com/docs/licenses/mysqld-8.2-gpl-en.pdf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license {GPL-2 OpenSSLException}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_client}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites mysql:MySQL-${version_branch}:mysql \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sourceforge:project/boost/boost/${boost_version}:boost
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname mysql-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles ${distname}${extract.suffix}:mysql \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${boost_distname}${extract.suffix}:boost
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums ${distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 561ff4da3d62cc759e89fa3bd90435670b793045 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8ad3e3f1c5ae2154be638acf556e8981f702d052acc5957e776df1722c211979 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 431487428 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${boost_distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 850588f968a2086ff27ec7b8224ca8890a74601e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 130620992
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bison
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:cyrus-sasl2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/icu-uc.pc:icu \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libedit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libevent \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zstd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:mysql_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.group mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.file ${filespath}/${name_mysql}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # /usr/include/c++/v1/optional:960:34: note: candidate function not viable: no known conversion from 'optional<...>' to 'const optional<...>' for object argument
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 1100}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use default CMake build_types
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset debug]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.build_type Debug
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_DEBUG:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DINSTALL_MYSQLTESTDIR:PATH="share/${name_mysql}/mysql-test" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_UNIT_TESTS=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.build_type Release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_DEBUG=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_UNIT_TESTS=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Disable RPATH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.install_rpath {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH="[join [option cmake.install_rpath] \;]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH="[join [option cmake.install_rpath] \;]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR="${cmake.install_prefix}/lib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR:PATH="${prefix}/lib/${name_mysql}/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Build configuration
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBISON_EXECUTABLE="${prefix}/bin/bison" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DFORCE_UNSUPPORTED_COMPILER=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DDOWNLOAD_BOOST=0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DINSTALL_LAYOUT:STRING=MACPORTS \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMYSQL_DATADIR:PATH="${prefix}/var/db/${name_mysql}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMYSQL_UNIX_ADDR:PATH="${prefix}/var/run/${name_mysql}/mysqld.sock" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DSYSCONFDIR:PATH="${prefix}/etc/${name_mysql}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_BOOST:PATH="${worksrcpath}/../${boost_distname}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_EDITLINE=system \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_ICU:PATH="${prefix}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_INNODB_MEMCACHED=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_LIBEVENT=system \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DLIBEVENT_INCLUDE_PATH:PATH="${prefix}/include" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DLIBEVENT_LIB_PATHS:PATH="${prefix}/lib" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_PROTOBUF=bundled \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_SASL:PATH="${prefix}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_SSL:PATH=[openssl::install_area] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_ZLIB:PATH=system \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_ZSTD=system
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # FIXME: Disable building MySQL Router until we resolve link issues
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_ROUTER:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -DROUTER_INSTALL_LIBDIR="lib/${name_mysql}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -DROUTER_INSTALL_PLUGINDIR="lib/${name_mysql}/mysqlrouter"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-cmake-install_macros-protobuf-path.cmake.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-cmake-install_layout.cmake.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-cmake-sasl-disable-platform-check.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-readline.cmake.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-scripts-cmakelists.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-sql-local-boost.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-mysql8-ffsll-apple.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${cmake.build_dir}/macports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/macports-default.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${filespath}/my.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${cmake.build_dir}/macports/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/67324
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_info "$UI_PREFIX Applying patch-boost-clang16-cpp17-compat.diff"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath}/${boost_distname} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/bin/patch -p0 < ${filespath}/patch-boost-clang16-cpp17-compat.diff"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@NAME@|${name_mysql}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/cmake/install_layout.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# reinplace "s|@NAME@|${name_mysql}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ${worksrcpath}/router/cmake/set_rpath.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@NAME@|${name_mysql}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${cmake.build_dir}/macports/macports-default.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${cmake.build_dir}/macports/my.cnf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${cmake.build_dir}/macports/macports-default.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${cmake.build_dir}/macports/my.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/cmake/readline.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete -force -- ${destroot}${prefix}/share/${name_mysql}/mysql-test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # proc portdestroot::destroot_finish fails to find and compress our man pages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # so borrow the compress command and run on our files now.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set manpath "${destroot}${prefix}/share/man"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set gzip [findBinary gzip ${portutil::autoconf::gzip_path}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach manpage [glob -type f ${destroot}${prefix}/share/man/${name_mysql}/man\[1-9\]/*] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix paths in manpages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|/etc/|${prefix}/etc/${name_mysql}/|g" ${manpage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Compress all manpages with gzip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "$gzip -9vf ${manpage}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -o root -d ${destroot}${prefix}/etc/${name_mysql}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${cmake.build_dir}/macports/macports-default.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/${name_mysql}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -o root -d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/${name_mysql}/support-files/macports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${cmake.build_dir}/macports/my.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/${name_mysql}/support-files/macports/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# move ${destroot}${prefix}/README.router \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ${destroot}${prefix}/doc/${name_mysql}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# move ${destroot}${prefix}/LICENSE.router \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ${destroot}${prefix}/doc/${name_mysql}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # workaround for https://trac.macports.org/ticket/63456
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s -f ../mysql/libprotobuf-lite.3.19.4.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/lib/${name_mysql}/plugin/libprotobuf-lite.3.19.4.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Work around bad zlib linker flags in `mysql_config`.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://bugs.mysql.com/bug.php?id=111011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/68002
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|-lzlib|-lz|g" ${destroot}${prefix}/lib/${name_mysql}/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-install {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${prefix}/etc/LaunchDaemons/org.macports.${name_mysql}/org.macports.${name_mysql}-server.plist]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg "The ${name_mysql} client has been installed."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg "To install the ${name_mysql} server, install the ${name_mysql}-server port."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${prefix}/etc/${name_mysql}/my.cnf]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${prefix}/share/${name_mysql}/support-files/macports/my.cnf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/etc/${name_mysql}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On activation if no ${prefix}/etc/${name_mysql}/my.cnf file exists one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+will be created which loads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${prefix}/etc/${name_mysql}/macports-default.cnf.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If a ${prefix}/etc/${name_mysql}/my.cnf file exists MacPorts does not
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+touch it and any changes you make to ${prefix}/etc/${name_mysql}/my.cnf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+will be preserved (e.g., during port upgrades, deactivations or
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+activations). ${prefix}/etc/${name_mysql}/my.cnf is a good place to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+customize your ${name_mysql} installation.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Any changes made to ${prefix}/etc/${name_mysql}/macports-default.cnf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+will be lost during port upgrades, deactivations or activations so you
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+are advised to not make changes here. Currently
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${prefix}/etc/${name_mysql}/macports-default.cnf contains only one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+directive; to disable networking. With disabled networking it is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+possible to install and have running all the MacPorts mysql ports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+simultaneously.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+To set ${name_mysql} as your preferred version of MySQL, use `port select`,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+as follows:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\$ sudo port select mysql ${name_mysql}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.url https://dev.mysql.com/downloads/mysql/${version_branch}.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex "MySQL Community Server (${version_branch}(\.\[0-9.\]+)?)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name_mysql}-server {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_server}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Run ${name_mysql} as server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run port:${name_mysql}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {"darwin" eq ${os.platform} && ${os.major} > 8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mysqluser _mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mysqluser mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_users ${mysqluser} group=${mysqluser} realname=MySQL\ Server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set log_file ${prefix}/var/log/${name}/mysql.log
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/org.macports.mysql-server.plist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@NAMEMYSQL@|${name_mysql}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@SUBPORT@|${subport}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@USER@|${mysqluser}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@GROUP@|${mysqluser}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@LOGFILE@|${log_file}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 -o ${mysqluser} -g ${mysqluser} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [file dirname ${destroot}${log_file}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ touch ${destroot}${log_file}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${destroot}${log_file} -o ${mysqluser} -g ${mysqluser}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/etc/LaunchDaemons/org.macports.${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -o root -W ${workpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ org.macports.${subport}.plist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/LaunchDaemons/org.macports.${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}/Library/LaunchDaemons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/etc/LaunchDaemons/org.macports.${subport}/org.macports.${subport}.plist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}/Library/LaunchDaemons/org.macports.${subport}.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -o root -d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -o ${mysqluser} -g ${mysqluser} -d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/${name_mysql} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/db/${name_mysql} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/log/${name_mysql} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/run/${name_mysql}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0700 -o ${mysqluser} -g ${mysqluser} -d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/db/${name_mysql}-keyring
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0750 -o ${mysqluser} -g ${mysqluser} -d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/db/${name_mysql}-files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.keepdirs-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/db/${name_mysql} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/db/${name_mysql}-files \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/db/${name_mysql}-keyring \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/log/${name_mysql} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/run/${name_mysql}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If this is a new install you might want to run:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\$ sudo ${prefix}/lib/${name_mysql}/bin/mysqld --initialize --user=${mysqluser}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\$ sudo port load ${name_mysql}-server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\$ ${prefix}/lib/${name_mysql}/bin/mysql_secure_installation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The first command creates the necessary files for the MySQL database service.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(Remember to make a note of the auto-generated root password from this step.)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The second command starts the MySQL service.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The last command helps to improve the security of your running MySQL instance.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Once enabled, the MySQL logs can be found in:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+[file dirname $log_file]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/macports-default.cnf b/databases/mysql82/files/macports-default.cnf
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9ce516bee1d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/macports-default.cnf
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# WARNING! ANY CHANGES TO THIS FILE WILL BE LOST ON UNINSTALL/UPGRADES!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Make your changes to @PREFIX@/etc/@NAME@/my.cnf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# YOU HAVE BEEN WARNED!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# MacPorts default options
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+[mysqld]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+basedir="@PREFIX@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# skip-networking so multiple mysql server ports can be loaded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# without each competing for port 3306.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+skip-networking
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/my.cnf b/databases/mysql82/files/my.cnf
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1d00ab6d441
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/my.cnf
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Use default MacPorts settings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+!include @PREFIX@/etc/@NAME@/macports-default.cnf
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/mysql82 b/databases/mysql82/files/mysql82
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6931bac5c46
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/mysql82
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,169 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/ibd2sdi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/innochecksum
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/lz4_decompress
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/my_print_defaults
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/myisam_ftdump
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/myisamchk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/myisamlog
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/myisampack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql_client_test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql_config_editor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql_secure_installation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql_ssl_rsa_setup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql_tzinfo_to_sql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysql_upgrade
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqladmin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqlbinlog
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqlcheck
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqld
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqld_multi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqld_safe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqldump
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqldumpslow
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqlimport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqlpump
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqlshow
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqlslap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/mysqltest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mysql82/bin/perror
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/comp_err.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/innochecksum.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/lz4_decompress.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/my_print_defaults.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/myisam_ftdump.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/myisamchk.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/myisamlog.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/myisampack.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql.server.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql_config.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql_config_editor.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql_secure_installation.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql_ssl_rsa_setup.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql_tzinfo_to_sql.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysql_upgrade.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqladmin.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqlbinlog.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqlcheck.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqld_multi.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqld_safe.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqldump.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqldumpslow.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqlimport.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqlman.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqlpump.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqlshow.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/mysqlslap.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/perror.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man1/zlib_decompress.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/mysql82/man8/mysqld.8.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/org.macports.mysql-server.plist b/databases/mysql82/files/org.macports.mysql-server.plist
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..cc4356ad10b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/org.macports.mysql-server.plist
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,34 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<?xml version="1.0" encoding="UTF-8"?>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<plist version="1.0">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<dict>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>Label</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>org.macports.@SUBPORT@</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>ProcessType</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>Interactive</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>Disabled</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <false/>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>RunAtLoad</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <true/>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>KeepAlive</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <true/>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>SessionCreate</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <true/>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>LaunchOnlyOnce</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <false/>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>UserName</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>@USER@</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>GroupName</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>@GROUP@</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>ExitTimeOut</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <integer>600</integer>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>ProgramArguments</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <array>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>@PREFIX@/lib/@NAMEMYSQL@/bin/mysqld</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </array>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>StandardErrorPath</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>@LOGFILE@</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>StandardOutPath</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>@LOGFILE@</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+</dict>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+</plist>
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-boost-clang16-cpp17-compat.diff b/databases/mysql82/files/patch-boost-clang16-cpp17-compat.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..109719cb76e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-boost-clang16-cpp17-compat.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,85 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- boost/config/stdlib/libcpp.hpp.orig 2023-05-02 17:53:04.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ boost/config/stdlib/libcpp.hpp 2023-05-02 19:47:26.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -166,4 +166,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define BOOST_NO_CXX14_HDR_SHARED_MUTEX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if _LIBCPP_VERSION >= 15000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// Unary function is now deprecated in C++11 and later:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if __cplusplus >= 201103L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define BOOST_NO_CXX98_FUNCTION_BASE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // --- end ---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- boost/numeric/conversion/detail/int_float_mixture.hpp.orig 2023-03-02 21:34:55.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ boost/numeric/conversion/detail/int_float_mixture.hpp 2023-05-02 18:34:05.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16,15 +16,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "boost/numeric/conversion/int_float_mixture_enum.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "boost/numeric/conversion/detail/meta.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include "boost/mpl/integral_c.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "boost/type_traits/integral_constant.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace boost { namespace numeric { namespace convdetail
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Integral Constants for 'IntFloatMixture'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<int_float_mixture_enum, integral_to_integral> int2int_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<int_float_mixture_enum, integral_to_float> int2float_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<int_float_mixture_enum, float_to_integral> float2int_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<int_float_mixture_enum, float_to_float> float2float_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<int_float_mixture_enum, integral_to_integral> int2int_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<int_float_mixture_enum, integral_to_float> int2float_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<int_float_mixture_enum, float_to_integral> float2int_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<int_float_mixture_enum, float_to_float> float2float_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Metafunction:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- boost/numeric/conversion/detail/sign_mixture.hpp.orig 2023-03-02 21:34:55.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ boost/numeric/conversion/detail/sign_mixture.hpp 2023-05-02 18:35:21.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16,15 +16,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "boost/numeric/conversion/sign_mixture_enum.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "boost/numeric/conversion/detail/meta.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include "boost/mpl/integral_c.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "boost/type_traits/integral_constant.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace boost { namespace numeric { namespace convdetail
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Integral Constants for 'SignMixture'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<sign_mixture_enum, unsigned_to_unsigned> unsig2unsig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<sign_mixture_enum, signed_to_signed> sig2sig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<sign_mixture_enum, signed_to_unsigned> sig2unsig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<sign_mixture_enum, unsigned_to_signed> unsig2sig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<sign_mixture_enum, unsigned_to_unsigned> unsig2unsig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<sign_mixture_enum, signed_to_signed> sig2sig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<sign_mixture_enum, signed_to_unsigned> sig2unsig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<sign_mixture_enum, unsigned_to_signed> unsig2sig_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Metafunction:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- boost/numeric/conversion/detail/udt_builtin_mixture.hpp.orig 2023-03-02 21:34:55.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ boost/numeric/conversion/detail/udt_builtin_mixture.hpp 2023-05-02 18:36:25.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,15 +15,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "boost/numeric/conversion/udt_builtin_mixture_enum.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "boost/numeric/conversion/detail/meta.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include "boost/mpl/integral_c.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "boost/type_traits/integral_constant.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace boost { namespace numeric { namespace convdetail
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Integral Constants for 'UdtMixture'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<udt_builtin_mixture_enum, builtin_to_builtin> builtin2builtin_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<udt_builtin_mixture_enum, builtin_to_udt> builtin2udt_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<udt_builtin_mixture_enum, udt_to_builtin> udt2builtin_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- typedef mpl::integral_c<udt_builtin_mixture_enum, udt_to_udt> udt2udt_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<udt_builtin_mixture_enum, builtin_to_builtin> builtin2builtin_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<udt_builtin_mixture_enum, builtin_to_udt> builtin2udt_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<udt_builtin_mixture_enum, udt_to_builtin> udt2builtin_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ typedef boost::integral_constant<udt_builtin_mixture_enum, udt_to_udt> udt2udt_c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Metafunction:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-cmake-install_layout.cmake.diff b/databases/mysql82/files/patch-cmake-install_layout.cmake.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..fa336d0404e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-cmake-install_layout.cmake.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,57 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/cmake/install_layout.cmake 2020-10-21 03:45:23.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/cmake/install_layout.cmake 2020-10-21 03:48:50.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -80,7 +80,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET(INSTALL_LAYOUT "${DEFAULT_INSTALL_LAYOUT}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CACHE STRING "Installation directory layout. Options are: TARGZ (as in tar.gz installer), STANDALONE, RPM, DEB, SVR4"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CACHE STRING "Installation directory layout. Options are: TARGZ (as in tar.gz installer), STANDALONE, RPM, DEB, SVR4, MACPORTS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IF(UNIX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -98,7 +98,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CACHE PATH "install prefix" FORCE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET(VALID_INSTALL_LAYOUTS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "RPM" "DEB" "SVR4" "TARGZ" "STANDALONE")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "RPM" "DEB" "SVR4" "TARGZ" "STANDALONE" "MACPORTS")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIST(FIND VALID_INSTALL_LAYOUTS "${INSTALL_LAYOUT}" ind)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IF(ind EQUAL -1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MESSAGE(FATAL_ERROR "Invalid INSTALL_LAYOUT parameter:${INSTALL_LAYOUT}."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -233,6 +233,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET(INSTALL_SECURE_FILE_PRIVDIR_RPM ${secure_file_priv_path})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# MACPORTS layout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_BINDIR_MACPORTS "lib/@NAME@/bin")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_SBINDIR_MACPORTS "lib/@NAME@/bin")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_SCRIPTDIR_MACPORTS "lib/@NAME@/bin")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_LIBDIR_MACPORTS "lib/@NAME@/mysql")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_PRIV_LIBDIR_MACPORTS "lib/@NAME@/mysql")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_PLUGINDIR_MACPORTS "lib/@NAME@/plugin")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_INCLUDEDIR_MACPORTS "include/@NAME@/mysql")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_DOCDIR_MACPORTS "share/doc/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_DOCREADMEDIR_MACPORTS "share/doc/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_MANDIR_MACPORTS "share/man/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_INFODIR_MACPORTS "share/doc/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_SHAREDIR_MACPORTS "share/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_MYSQLSHAREDIR_MACPORTS "share/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_MYSQLTESTDIR_MACPORTS "share/@NAME@/mysql-test")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_SQLBENCHDIR_MACPORTS "share/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_SUPPORTFILESDIR_MACPORTS "share/@NAME@/support-files")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_MYSQLDATADIR_MACPORTS "${CMAKE_INSTALL_PREFIX}/var/db/@NAME@")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_MYSQLKEYRINGDIR_MACPORTS "${CMAKE_INSTALL_PREFIX}/var/db/@NAME@-keyring")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_SECURE_FILE_PRIVDIR_MACPORTS "${CMAKE_INSTALL_PREFIX}/var/db/@NAME@-files")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SET(INSTALL_PLUGINTESTDIR_MACPORTS ${plugin_tests})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # DEB layout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET(INSTALL_BINDIR_DEB "bin")
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-cmake-install_macros-protobuf-path.cmake.diff b/databases/mysql82/files/patch-cmake-install_macros-protobuf-path.cmake.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e173de1fc90
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-cmake-install_macros-protobuf-path.cmake.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,75 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/cmake/install_macros.cmake.orig 2020-10-21 05:11:33.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/cmake/install_macros.cmake 2020-10-21 05:13:16.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -342,9 +342,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_CUSTOM_TARGET(link_protobuf_dlls_bin ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../lib/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../mysql/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../lib/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../mysql/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/runtime_output_directory"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMENT "Creating libprotobuf symlinks in runtime_output_directory"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -356,9 +356,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_DEPENDENCIES(symlink_protobuf_dlls link_protobuf_dlls_bin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_CUSTOM_TARGET(link_protobuf_dlls_plugin ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../lib/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../mysql/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../lib/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../mysql/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/plugin_output_directory"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMENT "Creating libprotobuf symlinks in plugin_output_directory"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -379,9 +379,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/plugin_output_directory/plugin")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_CUSTOM_TARGET(link_protobuf_dlls_plugin_install ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../lib/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../mysql/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../lib/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../mysql/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/plugin_output_directory/plugin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL(FILES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -393,9 +393,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/plugin_output_directory/plugin/debug")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_CUSTOM_TARGET(link_protobuf_dlls_plugin_install_debug ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../../lib/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../../mysql/$<TARGET_FILE_NAME:libprotobuf>" "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../../lib/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../../mysql/$<TARGET_FILE_NAME:libprotobuf-lite>" "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/plugin_output_directory/plugin/debug"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_DEPENDENCIES(symlink_protobuf_dlls link_protobuf_dlls_plugin_install_debug)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -408,20 +408,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IF(NOT BUILD_IS_SINGLE_CONFIG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_CUSTOM_TARGET(link_protobuf_dlls_plugin_xcode ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../lib/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../mysql/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../lib/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../mysql/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/plugin_output_directory/${CMAKE_CFG_INTDIR}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_DEPENDENCIES(symlink_protobuf_dlls link_protobuf_dlls_plugin_xcode)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_CUSTOM_TARGET(link_protobuf_dlls_bin_xcode ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../lib/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../mysql/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "$<TARGET_FILE_NAME:libprotobuf>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E create_symlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "../../lib/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "../../mysql/${CMAKE_CFG_INTDIR}/$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "$<TARGET_FILE_NAME:libprotobuf-lite>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/runtime_output_directory/${CMAKE_CFG_INTDIR}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-cmake-sasl-disable-platform-check.diff b/databases/mysql82/files/patch-cmake-sasl-disable-platform-check.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..79dc5eb57c2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-cmake-sasl-disable-platform-check.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/cmake/sasl.cmake 2020-04-28 11:05:57.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/cmake/sasl.cmake 2020-04-28 11:06:11.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -232,11 +232,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IF(WITH_SASL STREQUAL "system")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FIND_SYSTEM_SASL()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ELSEIF(WITH_SASL_PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- IF(LINUX_STANDALONE OR WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- FIND_CUSTOM_SASL()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ELSE()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MESSAGE(FATAL_ERROR "-DWITH_SASL=<path> not supported on this platform")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ FIND_CUSTOM_SASL()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ELSE()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RESET_SASL_VARIABLES()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MESSAGE(FATAL_ERROR "Could not find SASL")
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-mysql8-ffsll-apple.diff b/databases/mysql82/files/patch-mysql8-ffsll-apple.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..59c141d77df
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-mysql8-ffsll-apple.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/include/tables_contained_in.h.orig 2020-01-26 18:23:40.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/include/tables_contained_in.h 2020-01-26 18:24:52.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -29,6 +29,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "my_inttypes.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "sql/sql_optimizer.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef ffsll
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define ffsll __builtin_ffsll
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef _MSC_VER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <intrin.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #pragma intrinsic(_BitScanForward64)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-readline.cmake.diff b/databases/mysql82/files/patch-readline.cmake.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..373dfaea848
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-readline.cmake.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/cmake/readline.cmake 2022-04-10 08:32:14.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/cmake/readline.cmake 2022-04-10 08:33:05.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,6 +116,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Different path on FreeBSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FIND_PATH(FOUND_EDIT_READLINE_READLINE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NAMES edit/readline/readline.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PATHS @PREFIX@/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IF(FOUND_EDIT_READLINE_READLINE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET(EDITLINE_INCLUDE_DIR "${FOUND_EDIT_READLINE_READLINE}/edit/readline")
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-scripts-cmakelists.diff b/databases/mysql82/files/patch-scripts-cmakelists.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0b6c508fd04
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-scripts-cmakelists.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/scripts/CMakeLists.txt 2021-01-18 08:17:08.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/scripts/CMakeLists.txt 2021-01-18 08:18:01.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -222,7 +222,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IF(UNIX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # SHELL_PATH, FIND_PROC, CHECK_PID are used by mysqld_safe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- IF(SOLARIS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ IF(SOLARIS OR APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET (SHELL_PATH "/bin/bash")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ELSE()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET (SHELL_PATH "/bin/sh")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -232,7 +232,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET (FIND_PROC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "ps wwwp $PID | grep -v mysqld_safe | grep -- $MYSQLD > /dev/null")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- IF(SOLARIS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ IF(SOLARIS OR APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET (FIND_PROC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "ps -p $PID | grep -v mysqld_safe | grep -- $MYSQLD > /dev/null")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql82/files/patch-sql-local-boost.diff b/databases/mysql82/files/patch-sql-local-boost.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..331e2592827
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql82/files/patch-sql-local-boost.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/sql/CMakeLists.txt 2019-10-24 09:46:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/sql/CMakeLists.txt 2019-10-24 09:46:42.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,7 +20,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # along with this program; if not, write to the Free Software
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INCLUDE_DIRECTORIES(SYSTEM ${BOOST_PATCHES_DIR} ${BOOST_INCLUDE_DIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# Prevent Boost from including external precompiled Boost libraries
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++IF(USING_LOCAL_BOOST)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ADD_DEFINITIONS(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -DBOOST_ALL_NO_LIB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INCLUDE_DIRECTORIES(${BOOST_PATCHES_DIR} ${BOOST_INCLUDE_DIR} SYSTEM)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MY_INCLUDE_SYSTEM_DIRECTORIES(ICU)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>