Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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>
  • Loading branch information...
commit e316a8aa2dd0362fa19ad42b68a571e50e17b0d2 1 parent 651523e
Greg Turnquist authored jacknagel committed

Showing 1 changed file with 38 additions and 0 deletions. Show diff stats Hide diff stats

  1. +38 0 Library/Formula/sslscan.rb
38 Library/Formula/sslscan.rb
... ... @@ -0,0 +1,38 @@
  1 +require 'formula'
  2 +
  3 +class Sslscan < Formula
  4 + url 'http://sourceforge.net/projects/sslscan/files/sslscan/sslscan%201.8.0/sslscan-1.8.0.tgz'
  5 + homepage 'https://www.titania-security.com/labs/sslscan'
  6 + md5 '7f5fa87019024366691c6b27cb3a81e7'
  7 +
  8 + def patches
  9 + # Fixes the Makefile to properly build sslscan
  10 + DATA
  11 + end
  12 +
  13 + def install
  14 + system "make"
  15 + bin.install ["sslscan"]
  16 + man1.install ["sslscan.1"]
  17 + end
  18 +
  19 + def test
  20 + system "sslscan"
  21 + end
  22 +end
  23 +
  24 +__END__
  25 +diff --git a/Makefile b/Makefile
  26 +index a3e1654..b1fbda8 100644
  27 +--- a/Makefile
  28 ++++ b/Makefile
  29 +@@ -3,7 +3,7 @@ BINPATH = /usr/bin/
  30 + MANPATH = /usr/share/man/
  31 +
  32 + all:
  33 +- gcc -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
  34 ++ $(CC) -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
  35 +
  36 + install:
  37 + cp sslscan $(BINPATH)
  38 +

0 comments on commit e316a8a

Please sign in to comment.
Something went wrong with that request. Please try again.