2014-10-16 21:54:36 +00:00
|
|
|
require "formula"
|
2012-06-28 16:20:53 +00:00
|
|
|
|
|
|
|
class Ophcrack < Formula
|
2014-10-16 21:54:36 +00:00
|
|
|
homepage "http://ophcrack.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/ophcrack/ophcrack/3.6.0/ophcrack-3.6.0.tar.bz2"
|
|
|
|
mirror "https://mirrors.kernel.org/debian/pool/main/o/ophcrack/ophcrack_3.6.0.orig.tar.bz2"
|
|
|
|
sha1 "8e39b8c013b3f2144b23e33abeeadbb81e4120ca"
|
|
|
|
revision 1
|
|
|
|
|
2014-10-16 23:06:44 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "708bc9a7d0d55c7bc40c658193b7f8c132a4b03a" => :mavericks
|
|
|
|
sha1 "dada805fde40ab311f1819bc51b1280cdc224bfe" => :mountain_lion
|
|
|
|
sha1 "4c4e177a30674d11e10fd825d3567d41773d952b" => :lion
|
|
|
|
end
|
|
|
|
|
2014-10-16 21:54:36 +00:00
|
|
|
depends_on "openssl"
|
2012-06-28 16:20:53 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-gui",
|
2014-10-16 21:54:36 +00:00
|
|
|
"--with-libssl=#{Formula["openssl"].opt_prefix}",
|
2012-06-28 16:20:53 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
|
|
|
|
system "make"
|
2014-04-17 04:25:17 +00:00
|
|
|
system "make", "-C", "src", "install"
|
2012-06-28 16:20:53 +00:00
|
|
|
end
|
2014-10-16 21:54:36 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/ophcrack", "-h"
|
|
|
|
end
|
2012-06-28 16:20:53 +00:00
|
|
|
end
|