diff options
author | tron <tron@pkgsrc.org> | 2013-11-19 12:46:07 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-11-19 12:46:07 +0000 |
commit | 0f231326bee7ec85c7ee14a30361fda96858e715 (patch) | |
tree | 124798ab6348d10d9acfccd32fa299985f4b748c | |
parent | 1bf8506ea20a47d2919b7783a582e01955cf5eac (diff) | |
download | pkgsrc-0f231326bee7ec85c7ee14a30361fda96858e715.tar.gz |
Import new "sslscan" package:
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.
-rw-r--r-- | security/sslscan/DESCR | 4 | ||||
-rw-r--r-- | security/sslscan/Makefile | 17 | ||||
-rw-r--r-- | security/sslscan/PLIST | 3 | ||||
-rw-r--r-- | security/sslscan/distinfo | 7 | ||||
-rw-r--r-- | security/sslscan/patches/patch-Makefile | 25 | ||||
-rw-r--r-- | security/sslscan/patches/patch-sslscan.c | 14 |
6 files changed, 70 insertions, 0 deletions
diff --git a/security/sslscan/DESCR b/security/sslscan/DESCR new file mode 100644 index 00000000000..bd02ad9fd60 --- /dev/null +++ b/security/sslscan/DESCR @@ -0,0 +1,4 @@ +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. diff --git a/security/sslscan/Makefile b/security/sslscan/Makefile new file mode 100644 index 00000000000..2a5c1c5e422 --- /dev/null +++ b/security/sslscan/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2013/11/19 12:46:07 tron Exp $ + +DISTNAME= sslscan-1.8.2 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sslscan/} +EXTRACT_SUFX= .tgz + +MAINTAINER= tron@NetBSD.org +HOMEPAGE= http://sourceforge.net/projects/sslscan/ +COMMENT= Fast SSL Scanner +LICENSE= gnu-gpl-v3 + +INSTALLATION_DIRS+= bin +INSTALLATION_DIRS+= ${PKGMANDIR}/man1 + +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/sslscan/PLIST b/security/sslscan/PLIST new file mode 100644 index 00000000000..a9ad5c7669e --- /dev/null +++ b/security/sslscan/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2013/11/19 12:46:07 tron Exp $ +bin/sslscan +man/man1/sslscan.1 diff --git a/security/sslscan/distinfo b/security/sslscan/distinfo new file mode 100644 index 00000000000..18ea3a675f9 --- /dev/null +++ b/security/sslscan/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2013/11/19 12:46:07 tron Exp $ + +SHA1 (sslscan-1.8.2.tgz) = 4982ff622ca1f05829a3910be5e3903e91cfdd68 +RMD160 (sslscan-1.8.2.tgz) = a048d3a29d56b34a0fb2ea8e5a5dc2ba3e773d76 +Size (sslscan-1.8.2.tgz) = 22176 bytes +SHA1 (patch-Makefile) = dd96b543bca3ff376eba05a2ee3444d5e2517cb2 +SHA1 (patch-sslscan.c) = 8415623420c1052a305e3ce485776ae9fcc3df42 diff --git a/security/sslscan/patches/patch-Makefile b/security/sslscan/patches/patch-Makefile new file mode 100644 index 00000000000..65d9eaffb8a --- /dev/null +++ b/security/sslscan/patches/patch-Makefile @@ -0,0 +1,25 @@ +$NetBSD: patch-Makefile,v 1.1.1.1 2013/11/19 12:46:07 tron Exp $ + +Use appropriate commands for build and installation. + +--- ./Makefile.orig 2009-09-01 14:35:59.000000000 +0200 ++++ ./Makefile 2011-06-21 17:37:30.000000000 +0200 +@@ -1,13 +1,13 @@ + SRCS = sslscan.c +-BINPATH = /usr/bin/ +-MANPATH = /usr/share/man/ ++BINPATH = $(PREFIX)/bin ++MANPATH = $(PREFIX)/$(PKGMANDIR) + + all: +- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) ++ $(CC) -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) + + install: +- cp sslscan $(BINPATH) +- cp sslscan.1 $(MANPATH)man1 ++ $(BSD_INSTALL_PROGRAM) -s -m 755 sslscan $(DESTDIR)$(BINPATH) ++ $(BSD_INSTALL_MAN) -m 644 sslscan.1 $(DESTDIR)$(MANPATH)/man1 + + uninstall: + rm -f $(BINPATH)sslscan diff --git a/security/sslscan/patches/patch-sslscan.c b/security/sslscan/patches/patch-sslscan.c new file mode 100644 index 00000000000..ef4caa572c0 --- /dev/null +++ b/security/sslscan/patches/patch-sslscan.c @@ -0,0 +1,14 @@ +$NetBSD: patch-sslscan.c,v 1.1.1.1 2013/11/19 12:46:07 tron Exp $ + +Fix build. + +--- sslscan.c.orig 2009-09-01 13:35:59.000000000 +0100 ++++ sslscan.c 2013-11-19 12:44:42.000000000 +0000 +@@ -41,6 +41,7 @@ + #include <openssl/pkcs12.h> + #include <openssl/x509.h> + #include <openssl/x509v3.h> ++#include <netinet/in.h> + + // Defines... + #define false 0 |