ajacoutot c251bafcec Import sslscan-1.8.2.
SSLScan queries SSL services, such as HTTPS, in order to determine the
ciphers that are supported. SSLScan is designed to be easy, lean and
fast. The output includes prefered ciphers of the SSL service, the
certificate and is in Text and XML formats.

Heavily based on the FreeBSD port.

inputs from sthen@
ok jasper@
2011-06-21 21:05:48 +00:00

23 lines
625 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2011/06/21 21:05:48 ajacoutot Exp $
--- Makefile.orig Tue Sep 1 14:35:59 2009
+++ Makefile Tue Jun 21 19:25:44 2011
@@ -1,13 +1,13 @@
SRCS = sslscan.c
-BINPATH = /usr/bin/
-MANPATH = /usr/share/man/
+BINPATH = ${PREFIX}/bin/
+MANPATH = ${PREFIX}/man
all:
- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
+ ${CC} -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
install:
- cp sslscan $(BINPATH)
- cp sslscan.1 $(MANPATH)man1
+ $(BSD_INSTALL_PROGRAM) sslscan $(BINPATH)
+ $(BSD_INSTALL_MAN) sslscan.1 $(MANPATH)/man1
uninstall:
rm -f $(BINPATH)sslscan