homebrew-core/Formula/onioncat.rb
Greg V 092dc0dfd8 onioncat 0.2.2.r569 (new formula)
Closes Homebrew/homebrew#47784.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-15 04:00:11 +00:00

22 lines
817 B
Ruby

class Onioncat < Formula
desc "VPN-adapter that provides location privacy using Tor or I2P"
homepage "https://www.onioncat.org"
url "https://www.cypherpunk.at/ocat/download/Source/current/onioncat-0.2.2.r569.tar.gz"
version "0.2.2.r569"
sha256 "377777de0d3c731fd2253db02b25562a2ed17e82901d0569308754215223f0bb"
depends_on "tor" => [:recommended, :run]
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
rm_f "#{bin}/gcat" # just a symlink that does the same as ocat -I
end
test do
system "#{bin}/ocat", "-i", "fncuwbiisyh6ak3i.onion" # convert keybase's address to IPv6 address format
end
end