aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorkewagi2011-07-22 04:55:20 +0200
committerAdam Vandenberg2011-11-20 15:56:22 -0800
commit628a0730add94fc47ce6b583e6afb399e7169325 (patch)
tree1ebab65a99ab587dbf2461c5856a2a77d1b2cb7b /Library/Formula
parentdf3d94efc588be35ac8ad416e1ecff9acc79f88f (diff)
downloadhomebrew-628a0730add94fc47ce6b583e6afb399e7169325.tar.bz2
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>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/torsocks.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/torsocks.rb b/Library/Formula/torsocks.rb
new file mode 100644
index 000000000..ab3e3e706
--- /dev/null
+++ b/Library/Formula/torsocks.rb
@@ -0,0 +1,15 @@
+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