Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql mysql-client 8.3.0 #160037

Merged
merged 22 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
15 changes: 8 additions & 7 deletions Formula/d/diesel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ class Diesel < Formula
url "https://github.com/diesel-rs/diesel/archive/refs/tags/v2.1.4.tar.gz"
sha256 "5aac923078a5b431902d75cfca36f2990b3f11dbb2bbbc44f4538305af939657"
license any_of: ["Apache-2.0", "MIT"]
revision 1
head "https://github.com/diesel-rs/diesel.git", branch: "master"

bottle do
sha256 cellar: :any, arm64_sonoma: "608973741191ddce848c9cca40080a082b35e06f4bef4f0128ff42c045a0ca4f"
sha256 cellar: :any, arm64_ventura: "25ccc9d1151f4f0ebc5139537e5cd05e2bccfbf16f1d84182c55e464a8bed2b1"
sha256 cellar: :any, arm64_monterey: "ca7d81596d9c941b7fede129bbd1f0870752fd48b779d2fac5e7eedbc6043422"
sha256 cellar: :any, sonoma: "e363f0af425f142c3a93bd2b2413d1da88904590b795cbc162478774b6dfbce1"
sha256 cellar: :any, ventura: "4317c4ae0dd0102cb3081c1f0e566de99433bb2bc70852106720a925551d1886"
sha256 cellar: :any, monterey: "f19abf8905c6ef8ee97e90907d5872af57d5b04d46f035c8f9e955144a05a15a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "211c7444e7ff2692c71da7c20969fe17926de823c46e57be6222aecc7ee4a4d6"
sha256 cellar: :any, arm64_sonoma: "515154489d83510a1b766c1c560e20aba0bf69f4f8a7e4c5ab61422d6239abb0"
sha256 cellar: :any, arm64_ventura: "2edd7c5f90fd3d7dfd190f68a9f9581f807c491f9ed9226be5d9f62d2ac1ea10"
sha256 cellar: :any, arm64_monterey: "e583cab88fe4efc422f2ec56943bdd538839260225d12a8dc4d17ca14fc6ffa0"
sha256 cellar: :any, sonoma: "88f90b357db55926639fc1e332f17f26e59212172a83e43804bb76e2d30a6f7b"
sha256 cellar: :any, ventura: "6e865c89f16d987c0da2bd313980749508768383ef20b16318ac205aaae0d635"
sha256 cellar: :any, monterey: "1caa005a57decc61b66eede1f5f499640c2a4c1c0ccb9af96f38c2cc19273d74"
sha256 cellar: :any_skip_relocation, x86_64_linux: "6abef19ae2e350f2c39df6a3acb3f5c34c3a585652fbadc77abcc2bc54c958f2"
end

depends_on "rust" => [:build, :test]
Expand Down
18 changes: 8 additions & 10 deletions Formula/h/hydra.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@ class Hydra < Formula
url "https://github.com/vanhauser-thc/thc-hydra/archive/refs/tags/v9.5.tar.gz"
sha256 "9dd193b011fdb3c52a17b0da61a38a4148ffcad731557696819d4721d1bee76b"
license "AGPL-3.0-only"
revision 2
revision 3
head "https://github.com/vanhauser-thc/thc-hydra.git", branch: "master"

