Page MenuHomeFreeBSD

D11436.diff
No OneTemporary

D11436.diff

Index: head/security/testssl.sh/Makefile
===================================================================
--- head/security/testssl.sh/Makefile
+++ head/security/testssl.sh/Makefile
@@ -2,6 +2,7 @@
PORTNAME= testssl.sh
PORTVERSION= 2.8
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= tobik@FreeBSD.org
@@ -44,7 +45,6 @@
enable-camellia \
enable-idea \
enable-rfc3779 \
- enable-ec_nistp_64_gcc_128 \
experimental-jpake \
-DOPENSSL_USE_IPV6
CONFIGURE_ENV= PERL="${PERL}"
@@ -57,6 +57,14 @@
# unknown reasons.
MAKE_JOBS_UNSAFE= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CONFIGURE_ARGS+= enable-ec_nistp_64_gcc_128
+.else
+CONFIGURE_ARGS+= no-ec_nistp_64_gcc_128
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/elif test_openssl_suffix/d' \
-e 's@: \# 5. we tried.*$$@else OPENSSL="${PREFIX}/libexec/openssl.testssl.sh"@' \
@@ -71,4 +79,4 @@
@cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/etc
@cd ${WRKSRC}/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 18, 5:16 PM (6 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31727632
Default Alt Text
D11436.diff (1 KB)

Event Timeline