Index: head/benchmarks/sipp/Makefile =================================================================== --- head/benchmarks/sipp/Makefile (revision 484276) +++ head/benchmarks/sipp/Makefile (revision 484277) @@ -1,70 +1,68 @@ # Created by: jesper@jdn.dk # $FreeBSD$ PORTNAME= sipp PORTVERSION= 3.5.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= benchmarks net MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= farrokhi@FreeBSD.org COMMENT= SIP benchmarking and testing tool 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 PLIST_FILES= bin/sipp man/man1/sipp.1.gz USES= autoreconf gmake ncurses GNU_CONFIGURE= yes OPTIONS_DEFINE= OPENSSL GSL PCAP RTPSTREAM SCTP OPTIONS_DEFAULT= OPENSSL PCAP RTPSTREAM OPENSSL_DESC= OpenSSL support (for digest auth and SIP over TLS) GSL_DESC= GSL support (for statistical distributed pauses) PCAP_DESC= PCAP Support RTPSTREAM_DESC= RTP Streaming Support SCTP_DESC= SCTP Transport Protocol Support GSL_CONFIGURE_WITH= gsl SCTP_CONFIGURE_WITH= sctp RTPSTREAM_CONFIGURE_WITH= rtpstream OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl GSL_LIB_DEPENDS= libgsl.so:math/gsl PCAP_FILES= dtmf_2833_0.pcap dtmf_2833_1.pcap dtmf_2833_2.pcap \ dtmf_2833_3.pcap dtmf_2833_4.pcap dtmf_2833_5.pcap \ dtmf_2833_6.pcap dtmf_2833_7.pcap dtmf_2833_8.pcap \ dtmf_2833_9.pcap dtmf_2833_pound.pcap dtmf_2833_star.pcap \ g711a.pcap PCAP_PLIST_FILES= ${PCAP_FILES:S|^|${DATADIR}/pcap/|} post-patch: @${REINPLACE_CMD} -e 's|[[:<:]]curses|ncurses|' ${WRKSRC}/configure.ac post-patch-PCAP-on: @${REINPLACE_CMD} \ 's|\(\\"\)\(pcap/[^"]*\.pcap\\"\)|\1${DATADIR}/\2|' \ ${WRKSRC}/src/scenario.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/include/sipp.1 ${STAGEDIR}${PREFIX}/man/man1 do-install-PCAP-on: ${MKDIR} ${STAGEDIR}${DATADIR}/pcap .for f in ${PCAP_FILES} ${INSTALL_DATA} ${WRKSRC}/pcap/${f} ${STAGEDIR}${DATADIR}/pcap/${f} .endfor .include Index: head/benchmarks/sipp/files/patch-configure.ac =================================================================== --- head/benchmarks/sipp/files/patch-configure.ac (nonexistent) +++ head/benchmarks/sipp/files/patch-configure.ac (revision 484277) @@ -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") Property changes on: head/benchmarks/sipp/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property