From 7d8de89a08130a105e45cf96281b6494745995f6 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Thu, 10 Jan 2019 23:50:27 +0100 Subject: [PATCH] testssl.sh: update to 3.0rc3. 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 " --- srcpkgs/testssl.sh/template | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/srcpkgs/testssl.sh/template b/srcpkgs/testssl.sh/template index cb2cc835294..54a95f74e9d 100644 --- a/srcpkgs/testssl.sh/template +++ b/srcpkgs/testssl.sh/template @@ -1,17 +1,25 @@ # Template file for 'testssl.sh' pkgname=testssl.sh -version=2.9.5r5 +version=3.0rc3 revision=1 -wrksrc="${pkgname}-${version/r/-}" +noarch=yes depends="libressl" short_desc="Command line tool which checks a server for the support of TLS/SSL" maintainer="Enno Boland " license="GPL-2.0-only" -homepage="http://testssl.sh" -distfiles="https://github.com/drwetter/testssl.sh/archive/v${version/r/-}.tar.gz" -checksum=836a7b45455c95f17c4d7eec9468028a7fc6b613fd4b3c8e8e125b7b8206b89d -noarch=yes +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 }