aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tlssled
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2014-03-03 21:50:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-11 07:33:00 +0000
commit8390b3cbd3ff4aaf31bec50e42128cfda01d96ff (patch)
tree541a0e2e6246d5df224b79f30ce6090a8c8da608 /testing/tlssled
parent69adfff78c4a8582a1994e3b2842bdcffe4b53f0 (diff)
downloadaports-8390b3cbd3ff4aaf31bec50e42128cfda01d96ff.tar.bz2
aports-8390b3cbd3ff4aaf31bec50e42128cfda01d96ff.tar.xz
testing/tlssled: new aport
An evaluation tool for SSL/TLS (HTTPS) web server implementations http://www.taddong.com/en/lab.html
Diffstat (limited to 'testing/tlssled')
-rw-r--r--testing/tlssled/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/tlssled/APKBUILD b/testing/tlssled/APKBUILD
new file mode 100644
index 0000000000..932a948d5f
--- /dev/null
+++ b/testing/tlssled/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=tlssled
+pkgver=1.3
+pkgrel=0
+pkgdesc="An evaluation tool for SSL/TLS (HTTPS) web server implementations"
+url="http://www.taddong.com/en/lab.html"
+arch="noarch"
+license="GPL3+"
+depends="sslscan openssl bash"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.sh::http://www.taddong.com/tools/TLSSLed_v$pkgver.sh"
+
+_builddir="$srcdir"
+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
+ sed -i 's|#!/usr/bin/env bash|#!/bin/bash|g' $pkgname-$pkgver.sh
+}
+
+build() {
+ cd "$_builddir"
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ install -m755 -D "$_builddir"/$pkgname-$pkgver.sh \
+ "$pkgdir"/usr/bin/$pkgname || return 1
+}
+
+md5sums="1c7126cbb69a52b23dd761a8ddff56bc tlssled-1.3.sh"
+sha256sums="30cfc539a367c8cb2fb3bafa7f214621ccef0bc97d34080ed800c6a0ca4e3339 tlssled-1.3.sh"
+sha512sums="f3380f3d70bd970d4959fd09744c9b4ad82e3448edcc28be4c8d59944860c23e48a53407d17cc96e63523f48d105c27d473271d80f2d557e28c9a9003df99506 tlssled-1.3.sh"