From owner-svn-ports-all@freebsd.org Tue Nov 6 06:02:29 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D3D01100E83; Tue, 6 Nov 2018 06:02:29 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90A8D8DA84; Tue, 6 Nov 2018 06:02:28 +0000 (UTC) (envelope-from farrokhi@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 71DAC22AD9; Tue, 6 Nov 2018 06:02:28 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA662SJ1014931; Tue, 6 Nov 2018 06:02:28 GMT (envelope-from farrokhi@FreeBSD.org) Received: (from farrokhi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA662SGk014930; Tue, 6 Nov 2018 06:02:28 GMT (envelope-from farrokhi@FreeBSD.org) Message-Id: <201811060602.wA662SGk014930@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: farrokhi set sender to farrokhi@FreeBSD.org using -f From: Babak Farrokhi Date: Tue, 6 Nov 2018 06:02:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484277 - in head/benchmarks/sipp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: farrokhi X-SVN-Commit-Paths: in head/benchmarks/sipp: . files X-SVN-Commit-Revision: 484277 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 90A8D8DA84 X-Spamd-Result: default: False [-103.10 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 06 Nov 2018 06:02:29 -0000 Author: farrokhi Date: Tue Nov 6 06:02:27 2018 New Revision: 484277 URL: https://svnweb.freebsd.org/changeset/ports/484277 Log: benchmarks/sipp: Fix OpenSSL 1.1.x build PR: 232088 Submitted by: Nathan Added: head/benchmarks/sipp/files/patch-configure.ac (contents, props changed) Modified: head/benchmarks/sipp/Makefile Modified: head/benchmarks/sipp/Makefile ============================================================================== --- head/benchmarks/sipp/Makefile Tue Nov 6 05:44:42 2018 (r484276) +++ head/benchmarks/sipp/Makefile Tue Nov 6 06:02:27 2018 (r484277) @@ -3,7 +3,7 @@ PORTNAME= sipp PORTVERSION= 3.5.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= benchmarks net MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/ @@ -15,8 +15,6 @@ LICENSE= GPLv2 BROKEN_mips= fails to compile: stat.hpp:307: error: ISO C++ does not support long long BROKEN_mips64= fails to compile: stat.hpp:307: error: ISO C++ does not support long long BROKEN_powerpc64= fails to compile: stat.hpp:307: error: ISO C++ does not support long long -BROKEN_SSL= openssl-devel -BROKEN_SSL_REASON_openssl-devel= configure: error: ssl library missing BUILD_DEPENDS= help2man:misc/help2man Added: head/benchmarks/sipp/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/sipp/files/patch-configure.ac Tue Nov 6 06:02:27 2018 (r484277) @@ -0,0 +1,29 @@ +--- configure.ac.orig 2018-10-08 21:17:06 UTC ++++ configure.ac +@@ -137,14 +137,15 @@ AC_SEARCH_LIBS([shutdown], [socket]) + + # Conditional build with OpenSSL + if test "$openssl" = 'yes'; then +- AC_CHECK_HEADERS([openssl/md5.h],,[AC_MSG_ERROR([ header missing])]) ++# Conditional build with OpenSSL ++if test "$openssl" = 'yes'; then + AC_CHECK_HEADERS([openssl/bio.h],,[AC_MSG_ERROR([ header missing])]) + AC_CHECK_HEADERS([openssl/err.h],,[AC_MSG_ERROR([ header missing])]) + AC_CHECK_HEADERS([openssl/rand.h],,[AC_MSG_ERROR([ header missing])]) + AC_CHECK_HEADERS([openssl/ssl.h],,[AC_MSG_ERROR([ header missing])]) + AC_CHECK_HEADERS([openssl/x509v3.h],,[AC_MSG_ERROR([ header missing])]) +- AC_CHECK_LIB([ssl], [SSL_library_init],,[AC_MSG_ERROR([ssl library missing])]) +- AC_CHECK_LIB([crypto], [CRYPTO_num_locks],,[AC_MSG_ERROR([crypto library missing])]) ++ AC_CHECK_LIB([ssl], [SSL_CTX_new],,[AC_MSG_ERROR([ssl library missing])]) ++ AC_CHECK_LIB([crypto], [CRYPTO_free],,[AC_MSG_ERROR([crypto library missing])]) + fi + # For Makefile.am + AM_CONDITIONAL(HAVE_OPENSSL, test "$openssl" = "yes") +@@ -156,6 +157,7 @@ if test "$sctp" = 'yes'; then + AC_SEARCH_LIBS([sctp_freepaddrs],[sctp sctpsp],,[AC_MSG_ERROR([SCTP library missing])]) + AC_SEARCH_LIBS([sctp_bindx],[sctp sctpsp],,[AC_MSG_ERROR([SCTP library missing])]) + AC_SEARCH_LIBS([sctp_recvmsg],[sctp sctpsp],,[AC_MSG_ERROR([SCTP library missing])]) ++fi + fi + # For Makefile.am + AM_CONDITIONAL(HAVE_SCTP, test "$sctp" = "yes")