commit: e737e7a50811b3afdada71a381751eaec0908d5c Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Aug 18 09:46:58 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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