Skip to content

Instantly share code, notes, and snippets.

@Ardakilic
Created December 16, 2014 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ardakilic/b537f93ab796aefc7810 to your computer and use it in GitHub Desktop.
Save Ardakilic/b537f93ab796aefc7810 to your computer and use it in GitHub Desktop.
Homebrew sshpass formula. NOTE: This is blacklisted for a good reason, don't use if you are a novice user.
require 'formula'
class Sshpass < Formula
url 'http://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz'
homepage 'http://sourceforge.net/projects/sshpass'
md5 'c52d65fdee0712af6f77eb2b60974ac7'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "sshpass"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment