From e93c3b2c05c3bda4f115c260531d9942f98ba39d Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Tue, 20 Oct 2015 10:42:07 -0400 Subject: dev-db/mysql-cluster: Add LibreSSL support Package-Manager: portage-2.2.23 --- dev-db/mysql-cluster/metadata.xml | 7 +++++++ dev-db/mysql-cluster/mysql-cluster-7.3.8.ebuild | 8 ++++++++ dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild | 8 ++++++++ 3 files changed, 23 insertions(+) (limited to 'dev-db/mysql-cluster') diff --git a/dev-db/mysql-cluster/metadata.xml b/dev-db/mysql-cluster/metadata.xml index 0fd723f94d87..3e4bee60e527 100644 --- a/dev-db/mysql-cluster/metadata.xml +++ b/dev-db/mysql-cluster/metadata.xml @@ -2,6 +2,10 @@ mysql + + hasufell@gentoo.org + Libressl issues. Only assign if it's a direct Libressl issue. Do not directly assign for anything else. + Add support for NDB clustering Enables the community features from upstream. @@ -9,10 +13,13 @@ Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition) Use dev-libs/jemalloc for allocations. Use LATIN1 encoding instead of UTF8 + Enable SSL connections and crypto functions using dev-libs/libressl + Enable SSL connections and crypto functions using dev-libs/openssl Raise the max index per table limit from 64 to 128 Install client programs only, no server Add support for statement profiling (requires USE=community). Build support for profiling and tracing using dev-util/systemtap Install upstream testsuites for end use. + Enable SSL connections and crypto functions using the bundled yaSSL diff --git a/dev-db/mysql-cluster/mysql-cluster-7.3.8.ebuild b/dev-db/mysql-cluster/mysql-cluster-7.3.8.ebuild index 4a10e32edc31..1dcd3582e59d 100644 --- a/dev-db/mysql-cluster/mysql-cluster-7.3.8.ebuild +++ b/dev-db/mysql-cluster/mysql-cluster-7.3.8.ebuild @@ -23,6 +23,14 @@ RDEPEND="!media-sound/amarok[embedded]" # If you want to add a single patch, copy the ebuild to an overlay # and create your own mysql-extras tarball, looking at 000_index.txt +src_prepare() { + mysql-multilib_src_prepare + if use libressl ; then + sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \ + "${S}/cmake/ssl.cmake" || die + fi +} + # Official test instructions: # USE='cluster extraengine perl ssl community' \ # FEATURES='test userpriv -usersandbox' \ diff --git a/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild b/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild index 20b5fee46b98..c6e01f67ffd6 100644 --- a/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild +++ b/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild @@ -24,6 +24,14 @@ RDEPEND="!media-sound/amarok[embedded]" # If you want to add a single patch, copy the ebuild to an overlay # and create your own mysql-extras tarball, looking at 000_index.txt +src_prepare() { + mysql-multilib_src_prepare + if use libressl ; then + sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \ + "${S}/cmake/ssl.cmake" || die + fi +} + # Official test instructions: # USE='cluster extraengine perl ssl community' \ # FEATURES='test userpriv -usersandbox' \ -- cgit v1.2.3-65-gdbad