aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDan Walters2009-11-20 19:54:44 -0300
committerMax Howell2009-12-05 16:43:07 +0000
commitd50c09999cc7a52829087688b52f493a054111ff (patch)
treeb3a7a9f201c283cd5064cdae6d5e8f0f5ee7c046 /Library
parentd43dda02b039ac457eb26443bb4266ced10526d1 (diff)
downloadhomebrew-d50c09999cc7a52829087688b52f493a054111ff.tar.bz2
iodine 0.5.2
iodine lets you tunnel IPv4 data through a DNS server.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/iodine.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/iodine.rb b/Library/Formula/iodine.rb
new file mode 100644
index 000000000..387d6fc3d
--- /dev/null
+++ b/Library/Formula/iodine.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Iodine <Formula
+ url 'http://code.kryo.se/iodine/iodine-0.5.2.tar.gz'
+ homepage 'http://code.kryo.se/iodine/'
+ md5 '6952343cc4614857f83dbb81247871e7'
+
+ def install
+ if MACOS_VERSION >= 10.6
+ ["src/common.c", "src/dns.c", "src/iodine.c", "src/iodined.c"].each do |filename|
+ inreplace filename, "arpa/nameser8_compat", "arpa/nameser_compat"
+ end
+ end
+
+ system "make install prefix=#{prefix}"
+ end
+end