From owner-svn-ports-all@freebsd.org Thu Jul 6 05:34:15 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57FDFDA10CF; Thu, 6 Jul 2017 05:34:15 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26A8881B11; Thu, 6 Jul 2017 05:34:15 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v665YEMA018598; Thu, 6 Jul 2017 05:34:14 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v665YEiY018597; Thu, 6 Jul 2017 05:34:14 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201707060534.v665YEiY018597@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 6 Jul 2017 05:34:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r445128 - branches/2017Q3/security/testssl.sh X-SVN-Group: ports-branches X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: branches/2017Q3/security/testssl.sh X-SVN-Commit-Revision: 445128 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2017 05:34:15 -0000 Author: tobik Date: Thu Jul 6 05:34:14 2017 New Revision: 445128 URL: https://svnweb.freebsd.org/changeset/ports/445128 Log: MFH: r445053 Only use enable-ec_nistp_64_gcc_128 on amd64 since it requires a 64-bit little-endian architecture and fix the build on !amd64 ecp_nistp224.c:43:9: error: unknown type name '__uint128_t' typedef __uint128_t uint128_t; /* nonstandard; implemented by gcc on 64-bit ^ PR: 220403 Reported by: dewayne@heuristicsystems.com.au Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D11436 Approved by: ports-secteam (blanket) Modified: branches/2017Q3/security/testssl.sh/Makefile Directory Properties: branches/2017Q3/ (props changed) Modified: branches/2017Q3/security/testssl.sh/Makefile ============================================================================== --- branches/2017Q3/security/testssl.sh/Makefile Thu Jul 6 05:03:56 2017 (r445127) +++ branches/2017Q3/security/testssl.sh/Makefile Thu Jul 6 05:34:14 2017 (r445128) @@ -2,6 +2,7 @@ PORTNAME= testssl.sh PORTVERSION= 2.8 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= tobik@FreeBSD.org @@ -44,7 +45,6 @@ CONFIGURE_ARGS= --openssldir=${OPENSSLDIR} \ 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 @@ CONFIGURE_WRKSRC= ${WRKSRC_openssl} # unknown reasons. MAKE_JOBS_UNSAFE= yes +.include + +.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 @@ do-install: @cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/etc @cd ${WRKSRC}/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils -.include +.include