dropbear 2015.67
Closes Homebrew/homebrew#38838. Signed-off-by: Brett Koonce <koonce@gmail.com>
This commit is contained in:
parent
6e3798822f
commit
43a3f97d7d
1 changed files with 13 additions and 11 deletions
|
@ -1,10 +1,7 @@
|
||||||
require "formula"
|
|
||||||
|
|
||||||
class Dropbear < Formula
|
class Dropbear < Formula
|
||||||
homepage "https://matt.ucc.asn.au/dropbear/dropbear.html"
|
homepage "https://matt.ucc.asn.au/dropbear/dropbear.html"
|
||||||
url "https://matt.ucc.asn.au/dropbear/releases/dropbear-2014.66.tar.bz2"
|
url "https://matt.ucc.asn.au/dropbear/releases/dropbear-2015.67.tar.bz2"
|
||||||
mirror "https://dropbear.nl/mirror/releases/dropbear-2014.66.tar.bz2"
|
sha256 "7e690594645dfde5787065c78a5d2e4d15e288babfa06e140197ce05f698c8e5"
|
||||||
sha1 "793f5f1bb465b3c55e795d607932e8b21c130e95"
|
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any
|
cellar :any
|
||||||
|
@ -21,20 +18,25 @@ class Dropbear < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
ENV.deparallelize
|
||||||
|
|
||||||
if build.head?
|
if build.head?
|
||||||
system "autoconf"
|
system "autoconf"
|
||||||
system "autoheader"
|
system "autoheader"
|
||||||
end
|
end
|
||||||
system "./configure","--prefix=#{prefix}", "--enable-pam", "--enable-zlib",
|
system "./configure", "--prefix=#{prefix}",
|
||||||
"--enable-bundled-libtom", "--sysconfdir=#{etc}/dropbear"
|
"--enable-pam",
|
||||||
|
"--enable-zlib",
|
||||||
|
"--enable-bundled-libtom",
|
||||||
|
"--sysconfdir=#{etc}/dropbear"
|
||||||
system "make"
|
system "make"
|
||||||
ENV.deparallelize
|
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system "dbclient", "-h"
|
system "dbclient", "-h"
|
||||||
system "dropbearkey", "-t", "ecdsa", "-f", "testec521", "-s", "521"
|
system "dropbearkey", "-t", "ecdsa",
|
||||||
assert File.exist?("testec521")
|
"-f", testpath/"testec521", "-s", "521"
|
||||||
|
File.exist? testpath/"testec521"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue