Skip to content

Instantly share code, notes, and snippets.

@ashb
Forked from allenhuang/proxychains4_formula.rb
Last active February 4, 2019 12:31
Show Gist options
  • Save ashb/628c1d98fab731d809d883c24eedd9d4 to your computer and use it in GitHub Desktop.
Save ashb/628c1d98fab731d809d883c24eedd9d4 to your computer and use it in GitHub Desktop.
Unofficial brew formula for proxychains 4
# Unofficial brew formula for proxychains 4
# Instruction:
# $ git clone https://gist.github.com/628c1d98fab731d809d883c24eedd9d4.git gist-3792521
# $ brew install --HEAD gist-3792521/proxychains4.rb
#
# The default config file will be located in /usr/local/etc/proxychains.conf
#
require 'formula'
class Proxychains4 < Formula
head 'https://github.com/haad/proxychains.git'
homepage 'https://github.com/haad/proxychains'
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
system "make install-config"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment