Skip to content

Commit

Permalink
envoy 1.33.0
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt authored and cho-m committed Jan 24, 2025
1 parent 5e5f319 commit c185ca6
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions Formula/e/envoy.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
class Envoy < Formula
desc "Cloud-native high-performance edge/middle/service proxy"
homepage "https://www.envoyproxy.io/index.html"
url "https://github.com/envoyproxy/envoy/archive/refs/tags/v1.31.0.tar.gz"
sha256 "39ba37aed81a9d4988a5736cf558243179f2bf1490843da25687d1aafd9d01c6"
license "Apache-2.0"
head "https://github.com/envoyproxy/envoy.git", branch: "main"

stable do
url "https://github.com/envoyproxy/envoy/archive/refs/tags/v1.33.0.tar.gz"
sha256 "fd726135761ea163f0312d49960c602c9b4fcb78ca3c36600975fed16e0787c4"

# Backport disabling libcurl docs to fix build. Remove in the next release.
patch do
url "https://github.com/envoyproxy/envoy/commit/ae6cb3254cbf98999993d0120d289a207a57f825.patch?full_index=1"
sha256 "a5c25bad6884f382909036ac9e8c812c5d3ba3104f2f1d24f5035acf705b0d74"
end
end

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
Expand Down Expand Up @@ -39,6 +48,10 @@ class Envoy < Formula
depends_on "coreutils" => :build
end

on_linux do
depends_on "lld" => :build
end

# https://github.com/envoyproxy/envoy/tree/main/bazel#supported-compiler-versions
# GCC/ld.gold had some issues while building envoy 1.29 so use clang/lld instead
fails_with :gcc
Expand All @@ -65,7 +78,7 @@ def install

system Formula["bazelisk"].opt_bin/"bazelisk", "build", *args, "//source/exe:envoy-static.stripped"
bin.install "bazel-bin/source/exe/envoy-static.stripped" => "envoy"
pkgshare.install "configs", "examples"
pkgshare.install "configs"
end

test do
Expand Down

0 comments on commit c185ca6

Please sign in to comment.