From b8c7f05759ed07fcc08111948e45dbfa39ac53f8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 13 Dec 2012 20:36:14 +0000 Subject: testing/sslscan: new aport 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 preferred ciphers of the SSL service, the certificate and is in Text and XML formats. https://www.titania-security.com/labs/sslscan --- testing/sslscan/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/sslscan/APKBUILD (limited to 'testing/sslscan') diff --git a/testing/sslscan/APKBUILD b/testing/sslscan/APKBUILD new file mode 100644 index 0000000000..30271216e9 --- /dev/null +++ b/testing/sslscan/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=sslscan +pkgver=1.8.2 +pkgrel=0 +pkgdesc="Security assessment tool for SSL" +url="https://www.titania-security.com/labs/sslscan" +arch="all" +license="GPL3+" +depends="" +depends_dev="" +makedepends="openssl-dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz + sslscan-makefile.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="1a890d031996ab252efb535511bd58db sslscan-1.8.2.tgz +1aaacf4df3a6208a9aadafa1938c7126 sslscan-makefile.patch" -- cgit v1.2.3 From 0352dfc203864632f558977b4c5a618917d7bfd7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 13 Dec 2012 21:12:42 +0000 Subject: testing/sslscan: patch added --- testing/sslscan/sslscan-makefile.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/sslscan/sslscan-makefile.patch (limited to 'testing/sslscan') diff --git a/testing/sslscan/sslscan-makefile.patch b/testing/sslscan/sslscan-makefile.patch new file mode 100644 index 0000000000..c41eb230b1 --- /dev/null +++ b/testing/sslscan/sslscan-makefile.patch @@ -0,0 +1,28 @@ +diff -ru sslscan-1.8.2/Makefile sslscan-1.8.2.fc12/Makefile +--- sslscan-1.8.2/Makefile 2010-01-16 20:33:16.000000000 +0100 ++++ sslscan-1.8.2.fc12/Makefile 2010-01-16 20:41:10.000000000 +0100 +@@ -1,17 +1,17 @@ + SRCS = sslscan.c +-BINPATH = /usr/bin/ +-MANPATH = /usr/share/man/ ++BINPATH ?= /usr/bin/ ++MANPATH ?= /usr/share/man/ + + all: +- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) ++ gcc -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) + + install: +- cp sslscan $(BINPATH) +- cp sslscan.1 $(MANPATH)man1 ++ install -D -m 755 sslscan $(DESTDIR)$(BINPATH)sslscan ++ install -D -m 644 sslscan.1 $(DESTDIR)$(MANPATH)man1/sslscan.1 + + uninstall: +- rm -f $(BINPATH)sslscan +- rm -f $(MANPATH)man1/sslscan.1 ++ rm -f $(DESTDIR)$(BINPATH)sslscan ++ rm -f $(DESTDIR)$(MANPATH)man1/sslscan.1 + + clean: + rm -f sslscan -- cgit v1.2.3