2014-07-09 15:33:33 +00:00
|
|
|
class Dante < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "SOCKS server and client, implementing RFC 1928 and related standards"
|
2015-10-17 08:24:32 +00:00
|
|
|
homepage "https://www.inet.no/dante/"
|
|
|
|
url "https://www.inet.no/dante/files/dante-1.4.1.tar.gz"
|
2014-12-05 01:30:13 +00:00
|
|
|
mirror "ftp://ftp.inet.no/pub/socks/dante-1.4.1.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53"
|
2014-12-05 01:30:13 +00:00
|
|
|
|
2014-07-09 15:45:50 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-10-08 03:49:28 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "317f720310f59b8c3c8b12e5b971829e7c2f8513832bc1782ec01c8d598e529d" => :el_capitan
|
|
|
|
sha256 "610a391e6e28955b31a4f7a288ad446103e745a938c3d68f3082ff5fe1863574" => :yosemite
|
|
|
|
sha256 "66d48707c1e9d1fd7a891a145c4848812f5563c38357434d8dccb195b5bd7b8a" => :mavericks
|
2014-07-09 15:45:50 +00:00
|
|
|
end
|
|
|
|
|
2015-10-05 13:15:35 +00:00
|
|
|
depends_on "miniupnpc" => :optional
|
|
|
|
|
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
|