Skip to content

Commit

Permalink
onioncat 0.2.2.r569 (new formula)
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#47784.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
valpackett authored and DomT4 committed Jan 15, 2016
1 parent 1aeee4b commit 092dc0d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Formula/onioncat.rb
@@ -0,0 +1,22 @@
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

0 comments on commit 092dc0d

Please sign in to comment.