Upstream encourages us to use the 3.x version: " All distributors and others who use it also for production-like environment are encouraged to switch to this branch "
25 lines
727 B
Bash
25 lines
727 B
Bash
# Template file for 'testssl.sh'
|
|
pkgname=testssl.sh
|
|
version=3.0rc3
|
|
revision=1
|
|
noarch=yes
|
|
depends="libressl"
|
|
short_desc="Command line tool which checks a server for the support of TLS/SSL"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://testssl.sh"
|
|
distfiles="https://github.com/drwetter/testssl.sh/archive/${version}.tar.gz"
|
|
checksum=45f8aed24ad749175608a29c50566240a8a1b8ebcb32531d7bf6231ec269f4a5
|
|
|
|
pre_install() {
|
|
# Set TESTSSL_INSTALL_DIR so that we can install to a custom dir
|
|
sed 's|LL_DIR:-""|LL_DIR:-/usr/share/testssl.sh/|' -i testssl.sh
|
|
}
|
|
|
|
do_install() {
|
|
vbin testssl.sh
|
|
vmkdir /usr/share/testssl.sh
|
|
vcopy etc/ /usr/share/testssl.sh/
|
|
vdoc Readme.md
|
|
vman doc/testssl.1
|
|
}
|