Index: security/Makefile =================================================================== --- security/Makefile +++ security/Makefile @@ -408,6 +408,7 @@ SUBDIR += openssh-askpass SUBDIR += openssh-portable SUBDIR += openssl + SUBDIR += openssl-devel SUBDIR += openssl_tpm_engine SUBDIR += openvas-client SUBDIR += openvas-libnasl @@ -1088,6 +1089,7 @@ SUBDIR += tclgpg SUBDIR += tclsasl SUBDIR += tcpcrypt + SUBDIR += testssl.sh SUBDIR += tinc SUBDIR += tinyca SUBDIR += titus Index: security/testssl.sh/Makefile =================================================================== --- /dev/null +++ security/testssl.sh/Makefile @@ -0,0 +1,47 @@ +# Created by: Bernard Spil +# $FreeBSD$ + +PORTNAME= testssl.sh +PORTVERSION= 2.6 +CATEGORIES= security + +MAINTAINER= brnrd@FreeBSD.org +COMMENT= Pure BASH SSL/TLS profiler + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash +WITH_OPENSSL_PORT= YES + +USE_GITHUB= yes +GH_ACCOUNT= drwetter + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/testssl.sh \ + ${LOCALBASE}/share/${PORTNAME}/mapping-rfc.txt +PORTDOCS_PLIST_FILES= %%PORTDOCS%%%%DOCSDIR%%/Readme.md \ + %%PORTDOCS%%%%DOCSDIR%%/mapping-rfc.txt \ + %%PORTDOCS%%%%DOCSDIR%%/openssl-rfc.mappping.html + +SUB_LIST= PORTNAME=${PORTNAME} +PORTDOCS= Readme.md openssl-rfc.mappping.html + +post-patch: + ${REINPLACE_CMD} -e "s|MAPPING_FILE_RFC=\"\"|MAPPING_FILE_RFC=\"${LOCALBASE}/share/${PORTNAME}/mapping-rfc.txt\"|" \ + -e "s|declare -x OPENSSL|declare -x OPENSSL=/usr/local/bin/openssl|" ${WRKSRC}/testssl.sh + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME} +.for i in ${PORTDOCS} + ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} +.endfor + ${INSTALL_DATA} ${WRKSRC}/mapping-rfc.txt ${STAGEDIR}${PREFIX}/share/${PORTNAME} + +.include Index: security/testssl.sh/distinfo =================================================================== --- /dev/null +++ security/testssl.sh/distinfo @@ -0,0 +1,2 @@ +SHA256 (drwetter-testssl.sh-2.6_GH0.tar.gz) = 723db5cdbcf2a4b2c5d8e860e50036217aba6793c0a464affc565db677ed8076 +SIZE (drwetter-testssl.sh-2.6_GH0.tar.gz) = 12300835 Index: security/testssl.sh/pkg-descr =================================================================== --- /dev/null +++ security/testssl.sh/pkg-descr @@ -0,0 +1,3 @@ +testssl.sh is a free command line tool which checks a +server's service on any port for the support of TLS/SSL +ciphers, protocols as well as some cryptographic flaws. Index: security/testssl.sh/pkg-message =================================================================== --- /dev/null +++ security/testssl.sh/pkg-message @@ -0,0 +1 @@ +tetssl.sh is a free command line tool which checks a server's service on any port for the support of TLS/SSL ciphers, protocols as well as some cryptographic flaws.