This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Iodine < Formula | |
desc "Tool for tunneling IPv4 data through a DNS server" | |
homepage "http://code.kryo.se/iodine/" | |
head "https://github.com/yarrick/iodine.git" | |
stable do | |
url "http://code.kryo.se/iodine/iodine-0.7.0.tar.gz" | |
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/i/iodine/iodine_0.7.0.orig.tar.gz" | |
sha256 "ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e" | |
depends_on :tuntap | |
end | |
# Requires tuntap for < 10.10 | |
depends_on :macos => :yosemite | |
def install | |
system "make", "install", "prefix=#{prefix}" | |
end | |
def caveats; <<-EOS.undent | |
To use the native utun devices instead of tuntap, install | |
the HEAD version, and use "-d utunX" | |
EOS | |
end | |
test do | |
system "#{sbin}/iodine", "-v" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment