homebrew-core/Formula/torsocks.rb
kewagi a40ad7cee4 torsocks 1.1 - http://code.google.com/p/torsocks/
Torsocks allows you to use most socks-friendly applications in a safe way with Tor. It ensures that DNS requests are handled safely and explicitly rejects UDP traffic from the application you're using. This adds a formula for version 1.1 - for more info, see http://code.google.com/p/torsocks/

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-20 15:56:22 -08:00

15 lines
394 B
Ruby

require 'formula'
class Torsocks < Formula
url 'http://torsocks.googlecode.com/files/torsocks-1.1.tar.gz'
homepage 'http://code.google.com/p/torsocks/'
md5 '1704fd009ed1a1c1dc9c6b72305a5449'
depends_on 'tor'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end