homebrew-core/Formula/redsocks.rb
2019-10-17 07:45:12 +02:00

26 lines
817 B
Ruby

class Redsocks < Formula
desc "Transparent socks redirector"
homepage "https://darkk.net.ru/redsocks/"
url "https://github.com/darkk/redsocks/archive/release-0.4.tar.gz"
sha256 "618cf9e8cd98082db31f4fde6450eace656fba8cd6b87aa4565512640d341045"
revision 2
bottle do
cellar :any
sha256 "8e16eb3b2db86a06e6d6eae77a7f2fa20f59f7536ccbd0b9ad15778dfdf31212" => :catalina
sha256 "0da35f33e9faaf37c59043a5f20d1e4a89f5b543644332b856a525183f31fe96" => :mojave
sha256 "4f8630032cb62bc1cc9f318a837ea0f42964704e2310115696766c8a51f8b5f2" => :high_sierra
sha256 "9b528c2ce745b2402d15073e7da4fb62789789caa70e5373946ae1699f663b8b" => :sierra
end
depends_on "libevent"
def install
system "make"
bin.install "redsocks"
end
test do
system "#{bin}/redsocks", "--version"
end
end