Skip to content

Instantly share code, notes, and snippets.

@sanderv32
Forked from cloverstd/sshpass.rb
Last active March 14, 2022 20:24
Show Gist options
  • Save sanderv32/bc402a338dcc56c4c573596fafe69246 to your computer and use it in GitHub Desktop.
Save sanderv32/bc402a338dcc56c4c573596fafe69246 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.09/sshpass-1.09.tar.gz'
homepage 'http://sourceforge.net/projects/sshpass'
sha256 '71746e5e057ffe9b00b44ac40453bf47091930cba96bbea8dc48717dedc49fb7'
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