diff --git a/security/py-sslyze/Makefile b/security/py-sslyze/Makefile index 59b3ff0f49f1..f629836e7723 100644 --- a/security/py-sslyze/Makefile +++ b/security/py-sslyze/Makefile @@ -1,27 +1,28 @@ PORTNAME= sslyze PORTVERSION= 5.0.5 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast and powerful SSL/TLS scanning library WWW= https://github.com/nabla-c0d3/sslyze LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6<38.0.0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nassl>=4.0.1<5.0.0:security/py-nassl@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7<1.10:devel/py-pydantic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7<1.11:devel/py-pydantic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tls-parser>=2.0.0<3.0.0:security/py-tls-parser@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${RM} ${WRKSRC}/sslyze/plugins/openssl_cipher_suites/_tls12_workaround.py .include diff --git a/security/py-sslyze/files/patch-setup.py b/security/py-sslyze/files/patch-setup.py new file mode 100644 index 000000000000..4a1329c64976 --- /dev/null +++ b/security/py-sslyze/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-05-14 09:12:21 UTC ++++ setup.py +@@ -100,7 +100,7 @@ setup( + "nassl>=4.0.1,<5.0.0", + "cryptography>=2.6,<38.0.0", + "tls-parser>=2.0.0,<3.0.0", +- "pydantic>=1.7,<1.10", ++ "pydantic>=1.7,<1.11", + ], + # cx_freeze info for Windows builds with Python embedded + options={"build_exe": {"packages": ["cffi", "cryptography"], "include_files": get_include_files()}},