Skip to content

Commit d3dcb02

Browse files
authored
Merge pull request #224454 from Homebrew/bump-loki-3.5.1
logcli loki promtail 3.5.1
2 parents 76a8609 + e9f66e7 commit d3dcb02

File tree

4 files changed

+46
-24
lines changed

4 files changed

+46
-24
lines changed

Formula/l/logcli.rb

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Logcli < Formula
22
desc "Run LogQL queries against a Loki server"
33
homepage "https://grafana.com/loki"
4-
url "https://github.com/grafana/loki/archive/refs/tags/v3.5.0.tar.gz"
5-
sha256 "584d7f45cc85f884e8eb7e8ed8c35eacd2157c6edd0f2a2d0161ba39d22b86ae"
4+
url "https://github.com/grafana/loki/archive/refs/tags/v3.5.1.tar.gz"
5+
sha256 "d360561de7ac97d05a6fc1dc0ca73d93c11a86234783dfd9ae92033300caabd7"
66
license "AGPL-3.0-only"
77
head "https://github.com/grafana/loki.git", branch: "main"
88

@@ -11,17 +11,24 @@ class Logcli < Formula
1111
end
1212

1313
bottle do
14-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "125a104cd08d4e7aa2a4af5126c43b2d22c914fbc8de5a0768358f47c641835c"
15-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "0d5bd5893bc08627c396a0761c98a3a9171db34bf14b6f50a15954bdb7d77649"
16-
sha256 cellar: :any_skip_relocation, arm64_ventura: "488967a06f5dcb951c86a91c281e64f23edf059c4409f6e0aa9f050cca30fc62"
17-
sha256 cellar: :any_skip_relocation, sonoma: "4b65cce5ef283bb64b058c0ee61c86f6ac2426bf1501cd0aae96f28a3e3684ae"
18-
sha256 cellar: :any_skip_relocation, ventura: "a3d1a04e565e67a2eb866bb12e074d328fa3e8a7c9dc3f16207640e3df38cdcd"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "6b12e70b100056f7c668660a1024fedf32a52cde9cae531963b5a19e1a6d2294"
14+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "66911c32a9a82accb8d9bf52e6fca4e99ee7c0164b90ed09c328a8d9b3b2273c"
15+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "c44039300363659390974308db020887206ccaa79546dcb8b2d4508fd3364a68"
16+
sha256 cellar: :any_skip_relocation, arm64_ventura: "d05fc604c1ce2042d898984469edaf7158b578c8f6b6d9927b6897508b966f89"
17+
sha256 cellar: :any_skip_relocation, sonoma: "1ce99faf30fa3422892be0c1ef9964e1bb8fb33918660ee080ccf33175297b75"
18+
sha256 cellar: :any_skip_relocation, ventura: "77618aca2ece816736f2e4f90aeb4f3accdf22061fbb7fa38341b4cde535e841"
19+
sha256 cellar: :any_skip_relocation, x86_64_linux: "f1ad607af2b4cf0db2599e5e6d59e4fcec79c9fd51629976e766fb527f23d430"
2020
end
2121

2222
depends_on "go" => :build
2323
depends_on "loki" => :test
2424

