blob: 8f3df0e91a0d9c59dcbbea5ef0ccb38eab7f1983 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PORTNAME= nassl
PORTVERSION= 5.0.1
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Experimental OpenSSL wrapper for SSLyze
WWW= https://github.com/nabla-c0d3/nassl
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
# Upstream bug https://github.com/nabla-c0d3/nassl/issues/110
BROKEN_SSL= openssl30 openssl31
BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 libcrypt.so
USES= python:3.7+ ssl
USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= nabla-c0d3
USE_GITHUB= yes
post-patch:
@${RM} ${WRKSRC}/build_tasks.py ${WRKSRC}/tasks.py ${WRKSRC}/nassl/legacy_ssl_client.py
@${REINPLACE_CMD} -e 's|%%OPENSSLINC%%|${OPENSSLINC}|; s|%%OPENSSLLIB%%|${OPENSSLLIB}|' ${WRKSRC}/setup.py
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
|