homebrew-core/Formula/ike-scan.rb
2015-06-05 14:47:57 +01:00

37 lines
1.2 KiB
Ruby

class IkeScan < Formula
desc "Discover and fingerprint IKE hosts"
homepage "http://www.nta-monitor.com/tools-resources/security-tools/ike-scan"
url "http://www.nta-monitor.com/tools/ike-scan/download/ike-scan-1.9.tar.gz"
sha1 "e973742c32c7b65fe134233482c94e3e94db3b32"
revision 1
bottle do
sha1 "43ea7f5447f086855d2b536555241c72d6e55df1" => :yosemite
sha1 "67c1151191bb54bccb2b899a4101eca4f71be022" => :mavericks
sha1 "2ebab8a22e925846ae35980944b82b142df21326" => :mountain_lion
end
head do
url "https://github.com/royhills/ike-scan.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
end
depends_on "openssl"
def install
system "autoreconf", "-fvi" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--with-openssl=#{Formula["openssl"].opt_prefix}"
system "make", "install"
end
test do
# We probably shouldn't probe any host for VPN servers, so let's keep this simple.
system bin/"ike-scan", "--version"
end
end