Skip to content
Merged
Changes from 1 commit
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
5 changes: 3 additions & 2 deletions Formula/s/shadowsocks-rust.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class ShadowsocksRust < Formula
desc "Rust port of Shadowsocks"
homepage "https://shadowsocks.org/"
url "https://github.com/shadowsocks/shadowsocks-rust/archive/refs/tags/v1.23.0.tar.gz"
sha256 "13307594159cfe23f91e69c8b08ba7a41a17a2f36a4bfb3821476026f7518cac"
url "https://github.com/shadowsocks/shadowsocks-rust/archive/refs/tags/v1.23.1.tar.gz"
sha256 "0af223694de7261d4cf00f49e34f6dfe9ea5385bfe52e64f96cb0d11f3b947b0"
license "MIT"
head "https://github.com/shadowsocks/shadowsocks-rust.git", branch: "master"

Expand Down Expand Up @@ -47,6 +47,7 @@ def install
fork { exec bin/"ssserver", "-c", testpath/"server.json" }
fork { exec bin/"sslocal", "-c", testpath/"local.json" }
sleep 3
sleep 3 if OS.mac? && Hardware::CPU.intel?

output = shell_output "curl --socks5 127.0.0.1:#{local_port} https://example.com"
assert_match "Example Domain", output
Expand Down
Loading