diff options
| author | Marcel Wolf | 2014-09-26 19:25:50 +0200 |
|---|---|---|
| committer | Tim D. Smith | 2014-09-29 08:48:41 -0700 |
| commit | 98b64ba2e02bd54c3ec8177f0b0dc45c89645d14 (patch) | |
| tree | 75a8842f20a1d2f7573a5a2046afe4b6ad93e326 /Library/Formula | |
| parent | f047d1fc3368ff22524177e60c428e671dc1aa3e (diff) | |
| download | homebrew-98b64ba2e02bd54c3ec8177f0b0dc45c89645d14.tar.bz2 | |
dropbear 2014.65 (new formula)
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dropbear.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/dropbear.rb b/Library/Formula/dropbear.rb new file mode 100644 index 000000000..a264e2381 --- /dev/null +++ b/Library/Formula/dropbear.rb @@ -0,0 +1,19 @@ +require "formula" + +class Dropbear < Formula + homepage "https://matt.ucc.asn.au/dropbear/dropbear.html" + url "https://matt.ucc.asn.au/dropbear/dropbear-2014.65.tar.bz2" + sha1 "a7b04ff3c27059477ecdd8dccef7d43f644abe46" + + def install + system "./configure","--prefix=#{prefix}", "--enable-pam", "--enable-zlib" + system "make" + system "make", "install" + end + + test do + system "dbclient", "-h" + system "dropbearkey", "-t", "rsa", "-f", "id_rsa" + assert File.exist?("id_rsa") + end +end |
