Skip to content

Commit 1b20885

Browse files
committed
redis 8.0.0
1 parent 6656bd5 commit 1b20885

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed
File renamed without changes.

Formula/r/redis.rb

Lines changed: 4 additions & 13 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,12 +15,7 @@ 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
@@ -40,8 +33,6 @@ class Redis < Formula
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)