percona-server 5.7.10-1rc1 (devel)
Closes Homebrew/homebrew#48199. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
29338ecfae
commit
2a04c103ae
1 changed files with 27 additions and 4 deletions
|
@ -5,6 +5,17 @@ class PerconaServer < Formula
|
|||
version "5.6.28-76.1"
|
||||
sha256 "ab8ab794a58a82132645ae84b74de91c7f9a5bcf81f2162628ce8976a00a4fd4"
|
||||
|
||||
devel do
|
||||
url "https://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-5.7.10-1rc1/source/tarball/percona-server-5.7.10-1rc1.tar.gz"
|
||||
version "5.7.10-1rc1"
|
||||
sha256 "68de79af4a761522f436b89eeb5bbb43a56dccc2bc352d38c79b6e6be0c4106c"
|
||||
|
||||
resource "boost" do
|
||||
url "https://downloads.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.bz2"
|
||||
sha256 "727a932322d94287b62abb1bd2d41723eec4356a7728909e38adb65ca25241ca"
|
||||
end
|
||||
end
|
||||
|
||||
bottle do
|
||||
sha256 "9ecb4fd01c4e6915f43aea950371cbea98ee483276f8e67a6d8a3e14e1d7a0d9" => :el_capitan
|
||||
sha256 "edadb9ce8663d7324bcb5b88419f940445e6e8672b01dca1695e9b9c2bcf645d" => :yosemite
|
||||
|
@ -89,6 +100,14 @@ class PerconaServer < Formula
|
|||
# https://bugs.launchpad.net/percona-server/+bug/1531446
|
||||
args.concat %W[-DWITHOUT_TOKUDB=1]
|
||||
|
||||
if build.devel?
|
||||
# MySQL >5.7.x mandates Boost as a requirement to build & has a strict
|
||||
# version check in place to ensure it only builds against expected release.
|
||||
# This is problematic when Boost releases don't align with MySQL releases.
|
||||
(buildpath/"boost_1_59_0").install resource("boost")
|
||||
args << "-DWITH_BOOST=#{buildpath}/boost_1_59_0"
|
||||
end
|
||||
|
||||
# To enable unit testing at build, we need to download the unit testing suite
|
||||
if build.with? "test"
|
||||
args << "-DENABLE_DOWNLOADS=ON"
|
||||
|
@ -131,10 +150,14 @@ class PerconaServer < Formula
|
|||
|
||||
bin.install_symlink prefix/"support-files/mysql.server"
|
||||
|
||||
# Move mysqlaccess to libexec
|
||||
libexec.mkpath
|
||||
mv "#{bin}/mysqlaccess", libexec
|
||||
mv "#{bin}/mysqlaccess.conf", libexec
|
||||
# mysqlaccess deprecated on 5.6.17, and removed in 5.7.4.
|
||||
# See: https://bugs.mysql.com/bug.php?id=69012
|
||||
if build.stable?
|
||||
# Move mysqlaccess to libexec
|
||||
libexec.mkpath
|
||||
mv "#{bin}/mysqlaccess", libexec
|
||||
mv "#{bin}/mysqlaccess.conf", libexec
|
||||
end
|
||||
end
|
||||
|
||||
def post_install
|
||||
|
|
Loading…
Reference in a new issue