Skip to content

Commit 58bb6f8

Browse files
BrewTestBotchenrui333daeho-ro
committed
promtail 3.5.1
promtail: update patch Co-authored-by: Rui Chen <[email protected]> Co-authored-by: Daeho Ro <[email protected]>
1 parent 8c41bf8 commit 58bb6f8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Formula/p/promtail.rb

Lines changed: 9 additions & 2 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

@@ -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")

0 commit comments

Comments
 (0)