security/sslscan: linker fix for 10.0 (adding -lcrypto), staging,

pkg-descr reformatted (shorter lines)

PR:             ports/186478
Submitted by:   pi
Approved by:    jadawin (mentor)
This commit is contained in:
Kurt Jaeger 2014-05-02 17:23:53 +00:00
parent b8ae48cb31
commit f6a789336b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352830
4 changed files with 13 additions and 11 deletions

View file

@ -10,10 +10,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= matthieu@labs.fr
COMMENT= SSLScan is a fast SSL port scanner
MAKE_ARGS= CC="${CC}" CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
LICENSE= GPLv3
MAN1= sslscan.1
PLIST_FILES= bin/sslscan
MAKE_ARGS= STAGEDIR=${STAGEDIR} CC="${CC}" CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
NO_STAGE= yes
.include <bsd.port.mk>

View file

@ -4,13 +4,13 @@
SRCS = sslscan.c
-BINPATH = /usr/bin/
-MANPATH = /usr/share/man/
+BINPATH = ${PREFIX}/bin/
+MANPATH = ${PREFIX}/man
+BINPATH = ${STAGEDIR}${PREFIX}/bin/
+MANPATH = ${STAGEDIR}${PREFIX}/man
+CC = ${CC}
all:
- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
+ ${CC} -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
+ ${CC} -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
install:
- cp sslscan $(BINPATH)

View file

@ -1,4 +1,6 @@
SSLScan is a fast SSL port scanner. SSLScan connects to SSL ports and determines
what ciphers are supported, which are the servers prefered ciphers, which SSL
protocols are supported and returns the SSL certificate. Client certificates and
private key can be configured and output is to text / XML.
SSLScan is a fast SSL port scanner. SSLScan connects to SSL ports
and determines what ciphers are supported, which are the servers
prefered ciphers, which SSL protocols are supported and returns the
SSL certificate. Client certificates and private key can be configured
and output is to text / XML.

View file

@ -0,0 +1,2 @@
bin/sslscan
man/man1/sslscan.1.gz