diff options
| author | Greg Turnquist | 2011-10-19 14:09:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-10-20 23:41:38 -0500 |
| commit | e316a8aa2dd0362fa19ad42b68a571e50e17b0d2 (patch) | |
| tree | eff0fea2f94a37d3b5e2b18c609ff724dff1adc0 | |
| parent | 651523eb303c78f750a7a160a80aa04552745493 (diff) | |
| download | homebrew-e316a8aa2dd0362fa19ad42b68a571e50e17b0d2.tar.bz2 | |
New formula: sslscan 1.8.0
sslscan is simple-to-build tool. It has a single Makefile and a simple
sslscan.1 man page.
Closes #8197.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/sslscan.rb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Library/Formula/sslscan.rb b/Library/Formula/sslscan.rb new file mode 100644 index 000000000..36137899b --- /dev/null +++ b/Library/Formula/sslscan.rb @@ -0,0 +1,38 @@ +require 'formula' + +class Sslscan < Formula + url 'http://sourceforge.net/projects/sslscan/files/sslscan/sslscan%201.8.0/sslscan-1.8.0.tgz' + homepage 'https://www.titania-security.com/labs/sslscan' + md5 '7f5fa87019024366691c6b27cb3a81e7' + + def patches + # Fixes the Makefile to properly build sslscan + DATA + end + + def install + system "make" + bin.install ["sslscan"] + man1.install ["sslscan.1"] + end + + def test + system "sslscan" + end +end + +__END__ +diff --git a/Makefile b/Makefile +index a3e1654..b1fbda8 100644 +--- a/Makefile ++++ b/Makefile +@@ -3,7 +3,7 @@ BINPATH = /usr/bin/ + MANPATH = /usr/share/man/ + + all: +- gcc -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) ++ $(CC) -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) + + install: + cp sslscan $(BINPATH) + |
