homebrew-core/Formula/dante.rb
2018-10-22 15:59:54 +02:00

29 lines
1.1 KiB
Ruby

class Dante < Formula
desc "SOCKS server and client, implementing RFC 1928 and related standards"
homepage "https://www.inet.no/dante/"
url "https://www.inet.no/dante/files/dante-1.4.2.tar.gz"
sha256 "4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7"
bottle do
cellar :any
rebuild 2
sha256 "26eb48c9eda005d8486f2dddee23420047a326f82638b71c5aa2f7d28f3ce402" => :mojave
sha256 "6a234a72eb6a8bc9439a9a45129ca2214151dee7b63c1ab76c7b5831bda8d1ea" => :high_sierra
sha256 "5d4fb552b729372afc0b5450af162d9b49984c64e28d7f1825fd879b4cf3bdf7" => :sierra
end
def install
system "./configure", "--disable-debug",
"--disable-silent-rules",
# Enabling dependency tracking disables universal
# build, avoiding a build error on Mojave
"--enable-dependency-tracking",
"--prefix=#{prefix}",
"--sysconfdir=#{etc}/dante"
system "make", "install"
end
test do
system "#{sbin}/sockd", "-v"
end
end