# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name tlssled version 1.3 revision 1 master_sites http://www.taddong.com/tools/ distname TLSSLed_v${version}.sh platforms any supported_archs noarch categories net security maintainers {i0ntempest @i0ntempest} openmaintainer license GPL-3 homepage http://www.taddong.com/en/lab.html description shell script for evaluating the security of a SSL/TLS (HTTPS) web server implementation long_description ${name} is a shell script whose purpose is to evaluate the security of a target SSL/TLS\ (HTTPS) web server implementation. It is based on sslscan, a thorough SSL/TLS scanner that is\ based on the openssl library, and on the \"openssl s_client\" command line tool. The current tests\ include checking if the target supports the SSLv2 protocol, the NULL cipher, weak ciphers based\ on their key length (40 or 56 bits), the availability of strong ciphers (like AES), if the digital\ certificate is MD5 signed, and the current SSL/TLS renegotiation capabilities. checksums rmd160 718bcdcdf2b90a570a1fb294d021f70392883964 \ sha256 30cfc539a367c8cb2fb3bafa7f214621ccef0bc97d34080ed800c6a0ca4e3339 \ size 28387 depends_run-append port:bash \ port:openssl \ port:sslscan extract.suffix extract { copy ${distpath}/${distname} ${workpath} } post-patch { reinplace "s|#!/usr/bin/env bash|#!${prefix}/bin/bash|" ${workpath}/${distname} } use_configure no build {} destroot { xinstall -m 0755 ${workpath}/${distname} ${destroot}${prefix}/bin ln -s ${prefix}/bin/${distname} ${destroot}${prefix}/bin/${name} } livecheck.type regex livecheck.url ${homepage} livecheck.regex {href=.*?/TLSSLed_v?(\d+(?:\.\d+)+)\.sh}