25 lines
982 B
Ruby
25 lines
982 B
Ruby
class ProxychainsNg < Formula
|
|
desc "Hook preloader"
|
|
homepage "https://sourceforge.net/projects/proxychains-ng/"
|
|
url "https://github.com/rofl0r/proxychains-ng/archive/v4.13.tar.gz"
|
|
sha256 "ff15295efc227fec99c2b8131ad532e83e833a02470c7a48ae7e7f131e1b08bc"
|
|
head "https://github.com/rofl0r/proxychains-ng.git"
|
|
|
|
bottle do
|
|
sha256 "9d1d0ca3e57ab91965b863c2bf350242ef65bf7d7de275c19c01f29a9ea5d506" => :mojave
|
|
sha256 "71c967d3a664d42441ccd0917e4c47f58a5077c4e316279b9960529733826ac0" => :high_sierra
|
|
sha256 "231b56ce95d2df4d3949f919176033afca0ad5ac80250ee73fbdad5c2ee2709d" => :sierra
|
|
sha256 "211eff05f188af0e1555b44d0d93fce74458f5018280a9e1e02007c61192511c" => :el_capitan
|
|
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
|