git: 9dbd899820b3 - main - security/py-cryptography: Add SSH option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Sep 2023 03:14:41 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9dbd899820b34b27cd5bfa9600b04808d3fc3161
commit 9dbd899820b34b27cd5bfa9600b04808d3fc3161
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-11 03:08:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-11 03:11:31 +0000
security/py-cryptography: Add SSH option
---
security/py-cryptography/Makefile | 4 ++++
1 file changed, 4 insertions(+)
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} {} +