percona-server@5.6 5.6.36-82.1

Closes #16388.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Tomasz Pajor 2017-08-04 10:23:07 +02:00 committed by ilovezfs
parent 9df4a1a725
commit df7898728a

View file

@ -1,9 +1,9 @@
class PerconaServerAT56 < Formula
desc "Drop-in MySQL replacement"
homepage "https://www.percona.com"
url "https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.35-81.0/source/tarball/percona-server-5.6.35-81.0.tar.gz"
version "5.6.35-81.0"
sha256 "c71c3f80662982ade22a0a538c5fd595b1761472c98efc2509124ecc4004d1e7"
url "https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.36-82.1/source/tarball/percona-server-5.6.36-82.1.tar.gz"
version "5.6.36-82.1"
sha256 "bebab31321e17682bc23f0f1e95211f002ba2a24c21d9a7ce9821cbe2a1ba4ba"
bottle do
rebuild 2
@ -98,11 +98,8 @@ class PerconaServerAT56 < Formula
bin.install_symlink prefix/"scripts/mysql_install_db"
# Fix up the control script and link into bin
inreplace "#{prefix}/support-files/mysql.server" do |s|
s.gsub!(/^(PATH=".*)(")/, "\\1:#{HOMEBREW_PREFIX}/bin\\2")
# pidof can be replaced with pgrep from proctools on Mountain Lion
s.gsub!(/pidof/, "pgrep") if MacOS.version >= :mountain_lion
end
inreplace "#{prefix}/support-files/mysql.server",
/^(PATH=".*)(")/, "\\1:#{HOMEBREW_PREFIX}/bin\\2"
bin.install_symlink prefix/"support-files/mysql.server"