2010-07-27 08:29:58 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ncrack < Formula
|
2010-07-27 08:29:58 +00:00
|
|
|
homepage 'http://nmap.org/ncrack/'
|
2013-01-29 03:46:58 +00:00
|
|
|
url 'http://nmap.org/ncrack/dist/ncrack-0.4ALPHA.tar.gz'
|
2011-11-24 20:50:46 +00:00
|
|
|
sha256 'f8bd7e0ef68559490064ec0a5f139b2b9c49aeaf9f6323e080db9ff344c87603'
|
2010-07-27 08:29:58 +00:00
|
|
|
|
|
|
|
def install
|
2013-10-10 06:17:47 +00:00
|
|
|
# --without-openssl-header-check is necessary because Apple bumps
|
|
|
|
# openssl versions in security updates, but never updates the headers
|
2013-01-29 03:46:58 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2013-10-10 06:17:47 +00:00
|
|
|
"--prefix=#{prefix}", "--without-openssl-header-check"
|
2010-07-27 08:29:58 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|