bottle do
sha256 cellar: :any, arm64_sonoma: "3b5572227a5ef2ff439b5d95e41502d3aac78efc01c43ed4316fa9570acc0554"
sha256 cellar: :any_skip_relocation, arm64_ventura: "4dd1a40a47a6d21db024a3fa9c9c538c46f2e6a19b7db8b7443977b87b8baf76"
sha256 cellar: :any_skip_relocation, arm64_monterey: "e1d8c51d8f1768fa1b4f88b90cbdc792f59387e59562a1a9d057a2a4bcba0541"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "a5b0056b050593dc17211890362fa09c1bd52d889fd142736b7b4c1114bb5e05"
sha256 cellar: :any, sonoma: "a5cd4f90c900f58438505c2e65a0cea4a16b3c2b214c7274684473ad44fa9e51"
sha256 cellar: :any_skip_relocation, ventura: "fdd37885440ef848dfc7030e67c281262b5b5b5e4139372f40a91f894b28f256"
sha256 cellar: :any_skip_relocation, monterey: "073cd2c90a68bdeb9c2108e84bdb18dc1caf8c2b924f7466d868288edc6ef929"
sha256 cellar: :any_skip_relocation, big_sur: "4d411dcdc73070bdc6c01b458ba694717b8a9970a21ddcc75d4ab7c87611015c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c8b19d859564f0dc079b0e81717f6d747028b0837b2cb277dd0df9d017836b0d"
sha256 cellar: :any, arm64_sonoma: "5ad7aec614f7ac261d41ec4f660e306e65e769c56c73cdf1204e57ac44b66166"
sha256 cellar: :any, arm64_ventura: "ff55d918b7f9a730a709012d4922c35b6b5bd221a1071403c0a058acaa976347"
sha256 cellar: :any, arm64_monterey: "99fd99189f3dbf44a50d20599ec11ff6d8d1f32ef8ca3357b16ca04008e1e50d"
sha256 cellar: :any, sonoma: "5fb5582746b0afa585bed71fe301ae44f4fc5712529439c012d180988b9d7ff0"
sha256 cellar: :any, ventura: "ae70b33f5e3e3b3e92ef53060e9a5279a2b0330029952163e8dd35469f4dcabf"
sha256 cellar: :any, monterey: "a186bb6c18e2f1ae836f4e4bab5b9a94e0b8b6d7050470b700d90beb435ff92d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f86b73a438c67e1ef36971fe212ff8e51d8f915473d45e16e423570f86714fea"
end

depends_on "pkg-config" => :build
Expand Down
15 changes: 8 additions & 7 deletions Formula/i/inspircd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ class Inspircd < Formula
url "https://github.com/inspircd/inspircd/archive/refs/tags/v3.17.0.tar.gz"
sha256 "181de90130e11a26ec107fcb6b74005cbce3051b89b500347e416054e29c3166"
license "GPL-2.0-only"
revision 1

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

bottle do
sha256 arm64_sonoma: "765ec9c1d774f6e55096e6341342b8e5b361c25a6931437ecaee293d659b60b9"
sha256 arm64_ventura: "f9bcdb65e4317b03bf88af82c2f6702ed40a645e189c13cd73f844825ed8f982"
sha256 arm64_monterey: "b6e7232234ca5082e64ef39cf1bf89d7ff54d9f756eb37cde8b0275890a059f5"
sha256 sonoma: "522d9d2dcc7306151e3fc0d54b8dd65ebd602a5eb0f166feb397adc3d8678b25"
sha256 ventura: "1b5051200899dc7b8b52fc6f21d03b642a69b043f7f20d374e449dce46d29ea6"
sha256 monterey: "ea88c8c2914778202b8f2f3cdb18bd29b7a4c06dcafd958e2bc2af00a400c513"
sha256 x86_64_linux: "6e16e1cce59a398ed56dc26c73096748fb014c7c90f473c22b67e994e9462c0c"
sha256 arm64_sonoma: "f909dabd1cda182a8bffac9702d1ba9e6811cc184680c1723405c8e9c8d758ba"
sha256 arm64_ventura: "1300bfd953404cc3728e3fa6e6411350bdb395ff7361dbc50e1dc3ec1fa59371"
sha256 arm64_monterey: "8f86230f1506baf2082fc140675d23f337303d71ce64c025ba8c6e304ce5b6d7"
sha256 sonoma: "ae5c22ec9be553b0a59ad856be6a56c6091673318eef9f4bb07cfba10a4ae4bb"
sha256 ventura: "ce39749fdb7a7e2a00c50009b35fdb83500676ff28634edc49d8192f11d86ce4"
sha256 monterey: "b97474dd548b126d240fd87708cf749cd06e1d9ee6e155ce79b722c8a77b14fa"
sha256 x86_64_linux: "335aeeb4df8b203befe37e35b80776f9679bcc36f263975a952fc2a24502ac8d"
end

