Changes: Fix "ID resumption test failed" bug under Darwin Fix "locale error message when en_US.UTF-8 isn't available" bug Fix "Darwin / LibreSSL startup problem" which leads to a question upfront Make upfront handshake tests more compatible by adding </dev/null (David) Take 'HTTP Age' HTTP header into account when determine HTTP time (Wahnes) Fix JSON header (structured JSON output) name (David) Robustness: Update reset_hostdepended_vars() for mass tests (David) Simplify determination of git stuff (Matthias) Fix "newline to spaces" in JSON and CSV findings (David) Fix "Bad file descriptor with --connect-timeout option" SSLv2 fixes, OpenSSL fixes 3.X (David) Improve cipher_pref_check() for detecting prioritization of ChaCha ciphers Simplify + speed up pre-check Addressing lame DNS responses on WSL Fix big serial # issue in certs Fix invalid JSON when certificate issuer containing non-ASCII chars
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
PORTNAME= testssl.sh
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.0.7
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
|
COMMENT= Analyze and report TLS/SSL configuration/misconfiguration
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= openssl-unsafe>=1.0.1:security/openssl-unsafe \
|
|
bash:shells/bash
|
|
TEST_DEPENDS= p5-JSON>=0:converters/p5-JSON
|
|
|
|
USES= perl5 shebangfix
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= drwetter
|
|
|
|
SHEBANG_FILES= testssl.sh utils/*
|
|
|
|
USE_PERL5= test
|
|
TEST_ENV= TESTSSL_INSTALL_DIR=${WRKSRC}
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|; s|%%DATADIR%%|${DATADIR}|' \
|
|
${WRKSRC}/testssl.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/testssl.sh ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/testssl.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "etc utils" ${STAGEDIR}${DATADIR}
|
|
|
|
do-test:
|
|
# Run the badssl.com test as a sanity check. The full test suite
|
|
# opens too many network connections and might take too long to
|
|
# run.
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} prove -v t/51_badssl.com.t
|
|
|
|
.include <bsd.port.mk>
|