From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D8BC1581C1 for ; Mon, 8 Jul 2024 07:08:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77B2CE2AD6; Mon, 8 Jul 2024 07:07:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E780E2AD6 for ; Mon, 8 Jul 2024 07:07:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 384F0335C96 for ; Mon, 8 Jul 2024 07:07:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A5901D23 for ; Mon, 8 Jul 2024 07:07:56 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1720422426.385377f02381722737c27dd5b80d3e3394dd75ac.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/galera/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/galera/Manifest sys-cluster/galera/galera-26.4.19.ebuild X-VCS-Directories: sys-cluster/galera/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 385377f02381722737c27dd5b80d3e3394dd75ac X-VCS-Branch: master Date: Mon, 8 Jul 2024 07:07:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d0023b92-1cb2-4e60-9257-8bd9d64ef8a0 X-Archives-Hash: 1ee38cd6fe1e34dbe6945ad87dc4d568 commit: 385377f02381722737c27dd5b80d3e3394dd75ac Author: Petr Vaněk gentoo org> AuthorDate: Mon Jul 8 07:06:03 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Mon Jul 8 07:07:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385377f0 sys-cluster/galera: add 26.4.19 Signed-off-by: Petr Vaněk gentoo.org> sys-cluster/galera/Manifest | 1 + sys-cluster/galera/galera-26.4.19.ebuild | 71 ++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/sys-cluster/galera/Manifest b/sys-cluster/galera/Manifest index 608a476d4f6b..12abf13097cc 100644 --- a/sys-cluster/galera/Manifest +++ b/sys-cluster/galera/Manifest @@ -1,2 +1,3 @@ DIST galera-26.4.17.tar.gz 1541975 BLAKE2B 7b12a9c056e45fc0614910a5f6eb1127e3613aa7b212db94594330ddd048de4982cbb1d36a75c08da0aa31a9a08a5632686e867b967291bb269835e37a6efcb3 SHA512 c11fecb6c9e142643f594275d6ff486d7a3615016691373831e57221f9bbfdc086202757068a2cc9308049b3499aa64dcc6f066dcf6437d25a4c546b19ac8fa3 DIST galera-26.4.18.tar.gz 1542330 BLAKE2B 5a0d8b1929a72ce36f521ba3404b9251503226ba041970bc67f9d25b2b55c2daa2128500117366273541578eb1d7fd213d5f8336cba705650c55b70125dcbf0d SHA512 75ae75c0bac1b2ba5d0230af9b0e14b5e8661f20f84cee3800b2e979c3ef53c9dd5ce8cebcec1ae9205b5dec28f94f690854cce32a10e9f58d8aa55725fd59c6 +DIST galera-26.4.19.tar.gz 1548419 BLAKE2B fb4065a501412921d9a9b46cf9ce6cdd69616fe11a0cd9bbba17adb640af4f93d517514c31ccb00fbd7591ee624f6a4a6c1a9ba5552799276199cbb4fdb5bae4 SHA512 1d6e4d1adadbee411cb82335e4913bc28e009fa0e9ce150cf1d12cc85ce03cb00337ff52a6bad3a72315d42bf1daad1fe93b3fc810e109a762bb1a88f8c69cfe diff --git a/sys-cluster/galera/galera-26.4.19.ebuild b/sys-cluster/galera/galera-26.4.19.ebuild new file mode 100644 index 000000000000..2defbd8cbff9 --- /dev/null +++ b/sys-cluster/galera/galera-26.4.19.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 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}.$(ver_cut 3)/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 +}