2014-07-09 15:33:33 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Dante < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "SOCKS server and client, implementing RFC 1928 and related standards"
|
2014-07-09 15:33:33 +00:00
|
|
|
homepage "http://www.inet.no/dante/"
|
2014-12-05 01:30:13 +00:00
|
|
|
url "http://www.inet.no/dante/files/dante-1.4.1.tar.gz"
|
|
|
|
mirror "ftp://ftp.inet.no/pub/socks/dante-1.4.1.tar.gz"
|
|
|
|
sha1 "17ded4322d78b7b031da23cd4e03dbb14f397d71"
|
|
|
|
|
|
|
|
depends_on "miniupnpc" => :optional
|
2014-07-09 15:33:33 +00:00
|
|
|
|
2014-07-09 15:45:50 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-12-05 02:12:51 +00:00
|
|
|
sha1 "2d75acdb4024c23ea3834eb2f5e95813f93c8b94" => :yosemite
|
|
|
|
sha1 "7f078e852cc57c0265ce8b334b2aa1111397fd76" => :mavericks
|
|
|
|
sha1 "d09ccfb1ad49ec06acd1200f43716eb79d71618d" => :mountain_lion
|
2014-07-09 15:45:50 +00:00
|
|
|
end
|
|
|
|
|
2014-07-09 15:33:33 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
2014-12-05 01:30:13 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--sysconfdir=#{etc}/dante"
|
2014-07-09 15:33:33 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2014-12-05 01:30:13 +00:00
|
|
|
system "#{sbin}/sockd", "-v"
|
2014-07-09 15:33:33 +00:00
|
|
|
end
|
|
|
|
end
|