--- /var/db/repos/gentoo/dev-db/mysql/mysql-8.0.45.ebuild 2026-06-03 18:38:29.251940643 -0500 +++ mysql-8.0.45.ebuild 2026-06-29 05:30:29.000000000 -0500 @@ -9,14 +9,17 @@ MY_P="${PN}-${MY_PV}" # Patch version -PATCH_SET=( https://github.com/parona-source/mysql-server/releases/download/mysql-8.0.43-patches-01/mysql-8.0.43-patches-01.tar.xz ) +PATCH_SET=( + https://github.com/parona-source/mysql-server/releases/download/mysql-8.0.43-patches-01/mysql-8.0.43-patches-01.tar.xz + "${FILESDIR}"/mysql-boostonly-${MY_PV}.tar.gz +) DESCRIPTION="A fast, multi-threaded, multi-user SQL database server" HOMEPAGE="https://www.mysql.com/" # https://dev.mysql.com/downloads/mysql/ -SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-boost-${MY_PV}.tar.gz" +SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-${MY_PV}.tar.gz" # https://downloads.mysql.com/archives/community/ -SRC_URI+=" https://cdn.mysql.com/archives/mysql-$(ver_cut 1-2)/mysql-boost-${MY_PV}.tar.gz" +SRC_URI+=" https://cdn.mysql.com/archives/mysql-$(ver_cut 1-2)/mysql-${MY_PV}.tar.gz" SRC_URI+=" ${PATCH_SET[@]}" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase @@ -26,13 +29,15 @@ SLOT="8.0" # -ppc for bug #761715 KEYWORDS="amd64 arm arm64 ~hppa ~mips -ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" -IUSE="cjk cracklib debug jemalloc latin1 numa +perl profiling router selinux +server tcmalloc test test-install" +IUSE="cjk cracklib debug jemalloc latin1 ndb ndbjava numa +perl profiling router selinux +server tcmalloc test test-install" RESTRICT="!test? ( test )" REQUIRED_USE=" ?? ( tcmalloc jemalloc ) cjk? ( server ) jemalloc? ( server ) + ndb? ( server ) + ndbjava? ( server ) numa? ( server ) profiling? ( server ) router? ( server ) @@ -59,6 +64,7 @@ dev-libs/libaio sys-process/procps ) + ndbjava? ( virtual/jdk ) numa? ( sys-process/numactl ) tcmalloc? ( dev-util/google-perftools:= ) ) @@ -352,6 +358,8 @@ # but it cannot handle abseil when building against system # Currently bundles protobuf-25.1 -DWITH_PROTOBUF=bundled + -DWITH_NDB=$(usex ndb ON OFF) + -DWITH_NDB_JAVA=$(usex ndbjava ON OFF) -DWITH_NUMA=$(usex numa ON OFF) )