Skip to content

Commit

Permalink
Merge pull request #200411 from Homebrew/bump-sslh-2.1.3
Browse files Browse the repository at this point in the history
sslh 2.1.4
  • Loading branch information
BrewTestBot authored Dec 11, 2024
2 parents 662495a + 788f54d commit 23e0fd1
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions Formula/s/sslh.rb
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
class Sslh < Formula
desc "Forward connections based on first data packet sent by client"
homepage "https://www.rutschle.net/tech/sslh.shtml"
url "https://www.rutschle.net/tech/sslh/sslh-v2.1.2.tar.gz"
sha256 "dce8e1a77f48017b5164486084f000d9f20de2d54d293385aec18d606f9c61d9"
url "https://www.rutschle.net/tech/sslh/sslh-v2.1.4.tar.gz"
sha256 "c9d76a627839b5f779e21dd49c40762918f47b46197418b3715ec0c52e3c5cb7"
license all_of: ["GPL-2.0-or-later", "BSD-2-Clause"]
head "https://github.com/yrutschle/sslh.git", branch: "master"

bottle do
sha256 cellar: :any, arm64_sequoia: "c1e48be3c7d5714650e0550bd0ba5cf95d981363fd9c867baad75a1b9dc369bd"
sha256 cellar: :any, arm64_sonoma: "48021bfa2072f6b756640100af21beeb68f5a6437bdca4242da8281c1782889b"
sha256 cellar: :any, arm64_ventura: "5791bf236c993f9e09c8cd6233ad61f78109f40bcf5f346c42fb9577a383d4fe"
sha256 cellar: :any, arm64_monterey: "196176f2ab3b01d8644a14e76c2a1e312fef2113c2004742d2000f2146dff5a4"
sha256 cellar: :any, sonoma: "c5d33746b8f5a26e0676e5a31d9d64541b4aadbe9ad60a45bc564032985ea41d"
sha256 cellar: :any, ventura: "2aba25d6903363e7091983832caf60154fa48909c6cb5fe98724a08597c508b8"
sha256 cellar: :any, monterey: "d713acd32e00dc43b72e88c0f21339f3e81807b19a9cc255204731efae28d321"
sha256 cellar: :any_skip_relocation, x86_64_linux: "7c6bbc4c2a053fc0d010ebf06322f76f23f7b61db6556c5aca729f611a22f032"
sha256 cellar: :any, arm64_sequoia: "9ffce8f7acbb17eccb7b998789b299562f3fa8c3f74d08478657309b514b93a4"
sha256 cellar: :any, arm64_sonoma: "e4f05c08d30f736361c1715449895516a8a3327d4f964a7fc3cb9a89bb1cdec4"
sha256 cellar: :any, arm64_ventura: "e4afb69a6efed5c7eab76e8df5e30fc2cb8c19e27d6f1d1409d0298f8fdafd53"
sha256 cellar: :any, sonoma: "17a668ad78929b1ea207279c0f12d2c7be04e0a0e9d6aabc9e9a44c336691dbc"
sha256 cellar: :any, ventura: "da63de34dec87066332f8cb6520ad897242ac4cfac09b851aab81ec43d393f18"
sha256 cellar: :any_skip_relocation, x86_64_linux: "364c9146c23390ab94bd76339a2ff5d0ded405381379eb16e4a0dfe631a8c0e0"
end

depends_on "libconfig"
Expand All @@ -32,11 +30,10 @@ def install
listen_port = free_port
target_port = free_port

fork do
exec sbin/"sslh", "--http=localhost:#{target_port}", "--listen=localhost:#{listen_port}", "--foreground"
end
spawn sbin/"sslh", "--http=localhost:#{target_port}", "--listen=localhost:#{listen_port}", "--foreground"

sleep 1
sleep 5 if OS.mac? && Hardware::CPU.intel?
system "nc", "-z", "localhost", listen_port
end
end

0 comments on commit 23e0fd1

Please sign in to comment.