depends_on "pkg-config" => :build
Expand Down
15 changes: 8 additions & 7 deletions Formula/k/kitchen-sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class KitchenSync < Formula
url "https://github.com/willbryant/kitchen_sync/archive/refs/tags/v2.20.tar.gz"
sha256 "e79e5dfad48b8345b1d80444a0e992b2f9b9c53f29f6f607647e567292a7d0f2"
license "MIT"
revision 1
head "https://github.com/willbryant/kitchen_sync.git", branch: "master"

livecheck do
Expand All @@ -12,13 +13,13 @@ class KitchenSync < Formula
end

bottle do
sha256 cellar: :any, arm64_sonoma: "c9821f09b7f11d7dabec107ae7bb120ff7711721149cffe458e0e1efc976e58f"
sha256 cellar: :any, arm64_ventura: "52da1db89b0c2d36ee37651f789c9544fcb9e598464e4c141098cac805cce66d"
sha256 cellar: :any, arm64_monterey: "68405e9bce21249e1cd3a7edb2c166b9322851858ec84c2de9147309eb7f6156"
sha256 cellar: :any, sonoma: "8a33caa241b8a4402c0c70c2e328e85f20ddf347679b2ef3432e1a4a917a2c47"
sha256 cellar: :any, ventura: "f43ba4ad13d25b2625a8f186a1e5b929467c6d17bf597e0557d95d9cad20fbaa"
sha256 cellar: :any, monterey: "7c95652e20014ae659264af72721db5e6ad1e9c2eec1b7eac286d3ee1e79f2e3"
sha256 cellar: :any_skip_relocation, x86_64_linux: "127c662bc3b1f282cefe2e883e8d28727d6ba136eecddb3bc9266f7a756e6915"
sha256 cellar: :any, arm64_sonoma: "5f8cf7d2864d228a9dd683db4e4db77e7bd26299a27e57123de0024e49dd4cd9"
sha256 cellar: :any, arm64_ventura: "e6ee691c1832150af1dc3a2107575d9eb4e679408bbd389ad8300d47e8aaa77d"
sha256 cellar: :any, arm64_monterey: "47bc5d86d010b784a109329b79c58369482dcd69a533cdcdfa1917b1e75e93f4"
sha256 cellar: :any, sonoma: "e5b1253868e365244a55b34082af8f6652235d7dfdb701524a0209811b317395"
sha256 cellar: :any, ventura: "21339399ddf59afa015707b5b746885a1ea63fce3ec5129999126af9c5297502"
sha256 cellar: :any, monterey: "2e2a97794f7b569203f4d175ed72a23ca4bf97ec120777ccf1a55fa4f7be615a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d7e328803005bb943025c372d5e2c3af128776606ea36538693f80d4af6e3ae8"
end

depends_on "cmake" => :build
Expand Down
41 changes: 31 additions & 10 deletions Formula/lib/libzdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,32 @@ class Libzdb < Formula
url "https://tildeslash.com/libzdb/dist/libzdb-3.2.3.tar.gz"
sha256 "a1957826fab7725484fc5b74780a6a7d0d8b7f5e2e54d26e106b399e0a86beb0"
license "GPL-3.0-only"
revision 3
revision 4

livecheck do
url :homepage
regex(%r{href=.*?dist/libzdb[._-]v?(\d+(?:\.\d+)+)\.t}i)
end

bottle do
sha256 cellar: :any, arm64_sonoma: "0d2f9140f3ba6002dc6ec5a8c899eb2877a0fe9f65f45d57e976a6cd0f6b0c71"
sha256 cellar: :any, arm64_ventura: "9f003c71502ff19bfdc03e97fe2b103a1c844dc84d62c3e7b6b07e3f8d099e98"
sha256 cellar: :any, arm64_monterey: "9396c5be6a8ab6cf674304b8fb52ac1e80ffda0d24545934298e3f5857fde3ba"
sha256 cellar: :any, sonoma: "e545205ec152e5073731c12b0186a0e2599a0d6c58c95a78ba1b991362b6520d"
sha256 cellar: :any, ventura: "d34a74e8b616e7ad01cf71971db1460c2e4af1d167be3313eb4ced10d99e58dc"
sha256 cellar: :any, monterey: "92a90cec84456001c0f717ec676c312df92e12b5be379465050099a14644cd45"
sha256 cellar: :any_skip_relocation, x86_64_linux: "24024e26a0d37d273d0f05f79f34b7b74cef30da63b29b97c943d8a0f78bb16b"
sha256 cellar: :any, arm64_sonoma: "c33a3c53872c2cf138d6d36a30697feb3c772df7c3af38b18d06011b5c3dd1b3"
sha256 cellar: :any, arm64_ventura: "9ced34617c452cd53fbb22fac4a25b00a7f747efe87bde70d8fac53478c94c19"
sha256 cellar: :any, arm64_monterey: "60a30c4782d5683eb45f4e516eddc2e826eae8e0be59496ab7b82d2775417244"
sha256 cellar: :any, sonoma: "077224340fa1ac1f8cb9842ae4aa0db9cf306f0540189ecd1c16c298f2aa5e86"
sha256 cellar: :any, ventura: "129e3bf0325c241fb4f8ae144c90e8e53845ada18ca753019d5705a22eca4148"
sha256 cellar: :any, monterey: "645af9d42c7d9fb7b012f42bb2181d876f9b36e678cfd9441d8b74379c8eec8d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "787ffbba1df2908f13390d16ce3ffac1976f2f2acd937e3b2b33bc3f5af16fe4"
end

depends_on "libpq"
depends_on macos: :high_sierra # C++ 17 is required
depends_on "mysql-client@8.0" # Does not build with > 8.3: https://bitbucket.org/tildeslash/libzdb/issues/67/build-error-with-mysql-83
depends_on "mysql-client"
depends_on "openssl@3"
depends_on "sqlite"

fails_with gcc: "5" # C++ 17 is required
fails_with gcc: "5"

patch :DATA # C++ 17 is required

def install
system "./configure", *std_configure_args
Expand All @@ -43,3 +45,22 @@ def install
end
end
end

__END__
diff --git a/src/db/mysql/MysqlConnection.c b/src/db/mysql/MysqlConnection.c
index 45ae896..7b6c1e3 100644
--- a/src/db/mysql/MysqlConnection.c
+++ b/src/db/mysql/MysqlConnection.c
@@ -96,8 +96,10 @@ static MYSQL *_doConnect(Connection_T delegator, char **error) {
// Options
if (IS(URL_getParameter(url, "compress"), "true"))
clientFlags |= CLIENT_COMPRESS;
- if (IS(URL_getParameter(url, "use-ssl"), "true"))
- mysql_ssl_set(db, 0,0,0,0,0);
+ if (IS(URL_getParameter(url, "use-ssl"), "true")) {
+ enum mysql_ssl_mode ssl_mode = SSL_MODE_REQUIRED;
+ mysql_options(db, MYSQL_OPT_SSL_MODE, &ssl_mode);
+ }
#if MYSQL_VERSION_ID < 80000
if (IS(URL_getParameter(url, "secure-auth"), "true"))
mysql_options(db, MYSQL_SECURE_AUTH, (const char*)&yes);
18 changes: 8 additions & 10 deletions Formula/m/mydumper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Mydumper < Formula
url "https://github.com/mydumper/mydumper/archive/refs/tags/v0.15.1-3.tar.gz"
sha256 "a25bcb283b2eab192640da2e55ab7798d92293693bb717fb1490d59bc35887ee"
license "GPL-3.0-or-later"
revision 1
revision 2

livecheck do
url :stable
Expand All @@ -13,15 +13,13 @@ class Mydumper < Formula
end

bottle do
sha256 cellar: :any, arm64_sonoma: "e76c16211b4c38989db3cd42bd8160feb2c1fa6ee0b040aabcac5ca4c0e5dd4e"
sha256 cellar: :any_skip_relocation, arm64_ventura: "b6a34014c31b05f49d41924fb324c278e103b662eb62f33129002e7fc301390f"
sha256 cellar: :any_skip_relocation, arm64_monterey: "db7932dda55b7c2966653d52bb8e1f39e54fec008f81b17a4528ff44451773ed"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "077fbf649c4eba232a578647a2fac1312c4ae7ec46c4fe14ad11dda3b3369528"
sha256 cellar: :any, sonoma: "301fb4f6bc834227bf8c942ca843be8788bd2f9bbf17bddb2985cead1babcc2a"
sha256 cellar: :any_skip_relocation, ventura: "44135487d0d21e3a247426e5383560b7f6de82cfe8dea264ab46a9e08ae76336"
sha256 cellar: :any_skip_relocation, monterey: "11da5157606945cf92a6714e22aad18900ea42f87eda51239ccedab3e5f5062b"
sha256 cellar: :any_skip_relocation, big_sur: "169d62b34e47c949b31f39d49d480d6a703911256b052c44c6c9b12f2b6c60a7"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f8a4f765bffc08b76ce6ac8d86930460305d95daaf7861bc15d8c46fc00298e3"
sha256 cellar: :any, arm64_sonoma: "63f33806f9b7f3773e226fd1e3fa283f652ab759fe2b11e0407ab4d70a810641"
sha256 cellar: :any, arm64_ventura: "4c75a9e14228a8b1d2d698643e2ddf375a68135e24fab8e7aaa0bb8e34fc0efe"
sha256 cellar: :any, arm64_monterey: "eafcde1f1f16be33556fcdab10b28ec8e20bc2354af16f5cd419a61d30eb6e1a"
sha256 cellar: :any, sonoma: "edf42bc740f34ab16544a60996cd7440de24a3ec3aa83018a0b524c432aea416"
sha256 cellar: :any, ventura: "511d18ccd6174ad8e602b2072ea5e171a79d8cc574a44958ef91ec5ca8ddadf3"
sha256 cellar: :any, monterey: "dff49447d88f54fd3497576f563b897b0056ac0038fc843c12be893e2f851df9"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4332b7c44b0b1e007aa3d4816cf19641be17bd4701463c241c7cc17f3748bc5f"
end

depends_on "cmake" => :build
Expand Down
24 changes: 10 additions & 14 deletions Formula/m/mysql-client.rb
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
class MysqlClient < Formula
desc "Open source relational database management system"
homepage "https://dev.mysql.com/doc/refman/8.2/en/"
url "https://cdn.mysql.com/Downloads/MySQL-8.2/mysql-boost-8.2.0.tar.gz"
sha256 "9a6fe88c889dfb54a8ee203a3aaa2af4d21c97fbaf171dadaf5956714552010e"
homepage "https://dev.mysql.com/doc/refman/8.3/en/"
url "https://cdn.mysql.com/Downloads/MySQL-8.3/mysql-boost-8.3.0.tar.gz"
sha256 "f0a73556b8a417bc4dc6d2d78909080512beb891930cd93d0740d22207be285b"
license "GPL-2.0-only" => { with: "Universal-FOSS-exception-1.0" }

livecheck do
formula "mysql"
end

bottle do
sha256 arm64_sonoma: "3f1573753d2b4886ac49417031bae3f6ba6dd42f737c3abaa0abdccb2d351894"
sha256 arm64_ventura: "dbcb826ebc8fd2bda4e25c1ab1787348ff1c64f98f1372079dd410276e5ceb2a"
sha256 arm64_monterey: "1497501969ebe84479320e8c04f50a1c355bd0308d9d03ed111b4a38eab3fb06"
sha256 sonoma: "61346247d687aa1e6c86d63e195e0cc240a83132173a747295b37b33b54e646c"
sha256 ventura: "01c2730e6c623e4a7b15db55ec7db70e85956a558f56809809eb320734c8c74e"
sha256 monterey: "098e016430975ee9e142f3d26c4f03f02e750f84c7e8f9a7bbec3b9dad1cd236"
sha256 x86_64_linux: "fd19a7a5711362f13fb1c10ff7c01d15b048103cc911a5302796c0c5ab9a0369"
sha256 arm64_sonoma: "26d634762424b716b062db2f0aea99069ed49c4d23a87eb25228a60d0a5bc91e"
sha256 arm64_ventura: "0e78b5b70727e5bb9a490e808a446a57a99df5d0fe74012b9be664e8236be69b"
sha256 arm64_monterey: "5e07b7a43e907a34419300aec04bf76c0a8052b8d4efb938a02f8facc371a743"
sha256 sonoma: "db91051fc4112fc3b312d99c3cc003c56b263d7c0c52e527621bb3a86bb70ae7"
sha256 ventura: "7a346ad55b7f7530c1b60d5d8852f7418299e50e7a774af4d04695f292fd9e6b"
sha256 monterey: "8fbccabc53d77cbacb46d80ffa13a81dd9b8719a5b19e23704c1c91f906abe92"
sha256 x86_64_linux: "17b4319a7f67222566227fe45687482683832672cd6657dd523f577e1e7ae00d"
end

keg_only "it conflicts with mysql (which contains client libraries)"
Expand Down Expand Up @@ -62,10 +62,6 @@ def install
system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"

# Fix bad linker flags in `mysql_config`.
# https://bugs.mysql.com/bug.php?id=111011
inreplace bin/"mysql_config", "-lzlib", "-lz"
end

test do
Expand Down
25 changes: 10 additions & 15 deletions Formula/m/mysql.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
class Mysql < Formula
desc "Open source relational database management system"
homepage "https://dev.mysql.com/doc/refman/8.2/en/"
url "https://cdn.mysql.com/Downloads/MySQL-8.2/mysql-boost-8.2.0.tar.gz"
sha256 "9a6fe88c889dfb54a8ee203a3aaa2af4d21c97fbaf171dadaf5956714552010e"
homepage "https://dev.mysql.com/doc/refman/8.3/en/"
url "https://cdn.mysql.com/Downloads/MySQL-8.3/mysql-boost-8.3.0.tar.gz"
sha256 "f0a73556b8a417bc4dc6d2d78909080512beb891930cd93d0740d22207be285b"
license "GPL-2.0-only" => { with: "Universal-FOSS-exception-1.0" }
revision 1

livecheck do
url "https://dev.mysql.com/downloads/mysql/?tpl=files&os=src"
regex(/href=.*?mysql[._-](?:boost[._-])?v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 arm64_sonoma: "c1258ea46d6d392837aaa1f320234aea060fab691d2397079b0e6f3b208af902"
sha256 arm64_ventura: "144466213721433b31d655eabca063dbe569118497bf396ec8fd1d7366ef0bb5"
sha256 arm64_monterey: "46f8879999ac802d00a1cefb2333cc9e6cde0a0969bb78a80b4aa20a1d0cf2ac"
sha256 sonoma: "d45a69ad61eca69f2baddf355d91ead82a1d94d2b823fbb95b1177f3d65d6b8e"
sha256 ventura: "9e7e6a2f5247b6a83dff462175fd00fd83b99fa25d783b6b41358a1f9f073f5d"
sha256 monterey: "119af2815771e0d918238e097e47e5ea18a5ab646b71dab890fea431dbfc031e"
sha256 x86_64_linux: "122ae0c23f4a028e4a7094dc178102b50e03ae3ebe6333564e0da85c41a42088"
sha256 arm64_sonoma: "df6bc0e2467aed916538af13b4ce986f8fea0203f658f8b7586a9ddacfc2c5f8"
sha256 arm64_ventura: "609d00709f802617db96f42f2582bfc4494fd6c2089dadf2634b9e4bc181085e"
sha256 arm64_monterey: "db4c782d5bac5c27a8da039cb507eb94756a615e3620a56793b84db8d2543be2"
sha256 sonoma: "6823121559fb6528370d62ba41bd8449679ecb3cf21c04d5487d83695b896c42"
sha256 ventura: "0e5a7a6b47bf2e9dfe9aad4a196d49530c0419bdcb6a237a9bbfbe5cc5b63524"
sha256 monterey: "4875dc21e06005512e6d8a5e810fb21d1a15173a662b9dd9464c11b909c2401e"
sha256 x86_64_linux: "722de4bb10a9676cd5e71c6442ed4546409c089d6998b0e56f957272f16a25c5"
end

depends_on "bison" => :build
Expand Down Expand Up @@ -100,10 +99,6 @@ def install
system "cmake", "--build", "build"
system "cmake", "--install", "build"

# Fix bad linker flags in `mysql_config`.
# https://bugs.mysql.com/bug.php?id=111011
inreplace bin/"mysql_config", "-lzlib", "-lz"

(prefix/"mysql-test").cd do
system "./mysql-test-run.pl", "status", "--vardir=#{Dir.mktmpdir}"
end
Expand Down
Loading
Loading