Created
July 18, 2022 07:23
-
-
Save conorzhong/eeebcee77f1988878582152c040df899 to your computer and use it in GitHub Desktop.
brew-sshpass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Sshpass < Formula | |
desc "noninteractive ssh password provider" | |
homepage "http://sshpass.sourceforge.net/" | |
version "1.06" | |
url "https://netix.dl.sourceforge.net/project/sshpass/sshpass/#{version}/sshpass-#{version}.tar.gz" | |
sha256 "c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60" | |
def install | |
system "./configure", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make", "install" | |
end | |
test do | |
system "sshpass" | |
end | |
end |
Author
conorzhong
commented
Jul 18, 2022
- download sshpass.rb
- brew install sshpass.rb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment