mariadb 10.2.8
Closes #16962. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
cca8c64374
commit
2a23846ed5
1 changed files with 5 additions and 17 deletions
|
@ -1,9 +1,8 @@
|
|||
class Mariadb < Formula
|
||||
desc "Drop-in replacement for MySQL"
|
||||
homepage "https://mariadb.org/"
|
||||
url "https://ftp.osuosl.org/pub/mariadb/mariadb-10.2.7/source/mariadb-10.2.7.tar.gz"
|
||||
sha256 "225ba1bbc48325ad38a9f433ff99da4641028f42404a29591cc370e4a676c0bc"
|
||||
revision 1
|
||||
url "https://downloads.mariadb.org/f/mariadb-10.2.8/source/mariadb-10.2.8.tar.gz"
|
||||
sha256 "8dd250fe79f085e26f52ac448fbdb7af2a161f735fae3aed210680b9f2492393"
|
||||
|
||||
bottle do
|
||||
sha256 "f49492a887f42b9c46d9d3b4ac578bf48e0ac201531b6ee94187780c96ff820d" => :sierra
|
||||
|
@ -33,21 +32,7 @@ class Mariadb < Formula
|
|||
conflicts_with "mariadb-connector-c",
|
||||
:because => "both install plugins"
|
||||
|
||||
# Remove for >= 10.2.8
|
||||
# Upstream commit from 7 Jul 2017 "Fix for MDEV-13270: Wrong output for
|
||||
# mariadb_config on OSX"
|
||||
# See https://jira.mariadb.org/browse/MDEV-13270
|
||||
resource "mariadb-config-patch" do
|
||||
url "https://github.com/MariaDB/mariadb-connector-c/commit/3f356c0.patch?full_index=1"
|
||||
sha256 "3f01377b6b806c5e6850c380df271c5835feb80434553a63e91528b40d3ac566"
|
||||
end
|
||||
|
||||
def install
|
||||
resource("mariadb-config-patch").stage do
|
||||
system "patch", "-p1", "-i", Pathname.pwd/"3f356c0.patch", "-d",
|
||||
buildpath/"libmariadb"
|
||||
end
|
||||
|
||||
# Set basedir and ldata so that mysql_install_db can find the server
|
||||
# without needing an explicit path to be set. This can still
|
||||
# be overridden by calling --basedir= when calling.
|
||||
|
@ -71,6 +56,9 @@ class Mariadb < Formula
|
|||
-DCOMPILATION_COMMENT=Homebrew
|
||||
]
|
||||
|
||||
# Disable RocksDB becaus of build failure: https://jira.mariadb.org/browse/MDEV-13585
|
||||
args << "-DPLUGIN_ROCKSDB=NO"
|
||||
|
||||
# disable TokuDB, which is currently not supported on macOS
|
||||
args << "-DPLUGIN_TOKUDB=NO"
|
||||
|
||||
|
|
Loading…
Reference in a new issue