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 716F615800A for ; Fri, 18 Aug 2023 09:52:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 946A32BC028; Fri, 18 Aug 2023 09:52:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 800A82BC028 for ; Fri, 18 Aug 2023 09:52:23 +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 B9ED1335D63 for ; Fri, 18 Aug 2023 09:52:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA6DEFCE for ; Fri, 18 Aug 2023 09:52:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1692352018.e737e7a50811b3afdada71a381751eaec0908d5c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/galera/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/galera/galera-26.4.15.ebuild X-VCS-Directories: sys-cluster/galera/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e737e7a50811b3afdada71a381751eaec0908d5c X-VCS-Branch: master Date: Fri, 18 Aug 2023 09:52:20 +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: e783988e-8f90-4aa4-9569-3ff76bc8d6e8 X-Archives-Hash: e8ffab9b12dc826bc6fde7ca545e7a99 commit: e737e7a50811b3afdada71a381751eaec0908d5c Author: Sam James gentoo org> AuthorDate: Fri Aug 18 09:46:58 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 18 09:46:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e737e7a5 sys-cluster/galera: make SSL optional I can see this being useful especially for either where links are over a VPN or similar and/or where new OpenSSL causes problems for people in future. Signed-off-by: Sam James gentoo.org> sys-cluster/galera/galera-26.4.15.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sys-cluster/galera/galera-26.4.15.ebuild b/sys-cluster/galera/galera-26.4.15.ebuild index 0593b2770b14..8268ec426c17 100644 --- a/sys-cluster/galera/galera-26.4.15.ebuild +++ b/sys-cluster/galera/galera-26.4.15.ebuild @@ -16,11 +16,11 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-2 BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" -IUSE="garbd test" +IUSE="garbd test ssl" RESTRICT="!test? ( test )" RDEPEND=" - dev-libs/openssl:= + ssl? ( dev-libs/openssl:= ) dev-libs/boost:= " DEPEND=" @@ -42,6 +42,14 @@ src_prepare() { fi } +src_configure() { + local mycmakeargs=( + -DGALERA_WITH_SSL=$(usex ssl) + ) + + cmake_src_configure +} + src_install() { dodoc scripts/packages/README scripts/packages/README-MySQL