Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions Formula/k/kapacitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,27 @@ class Kapacitor < Formula

stable do
url "https://github.com/influxdata/kapacitor.git",
tag: "v1.7.4",
revision: "3470f6ae7f53acaca90459cc1128298548fdc740"
tag: "v1.7.6",
revision: "3347c7d9aec8e031a3eb05f501461fb106c20529"

# TODO: Remove when release uses flux >= 0.195.0 to get following fix for rust >= 1.78
# Ref: https://github.com/influxdata/flux/commit/68c831c40b396f0274f6a9f97d77707c39970b02
resource "flux" do
url "https://github.com/influxdata/flux/archive/refs/tags/v0.194.5.tar.gz"
sha256 "85229c86d307fdecccc7d940902fb83bfbd7cff7a308ace831e2487d36a6a8ca"

# patch to fix build with rust 1.83, upstream pr ref, https://github.com/influxdata/flux/pull/5516
patch do
url "https://github.com/influxdata/flux/commit/08b6cb784759242fd1455f1d28e653194745c0c6.patch?full_index=1"
sha256 "3c40b88897c1bd34c70f277e13320148cbee44b8ac7b8029be6bf4f541965302"
end
end

# build patch to upgrade flux so that it can be built with rust 1.72.0+
# upstream PR ref, https://github.com/influxdata/kapacitor/pull/2811
patch do
url "https://github.com/influxdata/kapacitor/commit/1bc086f38b5164813c0f5b0989045bd21d543377.patch?full_index=1"
sha256 "38ab4f97dfed87cde492c0f1de372dc6563bcdda10741cace7a99f8d3ab777b6"
url "https://raw.githubusercontent.com/Homebrew/formula-patches/e1d275be21f72a5d07dfe920c4ce7692f818761e/kapacitor/1.7.6-rust-1.72.patch"
sha256 "4e82470590dcaaac7e56c52f659e31107116e426456b74789daf9364039907f0"
end
end

Expand All @@ -30,14 +36,12 @@ class Kapacitor < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "1a33c443bf07f988db3116c35ab0753ae92b017d117d82d522bac20ecd94e35f"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "18df0fe28a2f236b9e83280d13fb1628da163b43010b1ab2e278d596be334154"
sha256 cellar: :any_skip_relocation, arm64_ventura: "7fc56e944c7205bf82e6f09e0fd6acb2671813abff062cb5358c3e10aa34240b"
sha256 cellar: :any_skip_relocation, arm64_monterey: "077bb8e7923a28559b7fca1bf0e5da9a5bed8cbc2ec066292145e0ea0b61edb3"
sha256 cellar: :any_skip_relocation, sonoma: "7320249f7bfd73fc7e9d1bfde2a14aa6e6800981c72b67cfeaf97023b7f8b7dc"
sha256 cellar: :any_skip_relocation, ventura: "fc0aea1281480c4dc679d6edf1b2ac03918db4ad774adcd8160f07f05370abdd"
sha256 cellar: :any_skip_relocation, monterey: "46a38f00666300e465230a0f8330c9d6e44758dd2bc4b9475c8bc8e0770f3cd3"
sha256 cellar: :any_skip_relocation, x86_64_linux: "6007b9e8d7e2b33e36510923d1989d83ef86e36e724c118686cdd61ef32d38a1"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "a8247430a0e749413545540c04d418b0adeed5d37d83319e69751596322a1c9d"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "d56568c7ae7bca2be7324da1c5bdc4fc7f086ff1054a786f0fed2670225ca710"
sha256 cellar: :any_skip_relocation, arm64_ventura: "b5b98fcf4136a43925d791c4c803dbaabd62e5167dca2863343551b6e4a3ac70"
sha256 cellar: :any_skip_relocation, sonoma: "33549402f35a9bb69c36a731c6b24ecf9ac57cec0ecb790a3f8a301b4ced507e"
sha256 cellar: :any_skip_relocation, ventura: "de2e14999f1f6714d3504c183bd35f8b37fed4a4d886b266cf175040fcd37bc0"
sha256 cellar: :any_skip_relocation, x86_64_linux: "5e963db4b37cde0cba4449f211213422a9ebba18f121a77e2cacfc90e6eb2fc5"
end

# Go 1.23 results in panic: failed to parse CA certificate.
Expand Down