diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-18 15:36:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-18 15:36:15 +0100 |
commit | a2f7cdda45fadf1f967379421e8d808b1a503cd3 (patch) | |
tree | c02c7db0bb9249243aa73a4098a17e13daaaff21 /sys-cluster | |
parent | 66611e742171c343d64095516e19737d4753ba61 (diff) |
gentoo auto-resync : 18:08:2023 - 15:36:15
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/Manifest.gz | bin | 11562 -> 11566 bytes | |||
-rw-r--r-- | sys-cluster/galera/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/galera/galera-26.4.14.ebuild | 82 | ||||
-rw-r--r-- | sys-cluster/galera/galera-26.4.15.ebuild | 68 |
4 files changed, 154 insertions, 0 deletions
diff --git a/sys-cluster/Manifest.gz b/sys-cluster/Manifest.gz Binary files differindex 2948fa17bff9..339784cbbbbd 100644 --- a/sys-cluster/Manifest.gz +++ b/sys-cluster/Manifest.gz diff --git a/sys-cluster/galera/Manifest b/sys-cluster/galera/Manifest index c1133bf091ce..116e3ca7bcd9 100644 --- a/sys-cluster/galera/Manifest +++ b/sys-cluster/galera/Manifest @@ -5,5 +5,9 @@ AUX galera-26.4.8-respect-toolchain.patch 1786 BLAKE2B fb03674be3415a10b6cf9ea15 AUX garb.cnf 612 BLAKE2B 6597e77fd29aacece48e89217004abc62ecaf7f6477b62d5a29ff1c3b5f18dca3cfbe6a4a115c324c945f6949e8fe227b8b9e4e94816d48eda53e9e2723100e5 SHA512 97b921109b242ad1a19326564b5f9da8a09eadd4771c2c86c727c1c30e35f92ffadbb38ce7d81bc88572d2c7b04466ad212432954e09d81417c4ed7f69ec4648 AUX garb.init 905 BLAKE2B a6f64183587ae9815aedb491dc9dd06f9a625ca4d935099bfbe80bd9a97f7a4020a8ca8d6d9056c0b6a7556aa750e08e232a656da38451d5ae0a47246be7e39a SHA512 716443592e1bb2c8071e3ab5267c6d46ab4c7a1aea25d7cb4f732ef5fd192aff1e439138cab01166539d9509ef75d71ead52a702567744af39df23c021c808a7 DIST galera-26.4.13.tar.gz 1529682 BLAKE2B d7030fd5e3a48ede16f608cca9986de117a54f99cf3d972a5b14623acd84f05f31f5cdbbc3032bf5caa8e0486f418ac07c8f87287bb14a8164507c558876ae61 SHA512 e548048eac5fceb0bea1ae736abc6c488d175bc71a3cfb963675232688392ecb5dcc64ddd8e78ceda40e26b94b806d3c34bd9fc9765ebc047b5a5ce28ff7efea +DIST galera-26.4.14.tar.gz 1532285 BLAKE2B c647332a1a70609fbe3197653df2e24ccd0c5e053b1c9ef4d3de20bc70d8f2363090c6296e9e81eeb92a625c85d67b4f298db8e34862c7deb907baf13bae2e45 SHA512 f9bb3d1d503ed7f90cfc5596e68e8cf77683d2d7e6ddb45d0a6618bbc6a31ad2caa80933f6724734ec4ae416b37d7d7ec61e1bf0b87cefd4c959954266a2fb26 +DIST galera-26.4.15.tar.gz 1532571 BLAKE2B 8aa5c6027b4cfe7f41c9d431315a4a12b9ea45896743bafa296470e8e3f0613e8974e3daea0d7c89c3e2d014692fb7d10f4a64588add569a197546dcd0f0108d SHA512 b866610c00df344ea8c9cc948fadfa4be808ee6bb100fec470dee006458d81ec704db156d320889610bff9b944023963f624b8672596a282c7658c55d99ffca6 EBUILD galera-26.4.13-r1.ebuild 1781 BLAKE2B a2c799d0a0e24553252f656439e89cbf6b0ad9b063336ef1f4d5a8bc982b876884b0b6b387203f69e3dee0a62c797fff9ea56778303284a7d3155dc98a8cd5e9 SHA512 22e874658778976e069e225c9769960ba07bf030bbd32f848e3bd11e245306bf8937b66816813c70cf8d8f244600fb2e1cb105c6e024b44f329e20362badc727 +EBUILD galera-26.4.14.ebuild 1785 BLAKE2B 5e06a94b02b90c9904f230fc1a2cfa74090f98035d7ee281bb6f269aa06bcffc9f6abf4301102de4a5ababdf8fc7895f6abc377745668dd471193eac836fc5d7 SHA512 01ac42a9ceb3315bbdfde867dfa18f7ae0a16499869c61589c50ad201fe3c2417312efc4e6f5497f29d2749decda545a6aeb806e4522db258415dec6e6ba99fa +EBUILD galera-26.4.15.ebuild 1393 BLAKE2B 87b01be35a4e12aa40d2d0aefe9ecadabbfbf3a2ea068a46a562580f6dad049e21cd85aca8168edc9e7627edff9f83b9383bf81cd557d4557b497ae1019b2db5 SHA512 69df72dedf537df813ab22dc169d0dfa624369fd1320741ce1d02f96ec14a5d266020dd714363f66fbd781b809de6ece99d352e6541d5f3de9949ff0f6df9648 MISC metadata.xml 559 BLAKE2B 05daf7c57b0abe81f64a57092be24067d41785a0d2fa48c5d2d369bc6d1a35e83af2704b2b82737de16bb9be18543411ce913263913d5dfa9a5f9964c3a66c4c SHA512 b51dbbcaf9f966516a649cd819c130358716052782ae2470ab264444c7f8a86f4cd16dd48ccd95569f9d9ef068d6b2eab75017d1dab5ddb92e79403338131ef7 diff --git a/sys-cluster/galera/galera-26.4.14.ebuild b/sys-cluster/galera/galera-26.4.14.ebuild new file mode 100644 index 000000000000..5c0dd315ca69 --- /dev/null +++ b/sys-cluster/galera/galera-26.4.14.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-any-r1 scons-utils toolchain-funcs + +MY_PN="${PN}-4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API" +HOMEPAGE="https://galeracluster.com" +SRC_URI="https://releases.galeracluster.com/${MY_PN}/source/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="cpu_flags_x86_sse4_2 garbd test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:= + dev-libs/boost:= +" +DEPEND=" + ${RDEPEND} + dev-libs/check + >=dev-cpp/asio-1.22 +" + +PATCHES=( + "${FILESDIR}"/${PN}-26.4.6-strip-extra-cflags.patch + "${FILESDIR}"/${PN}-26.4.8-respect-toolchain.patch + "${FILESDIR}"/${PN}-26.4.13-asio.patch + "${FILESDIR}"/${PN}-26.4.13-tests.patch +) + +src_prepare() { + default + + # Remove bundled dev-cpp/asio + rm -r asio || die "Failed to remove bundled asio" + + # Remove optional garbd daemon + if ! use garbd ; then + rm -r garb || die "Failed to remove garbd daemon" + fi +} + +src_configure() { + tc-export AR CC CXX OBJDUMP + + # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++, + # and -Wold-style-cast + MYSCONS=( + crc32c_no_hardware=$(usex cpu_flags_x86_sse4_2 0 1) + tests=$(usex test 1 0) + strict_build_flags=0 + system_asio=1 + ) +} + +src_compile() { + escons --warn=no-missing-sconscript "${MYSCONS[@]}" +} + +src_install() { + dodoc scripts/packages/README scripts/packages/README-MySQL + + if use garbd ; then + dobin garb/garbd + newconfd "${FILESDIR}"/garb.cnf garbd + newinitd "${FILESDIR}"/garb.init garbd + doman man/garbd.8 + fi + + exeinto /usr/$(get_libdir)/galera + doexe libgalera_smm.so +} diff --git a/sys-cluster/galera/galera-26.4.15.ebuild b/sys-cluster/galera/galera-26.4.15.ebuild new file mode 100644 index 000000000000..db1f6d04e9df --- /dev/null +++ b/sys-cluster/galera/galera-26.4.15.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN="${PN}-4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API" +HOMEPAGE="https://galeracluster.com" +SRC_URI="https://releases.galeracluster.com/${MY_PN}/source/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="garbd ssl" + +RDEPEND=" + ssl? ( dev-libs/openssl:= ) + dev-libs/boost:= +" +# TODO: Make check dep optional +DEPEND=" + ${RDEPEND} + >=dev-cpp/asio-1.22 + dev-libs/check +" + +src_prepare() { + cmake_src_prepare + + # Remove bundled dev-cpp/asio + rm -r asio || die "Failed to remove bundled asio" + + # Remove optional garbd daemon + if ! use garbd ; then + rm -r garb || die "Failed to remove garbd daemon" + sed -i '/add_subdirectory(garb)/d' CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + -DGALERA_WITH_SSL=$(usex ssl) + ) + + cmake_src_configure +} + +src_install() { + dodoc scripts/packages/README scripts/packages/README-MySQL + + if use garbd ; then + newconfd "${FILESDIR}"/garb.cnf garbd + newinitd "${FILESDIR}"/garb.init garbd + doman man/garbd.8 + + pushd "${BUILD_DIR}" || die + dobin garb/garbd + fi + + pushd "${BUILD_DIR}" || die + exeinto /usr/$(get_libdir)/galera + doexe libgalera_smm.so +} |