Skip to content
Closed
Show file tree
Hide file tree
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
File renamed without changes.
23 changes: 3 additions & 20 deletions Formula/envoy.rb
Original file line number Diff line number Diff line change
@@ -1,31 +1,14 @@
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.git",
tag: "v1.23.0",
revision: "ce49c7f65668a22b80d1e83c35d170741bb8d46a"
# Switch to a tarball when the following issue is resolved:
# https://github.com/envoyproxy/envoy/issues/2181
license "Apache-2.0"
head "https://github.com/envoyproxy/envoy.git", branch: "main"

stable do
url "https://github.com/envoyproxy/envoy.git",
tag: "v1.22.2",
revision: "c919bdec19d79e97f4f56e4095706f8e6a383f1c"

# Fix build on Apple Silicon which fails on undefined symbol:
# v8::internal::trap_handler::TryHandleSignal(int, __siginfo*, void*)
patch do
url "https://github.com/envoyproxy/envoy/commit/823f81ea8a3c0f792a7dbb0d08422c6a3d251152.patch?full_index=1"
sha256 "c48ecebc8a63f41f8bf8c4598a6442402470f2f04d20511e1aa3a1f322beccc7"
end

# Fix build with GCC in "opt" mode which fails on strict-aliasing rules:
# type_url_, reinterpret_cast<std::vector<DecodedResourcePtr>&>(decoded_resources),
patch do
url "https://github.com/envoyproxy/envoy/commit/aa06f653ed736b428f3ea69900aa864ce4187305.patch?full_index=1"
sha256 "d05b1519e6d0d78619457deb3d0bed6bb69ee2f095d31b9913cc70c9ee851e80"
end
end

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
Expand Down