Skip to content

Commit

Permalink
teleport 17.0.5
Browse files Browse the repository at this point in the history
teleport: add patch to disable `wasm-opt`

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Dec 12, 2024
1 parent 64fdbd6 commit 7d3443b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/t/teleport.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Teleport < Formula
desc "Modern SSH server for teams managing distributed infrastructure"
homepage "https://goteleport.com/"
url "https://github.com/gravitational/teleport/archive/refs/tags/v17.0.4.tar.gz"
sha256 "9b3f938feae10d6bdd1ab4fb5e15256d49f02d927a24ad76ac044003e1d7bf57"
url "https://github.com/gravitational/teleport/archive/refs/tags/v17.0.5.tar.gz"
sha256 "5fa88afc1ab3b3e172fb16dd1f95513ade163609088f6ea3692cd68ccda1573c"
license all_of: ["AGPL-3.0-or-later", "Apache-2.0"]
head "https://github.com/gravitational/teleport.git", branch: "master"

Expand Down Expand Up @@ -44,6 +44,12 @@ class Teleport < Formula
conflicts_with "etsh", because: "both install `tsh` binaries"
conflicts_with "tctl", because: "both install `tctl` binaries"

# disable `wasm-opt` for ironrdp pkg release build, upstream pr ref, https://github.com/gravitational/teleport/pull/50178
patch do
url "https://github.com/gravitational/teleport/commit/994890fb05360b166afd981312345a4cf01bc422.patch?full_index=1"
sha256 "9d60180ff69a8a8985773d3b2a107ab910b22040e4cbf6afed11bd2b64fc6996"
end

def install
ENV.prepend_path "PATH", Formula["rustup"].bin
system "rustup", "default", "stable"
Expand Down

0 comments on commit 7d3443b

Please sign in to comment.