homebrew-core/Formula/proxychains-ng.rb
2017-02-26 17:44:41 +01:00

26 lines
934 B
Ruby

class ProxychainsNg < Formula
desc "Hook preloader"
homepage "https://sourceforge.net/projects/proxychains-ng/"
url "https://github.com/rofl0r/proxychains-ng/releases/download/v4.12/proxychains-ng-4.12.tar.xz"
sha256 "482a549935060417b629f32ddadd14f9c04df8249d9588f7f78a3303e3d03a4e"
revision 1
head "https://github.com/rofl0r/proxychains-ng.git"
bottle do
sha256 "5e6fec4ad1150223a3c97d353b22085632dd634181ff85f7c125f49b74975710" => :sierra
sha256 "ac61e782f334b00180f7b0008e4c5da35ee9f5632821a806c99af7b144938916" => :el_capitan
sha256 "2298ad9f27411a1da59bd925bf9cf49ae5579d368acbaebf1c29103e84684a09" => :yosemite
end
def install
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
system "make"
system "make", "install"
system "make", "install-config"
end
test do
assert_match "config file found", shell_output("#{bin}/proxychains4 test 2>&1", 1)
end
end