diff options
| author | Dominyk Tiller | 2014-11-29 04:18:37 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-30 17:05:07 +0000 |
| commit | f62222b193d5f6a72f80d17b44ca304c3b0ea7ae (patch) | |
| tree | 9fa3c703d6a55b2e1fc7598bd9050d85c4081ce9 /Library | |
| parent | 216e40da99b20495623d2804599d2f15d134295e (diff) | |
| download | homebrew-f62222b193d5f6a72f80d17b44ca304c3b0ea7ae.tar.bz2 | |
dropbear 201466
Version bump. Added HEAD. Tweaked test.
Closes #34540.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/dropbear.rb | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/Library/Formula/dropbear.rb b/Library/Formula/dropbear.rb index b97d3b998..e3790e922 100644 --- a/Library/Formula/dropbear.rb +++ b/Library/Formula/dropbear.rb @@ -2,8 +2,9 @@ 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" + url "https://matt.ucc.asn.au/dropbear/releases/dropbear-2014.66.tar.bz2" + mirror "https://dropbear.nl/mirror/releases/dropbear-2014.66.tar.bz2" + sha1 "793f5f1bb465b3c55e795d607932e8b21c130e95" bottle do cellar :any @@ -12,15 +13,28 @@ class Dropbear < Formula sha1 "6cb51ab0dadbe813aacd66251c84507a9c5006d1" => :lion end + head do + url "https://github.com/mkj/dropbear.git" + + depends_on "automake" => :build + depends_on "autoconf" => :build + end + def install - system "./configure","--prefix=#{prefix}", "--enable-pam", "--enable-zlib" + if build.head? + system "autoconf" + system "autoheader" + end + system "./configure","--prefix=#{prefix}", "--enable-pam", "--enable-zlib", + "--enable-bundled-libtom", "--sysconfdir=#{etc}/dropbear" system "make" + ENV.deparallelize system "make", "install" end test do system "dbclient", "-h" - system "dropbearkey", "-t", "rsa", "-f", "id_rsa" - assert File.exist?("id_rsa") + system "dropbearkey", "-t", "ecdsa", "-f", "testec521", "-s", "521" + assert File.exist?("testec521") end end |
