aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-11 03:08:48 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-11 03:11:31 +0000
commit9dbd899820b34b27cd5bfa9600b04808d3fc3161 (patch)
tree00f64be2ba2a5da113b1f187661bcd5005dcd5f9
parent8dbe58561c2bcb74ffbfde65d8f77af1152412db (diff)
downloadports-9dbd899820b34b27cd5bfa9600b04808d3fc3161.tar.gz
ports-9dbd899820b34b27cd5bfa9600b04808d3fc3161.zip
security/py-cryptography: Add SSH option
-rw-r--r--security/py-cryptography/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile
index c5bcd9f13a84..973fae813aaf 100644
--- a/security/py-cryptography/Makefile
+++ b/security/py-cryptography/Makefile
@@ -44,6 +44,10 @@ TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
CPE_VENDOR= cryptography_project
+OPTIONS_DEFINE= SSH
+
+SSH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.5:security/py-bcrypt@${PY_FLAVOR}
+
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +