Skip to content

Instantly share code, notes, and snippets.

@EntropyWorks
Forked from M-Barnett/sshpass.rb
Created June 4, 2017 20:21
Show Gist options
  • Select an option

  • Save EntropyWorks/1ff518db6f03758b29525d76f7bbebc2 to your computer and use it in GitHub Desktop.

Select an option

Save EntropyWorks/1ff518db6f03758b29525d76f7bbebc2 to your computer and use it in GitHub Desktop.
brew install sshpass
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'
sha256 'c3f78752a68a0c3f62efb3332cceea0c8a1f04f7cf6b46e00ec0c3000bc8483e'
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