|
1 | 1 | class MysqlAT84 < Formula |
2 | 2 | desc "Open source relational database management system" |
3 | | - homepage "https://dev.mysql.com/doc/refman/8.4/en/" |
4 | | - url "https://cdn.mysql.com/Downloads/MySQL-8.4/mysql-8.4.4.tar.gz" |
5 | | - sha256 "fb290ef748894434085249c31bca52ac71853124446ab218bb3bc502bf0082a5" |
| 3 | + # FIXME: Actual homepage fails audit due to Homebrew's user-agent |
| 4 | + # homepage "https://dev.mysql.com/doc/refman/8.4/en/" |
| 5 | + homepage "https://github.com/mysql/mysql-server" |
| 6 | + url "https://cdn.mysql.com/Downloads/MySQL-8.4/mysql-8.4.5.tar.gz" |
| 7 | + sha256 "53639592a720a719fdfadf2c921b947eac86c06e333202e47667852a5781bd1a" |
6 | 8 | license "GPL-2.0-only" => { with: "Universal-FOSS-exception-1.0" } |
7 | | - revision 3 |
8 | 9 |
|
9 | 10 | livecheck do |
10 | 11 | url "https://dev.mysql.com/downloads/mysql/8.4.html?tpl=files&os=src&version=8.4" |
11 | 12 | regex(/href=.*?mysql[._-](?:boost[._-])?v?(8\.4(?:\.\d+)*)\.t/i) |
12 | 13 | end |
13 | 14 |
|
14 | 15 | bottle do |
15 | | - sha256 arm64_sequoia: "09d2e2970b9acdcb506015b0827d59ba6b46d4fd6e99cfdf8eb7f24025133779" |
16 | | - sha256 arm64_sonoma: "401612250851c14a43a989abdaaf8150b503c99529c4712d8764241727e1a8ad" |
17 | | - sha256 arm64_ventura: "18fc80c95436a9df2a9f91e7192ce68de6664ade3e4caedfdd920aab43ced4d1" |
18 | | - sha256 sonoma: "c6c9facaf45c6c4b8ab5ff4c8c11cde50b1427c877dcaff3f253ab33aff45f6b" |
19 | | - sha256 ventura: "032fccac1973172acc1d45d8245823b9c7c1bd972051bc2f515b97fd2d136984" |
20 | | - sha256 arm64_linux: "82a2432800b1343e718333415a000784c5e55e574bdd01413850314ac07ed1fb" |
21 | | - sha256 x86_64_linux: "5c1b88d0b1d4d3a3c6282c16e366e1b31eb9cd776b0e2780ead7688a82a0f480" |
| 16 | + sha256 arm64_sequoia: "c87d556622e48fbd47e0be9a7c5de2c9fb5824358c2dd2c897fe4ea2e604878e" |
| 17 | + sha256 arm64_sonoma: "a050552d7300ac04971d466c4d04d747a7ff15dbe15a41ab21d9f6bb0d4b92b0" |
| 18 | + sha256 arm64_ventura: "8d64b363c45a52693e7b53a9c95a94f9878462c2bd5e3d8505a8ae10759d560e" |
| 19 | + sha256 sonoma: "13ef76f34992f0d2c4fc474eced6910b417c242f6568a8dd3a66d08edf56dc04" |
| 20 | + sha256 ventura: "6dfd8121bb7fcef0b6381cafddaa2db986e0cd852b68149a22241f562b6c4015" |
| 21 | + sha256 arm64_linux: "284529229c8646bee5bb018659f1d796ed309a4115edd212347b18abba80906c" |
| 22 | + sha256 x86_64_linux: "0f0eae4f5736c9b2e12e3209c59089c7d7545048c6b513dbfe6ecfc1cc169922" |
22 | 23 | end |
23 | 24 |
|
24 | 25 | keg_only :versioned_formula |
@@ -70,7 +71,7 @@ def install |
70 | 71 | # Remove bundled libraries other than explicitly allowed below. |
71 | 72 | # `boost` and `rapidjson` must use bundled copy due to patches. |
72 | 73 | # `lz4` is still needed due to xxhash.c used by mysqlgcs |
73 | | - keep = %w[boost libbacktrace libcno lz4 rapidjson unordered_dense] |
| 74 | + keep = %w[boost libbacktrace libcno lz4 rapidjson unordered_dense xxhash] |
74 | 75 | (buildpath/"extra").each_child { |dir| rm_r(dir) unless keep.include?(dir.basename.to_s) } |
75 | 76 |
|
76 | 77 | if OS.linux? |
|
0 commit comments