homebrew-core/Formula/redsocks.rb
2018-08-24 11:30:26 +02:00

27 lines
908 B
Ruby

class Redsocks < Formula
desc "Transparent socks redirector"
homepage "http://darkk.net.ru/redsocks"
url "https://github.com/darkk/redsocks/archive/release-0.4.tar.gz"
sha256 "618cf9e8cd98082db31f4fde6450eace656fba8cd6b87aa4565512640d341045"
revision 1
bottle do
cellar :any
sha256 "1b67d9a87cd77d247cb92ed210394d0fbdb91ac38b4c149f9c165e7c35030114" => :mojave
sha256 "d0e52f2f1ceb50e6edb7f524a7bb62c7df2eaec870dffa7626dada91f25a5f9f" => :high_sierra
sha256 "ccfba64129d3e3a01b1bba7d18564e7b1ac174ce4b7a1c41424e2985d7a97523" => :sierra
sha256 "5d9e3f0dcc812146c27c7916052605be3f08b4be45682ccda27a9ab0dc97f574" => :el_capitan
sha256 "5d017a684dd4810da302823e4122ac8f43808a87c618fd24667b5b89d6b812b3" => :yosemite
end
depends_on "libevent"
def install
system "make"
bin.install "redsocks"
end
test do
system "#{bin}/redsocks", "--version"
end
end