diff options
Diffstat (limited to 'testing/tlssled/APKBUILD')
-rw-r--r-- | testing/tlssled/APKBUILD | 42 |
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" |