25+
# Fix to link: duplicated definition of symbol dlopen
26+
# PR ref: https://github.com/grafana/loki/pull/17807
27+
patch do
28+
url "https://raw.githubusercontent.com/Homebrew/formula-patches/f49c120b0918dd76de81af961a1041a29d080ff0/loki/loki-3.5.1-purego.patch"
29+
sha256 "fbbbaea8e2069ef0a8fc721f592c48bb50f1224d7eff94afe87dfb184692a9b4"
30+
end
31+
2532
def install
2633
ldflags = %W[
2734
-s -w

Formula/l/loki.rb

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Loki < Formula
22
desc "Horizontally-scalable, highly-available log aggregation system"
33
homepage "https://grafana.com/loki"
4-
url "https://github.com/grafana/loki/archive/refs/tags/v3.5.0.tar.gz"
5-
sha256 "584d7f45cc85f884e8eb7e8ed8c35eacd2157c6edd0f2a2d0161ba39d22b86ae"
4+
url "https://github.com/grafana/loki/archive/refs/tags/v3.5.1.tar.gz"
5+
sha256 "d360561de7ac97d05a6fc1dc0ca73d93c11a86234783dfd9ae92033300caabd7"
66
license "AGPL-3.0-only"
77
head "https://github.com/grafana/loki.git", branch: "main"
88

@@ -12,12 +12,12 @@ class Loki < Formula
1212
end
1313

1414
bottle do
15-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "b472639552be01c08671d53b3f0329a974d6569b6ceb84c97843527fc588bb7d"
16-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8b31a16d28e23ddf58d161137f9e57df15cad81871e872ad0deefbcd4a8cff41"
17-
sha256 cellar: :any_skip_relocation, arm64_ventura: "9b3b614e4c1b48be24de3fc96d2961dc3fe8dd5276a5f8dc6f1b855455e40175"
18-
sha256 cellar: :any_skip_relocation, sonoma: "cd2314b675908d900ee612474c0bc86ccfe83231a718ef89e90683f615e33ced"
19-
sha256 cellar: :any_skip_relocation, ventura: "1bed2c651792241aae177908aedb871ee72e64acefa38dc0c694fb317e7a2f49"
20-
sha256 cellar: :any_skip_relocation, x86_64_linux: "43e36493663cf7c83661e26883b5e74df898313b988c9de28b770eddd09566fd"
15+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "79d76962413f065f9e1d9a9eb5afb25f3c03fc3a4cf6145cf22789b230e01ab4"
16+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "511238d11ba14eb2fb571f017780a3e15c711607190ddb8a6cde6de338c81a06"
17+
sha256 cellar: :any_skip_relocation, arm64_ventura: "c09f1684a1cf09698251550ee42202a33d9afc18537f330f83eb78be38a04f63"
18+
sha256 cellar: :any_skip_relocation, sonoma: "b1d7b27e0684968299c4dcc0a2bd263974d02c27156c99b11a8533dd4048fd1f"
19+
sha256 cellar: :any_skip_relocation, ventura: "24fc02da749458f95bfe6ea226b2d1ed1eccf00f912c4a84bade4424fc9b9130"
20+
sha256 cellar: :any_skip_relocation, x86_64_linux: "6d4daf5f49d2a1d30173f2ef89b1908fb97bfc7cf0a13f8d63db5c5634aac768"
2121
end
2222

2323
depends_on "go" => :build
@@ -37,6 +37,13 @@ class Loki < Formula
3737
sha256 "4e2925424bcd7a093f4986d3005c888b98edcdae82b71ec4d71b957f4a9cbcfb"
3838
end
3939

40+
# Fix to link: duplicated definition of symbol dlopen
41+
# PR ref: https://github.com/grafana/loki/pull/17807
42+
patch do
43+
url "https://raw.githubusercontent.com/Homebrew/formula-patches/f49c120b0918dd76de81af961a1041a29d080ff0/loki/loki-3.5.1-purego.patch"
44+
sha256 "fbbbaea8e2069ef0a8fc721f592c48bb50f1224d7eff94afe87dfb184692a9b4"
45+
end
46+
4047
def install
4148
cd "cmd/loki" do
4249
system "go", "build", *std_go_args(ldflags: "-s -w")

Formula/p/promtail.rb

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Promtail < Formula
22
desc "Log agent for Loki"
33
homepage "https://grafana.com/loki"
4-
url "https://github.com/grafana/loki/archive/refs/tags/v3.5.0.tar.gz"
5-
sha256 "584d7f45cc85f884e8eb7e8ed8c35eacd2157c6edd0f2a2d0161ba39d22b86ae"
4+
url "https://github.com/grafana/loki/archive/refs/tags/v3.5.1.tar.gz"
5+
sha256 "d360561de7ac97d05a6fc1dc0ca73d93c11a86234783dfd9ae92033300caabd7"
66
license "AGPL-3.0-only"
77
head "https://github.com/grafana/loki.git", branch: "main"
88

@@ -11,12 +11,12 @@ class Promtail < Formula
1111
end
1212

1313
bottle do
14-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "a18ca8d85e8eff9655dc09ba314f177301a053c60375411482e1d43471201f81"
15-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "38540001bdb70e65b5b285332e7a2d0db6b903f583ab1329c123f657226bfd48"
16-
sha256 cellar: :any_skip_relocation, arm64_ventura: "89e9e892ce8e374ce1cfeff3d75076a1fdc8c3bc5fee5fd8c15c5bab0c369917"
17-
sha256 cellar: :any_skip_relocation, sonoma: "9674fba5c336a8b684856ccbf9d21fbc3d6acbd072f35611d929312e3d60543e"
18-
sha256 cellar: :any_skip_relocation, ventura: "ecbe3543e0d56f289e46f6c25edaf01591878d4cf4ff2f9428e0016a4195741c"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "0807b22381049e32bc05990e02c663abac6f3d48446d55ae736480232734a627"
14+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "4d0ada994b52a5a36ed6f90688b8bd849b3ce4195de89854af7fe1ed02f3fafd"
15+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "039a7e66ac63eb311880b6b3e1af3bd71c6973a2f0f150caa488abfe975c30bf"
16+
sha256 cellar: :any_skip_relocation, arm64_ventura: "c8e5de4a9b5a26e692270b5a932f767d84bae2044e5eabd67c5f356c1c44c62c"
17+
sha256 cellar: :any_skip_relocation, sonoma: "ee0a2186fb805c559658a002f3f7ebce55cb27495c7bfe8d29066e72650a72f6"
18+
sha256 cellar: :any_skip_relocation, ventura: "9261c1880cd04c7710e656f44df23d131ed7a6c91da5f6ea519c5286a239ac2a"
19+
sha256 cellar: :any_skip_relocation, x86_64_linux: "2bb6e67ff07eb14ff8791762a4e6fd07735eb3b4e57741bb8902ffa5eb1d8cf5"
2020
end
2121

2222
depends_on "go" => :build
@@ -25,6 +25,13 @@ class Promtail < Formula
2525
depends_on "systemd"
2626
end
2727

28+
# Fix to link: duplicated definition of symbol dlopen
29+
# PR ref: https://github.com/grafana/loki/pull/17807
30+
patch do
31+
url "https://raw.githubusercontent.com/Homebrew/formula-patches/f49c120b0918dd76de81af961a1041a29d080ff0/loki/loki-3.5.1-purego.patch"
32+
sha256 "fbbbaea8e2069ef0a8fc721f592c48bb50f1224d7eff94afe87dfb184692a9b4"
33+
end
34+
2835
def install
2936
cd "clients/cmd/promtail" do
3037
system "go", "build", *std_go_args(ldflags: "-s -w")

synced_versions_formulae.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
["libnice", "libnice-gstreamer"],
4848
["libtorrent-rakshasa", "rtorrent"],
4949
["llvm", "lld", "flang", "wasi-runtimes"],
50+
["logcli", "loki", "promtail"],
5051
["qalculate-gtk", "qalculate-qt"],
5152
["mame", "rom-tools"],
5253
["mecab-unidic", "mecab-unidic-extended"],

0 commit comments

Comments
 (0)