From f6a789336b6ae029452ecaec46f114d99b739517 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Fri, 2 May 2014 17:23:53 +0000 Subject: [PATCH] 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) --- security/sslscan/Makefile | 6 ++---- security/sslscan/files/patch-Makefile | 6 +++--- security/sslscan/pkg-descr | 10 ++++++---- security/sslscan/pkg-plist | 2 ++ 4 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 security/sslscan/pkg-plist diff --git a/security/sslscan/Makefile b/security/sslscan/Makefile index 02fb819febfe..a23d6f2e1cb2 100644 --- a/security/sslscan/Makefile +++ b/security/sslscan/Makefile @@ -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 diff --git a/security/sslscan/files/patch-Makefile b/security/sslscan/files/patch-Makefile index c1433953ab8c..3b08d4424ee8 100644 --- a/security/sslscan/files/patch-Makefile +++ b/security/sslscan/files/patch-Makefile @@ -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) diff --git a/security/sslscan/pkg-descr b/security/sslscan/pkg-descr index 112c7f429b82..b7624915d4c3 100644 --- a/security/sslscan/pkg-descr +++ b/security/sslscan/pkg-descr @@ -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. + diff --git a/security/sslscan/pkg-plist b/security/sslscan/pkg-plist new file mode 100644 index 000000000000..0166b954ca92 --- /dev/null +++ b/security/sslscan/pkg-plist @@ -0,0 +1,2 @@ +bin/sslscan +man/man1/sslscan.1.gz