Skip to content

Commit 21a58aa

Browse files
authored
Merge pull request Homebrew#222214 from bevanjkay/bump-redis-8.0.0
redis 8.0.0
2 parents 950d4aa + eb0aded commit 21a58aa

File tree

2 files changed

+11
-20
lines changed

2 files changed

+11
-20
lines changed
File renamed without changes.

Formula/r/redis.rb

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
class Redis < Formula
22
desc "Persistent key-value database, with built-in net interface"
33
homepage "https://redis.io/"
4-
# NOTE: Do not bump to v7.4+ as license changed to RSALv2+SSPLv1
5-
# https://github.com/redis/redis/pull/13157
6-
url "https://download.redis.io/releases/redis-7.2.8.tar.gz"
7-
sha256 "6be4fdfcdb2e5ac91454438246d00842d2671f792673390e742dfcaf1bf01574"
4+
url "https://download.redis.io/releases/redis-8.0.0.tar.gz"
5+
sha256 "cf395665ba5fcecc4ef7aed1d8ab19c268619d98595827565c82344160171262"
86
license all_of: [
9-
"BSD-3-Clause",
7+
"AGPL-3.0-only",
108
"BSD-2-Clause", # deps/jemalloc, deps/linenoise, src/lzf*
119
"BSL-1.0", # deps/fpconv
1210
"MIT", # deps/lua
@@ -17,31 +15,24 @@ class Redis < Formula
1715
livecheck do
1816
url "https://download.redis.io/releases/"
1917
regex(/href=.*?redis[._-]v?(\d+(?:\.\d+)+)\.t/i)
20-
strategy :page_match do |page, regex|
21-
version_limit = Version.new("7.4")
22-
page.scan(regex).map do |match|
23-
match[0] if Version.new(match[0]) < version_limit
24-
end
25-
end
18+
strategy :page_match
2619
end
2720

2821
bottle do
29-
sha256 cellar: :any, arm64_sequoia: "422ceee1d954c13e3ef3e940035fe75f2e2712319b6b5bb1eeed658ded2b12b7"
30-
sha256 cellar: :any, arm64_sonoma: "56d106290e90037ede6773cde5c12394eae99668f09224e29bfcd3db5b153771"
31-
sha256 cellar: :any, arm64_ventura: "1b817d307ec8177b7bcba525278811821fbadf55240213662ec8ab4c1b55f68d"
32-
sha256 cellar: :any, sonoma: "3737eb64b386d6db0d669d14f1a7845521005b3c1b05dc28b708d36dc156ee6c"
33-
sha256 cellar: :any, ventura: "3f5e3719abcde6fc5bd0d9ca464ef9900c947af9c91b70740f5e95a4d0fdeded"
34-
sha256 cellar: :any_skip_relocation, arm64_linux: "793caff571d28c1ee9f3356b2b38cca3b1ec9a754015aec1ebffcf8d99611c47"
35-
sha256 cellar: :any_skip_relocation, x86_64_linux: "2b4a4dcd5d96ced2bd006de2d3cb98cbc2df5063c271025fd1f9985f1bf04660"
22+
sha256 cellar: :any, arm64_sequoia: "fe7717fc1397f4ee553cdb7edf75d6d983cd6ca6a853636b886ee995092a2d5c"
23+
sha256 cellar: :any, arm64_sonoma: "f01fe3f29eb821198c289eb2908c1d701610c6abb72d312b61ba302cf8a5dbc1"
24+
sha256 cellar: :any, arm64_ventura: "bb912351e1cfc319cd814985ef2749df9991a49bb8c609f6fa8f2a9c88c7720a"
25+
sha256 cellar: :any, sonoma: "b3f8ff9cec4d228193768415e4f67816f2140967997f2a66b86fb916a5ac3dd7"
26+
sha256 cellar: :any, ventura: "a0cc960fc453ccc3c2b9a3f1c7f11aaba58634cc32cbf75d10f9d7d561f29df2"
27+
sha256 cellar: :any_skip_relocation, arm64_linux: "87c58efe520b8b8df90e4c43cd1e271b130b5db13593b290d494fc3ac6553678"
28+
sha256 cellar: :any_skip_relocation, x86_64_linux: "2825ef1181669c02e0e693ffcd09414d34b2e958ff935c06dda01fd77b4af4d1"
3629
end
3730

3831
depends_on "openssl@3"
3932

4033
conflicts_with "valkey", because: "both install `redis-*` binaries"
4134

4235
def install
43-
odie "Do not bump to v7.4+" if version.major_minor >= "7.4"
44-
4536
system "make", "install", "PREFIX=#{prefix}", "CC=#{ENV.cc}", "BUILD_TLS=yes"
4637

4738
%w[run db/redis log].each { |p| (var/p).mkpath }

0 commit comments

Comments
 (0)