Files
ports/security/testssl.sh/Makefile
T
Adam Weinberger 9577312b6e security/testssl.sh: Update to 3.0.8
Changes:
  Fix grep 3.8 warnings on fgrep and unneeded escapes of hyphen, slash, space (Geert)
  Fix alignment for cipher output (David)
  News binaries (Darwin from Barry), carry now the appendix -bad and fixes a security problem.
  Backport from higher OpenSSL version to support xmpp-server
  Fix CT (David)
  Fix decryption of TLS 1.3 response (David)
  Upgrade Dockerfile to Alpine to 3.15
  Fix pretty JSON formatting when warning is issued (David)
  Update of certificate stores
  Major update of client simulation (9 new simulations , >4 removed in default run)
  Fix CRIME output on servers only supporting TLS 1.3 (Tomasz)
  Fix censys link
  Fix ome handshake problems w $OPENSSL ciphers, extend determine_optimal_sockets_params() to more
  ciphers, fix PROTOS_OFFERED (David)
  Relax STARTTLS FTP requirement so that it doesn't require TLS after AUTH
  Fix run_server_preference() with no default protocol (David)
  Fix getting CRL / NO_SESSION_ID under some circumstances (David)
  Improve/fix OpenSSL 3.0 compatibility (David)
  Fix formatting to documentation
  Add FFDHE groups to supported_groups (David)
  Include RSA-PSS in ClientHello (David)
2022-09-28 18:08:09 -06:00

45 lines
1.1 KiB
Makefile

PORTNAME= testssl.sh
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.8
CATEGORIES= security
MAINTAINER= adamw@FreeBSD.org
COMMENT= Analyze and report TLS/SSL configuration/misconfiguration
WWW= https://github.com/drwetter/testssl.sh
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>