29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
Ruby
class Proxytunnel < Formula
|
|
desc "Create TCP tunnels through HTTPS proxies"
|
|
homepage "https://github.com/proxytunnel/proxytunnel"
|
|
url "https://github.com/proxytunnel/proxytunnel/archive/v1.10.20210128.tar.gz"
|
|
sha256 "8253e19dd5e27a34a2c236e3e4739b7edba556110717af962b7412b461a6c2fa"
|
|
license "GPL-2.0-or-later"
|
|
|
|
bottle do
|
|
sha256 cellar: :any, arm64_big_sur: "222f0244f92ca6e2ce051db0da342cd72ae5072a69757a92c20c0423fa017e02"
|
|
sha256 cellar: :any, big_sur: "5e8d043da430d8ecc266bf8411e29832f84e0aaa753eec116448826d74f356ce"
|
|
sha256 cellar: :any, catalina: "f8aa1e88ac9c787e87bdfb82f4d20af89d86cb3f1cbc479b14efa09e5edcd97f"
|
|
sha256 cellar: :any, mojave: "4583ebc48440fc29779b781490b598ae5acc09e9fcc00752284a26cd831c5e01"
|
|
end
|
|
|
|
depends_on "asciidoc" => :build
|
|
depends_on "xmlto" => :build
|
|
depends_on "openssl@1.1"
|
|
|
|
def install
|
|
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"
|
|
system "make"
|
|
system "make", "install", "prefix=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/proxytunnel", "--version"
|
|
end
|
|
end
|