Index: head/www/httest/Makefile =================================================================== --- head/www/httest/Makefile (revision 421896) +++ head/www/httest/Makefile (revision 421897) @@ -1,46 +1,46 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= httest PORTVERSION= 2.4.16 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/htt/htt${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= HTTP Test Tool LICENSE= APACHE20 LIB_DEPENDS= libexpat.so:textproc/expat2 \ libgdbm.so:databases/gdbm \ libpcre.so:devel/pcre \ libapr-1.so:devel/apr1 OPTIONS_DEFINE= EXAMPLES CONFIGURE_ARGS= --enable-lua-module \ --with-apr="${LOCALBASE}/bin" \ --with-apr-util="${LOCALBASE}/bin" \ --with-lua="${LUA_LIBDIR}" \ --with-pcre="${LOCALBASE}/bin" \ --with-ssl="${OPENSSLLIB}" CPPFLAGS+= -I${LUA_INCDIR} GNU_CONFIGURE= yes -USES= iconv lua libtool bdb +USES= iconv lua libtool bdb ssl USE_OPENSSL= yes USE_LDCONFIG= yes PORTEXAMPLES= * INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||; s|-llua|-llua-${LUA_VER}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.htt ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/httest/files/patch-src_ssl__module.c =================================================================== --- head/www/httest/files/patch-src_ssl__module.c (nonexistent) +++ head/www/httest/files/patch-src_ssl__module.c (revision 421897) @@ -0,0 +1,46 @@ +--- src/ssl_module.c.orig 2015-03-16 15:46:05 UTC ++++ src/ssl_module.c +@@ -349,7 +349,7 @@ static void ssl_message_trace(int write_ + case DTLS1_VERSION: + str_version = "DTLS 1.0"; + break; +-#if (OPENSSL_VERSION_NUMBER >= 0x1000100fL) ++#if OPENSSL_VERSION_NUMBER >= 0x1000100fL && defined(DTLS1_BAD_VER) + case DTLS1_BAD_VER: + str_version = "DTLS 1.0 (bad)"; + break; +@@ -421,7 +421,7 @@ static void ssl_message_trace(int write_ + version == TLS1_1_VERSION || + #endif + version == DTLS1_VERSION +-#if (OPENSSL_VERSION_NUMBER >= 0x1000100fL) ++#if OPENSSL_VERSION_NUMBER >= 0x1000100fL && defined(DTLS1_BAD_VER) + || version == DTLS1_BAD_VER + #endif + ) { +@@ -740,10 +740,12 @@ static int worker_set_client_method(work + config->meth = SSLv2_client_method(); + } + #endif ++#ifndef OPENSSL_NO_SSL3 + else if (strcasecmp(sslstr, "SSL3") == 0) { + is_ssl = 1; + config->meth = SSLv3_client_method(); + } ++#endif + else if (strcasecmp(sslstr, "TLS1") == 0) { + is_ssl = 1; + config->meth = TLSv1_client_method(); +@@ -787,10 +789,12 @@ static int worker_set_server_method(work + config->meth = SSLv2_server_method(); + } + #endif ++#ifndef OPENSSL_NO_SSL3 + else if (strcasecmp(sslstr, "SSL3") == 0) { + is_ssl = 1; + config->meth = SSLv3_server_method(); + } ++#endif + else if (strcasecmp(sslstr, "TLS1") == 0) { + is_ssl = 1; + config->meth = TLSv1_server_method(); Property changes on: head/www/httest/files/patch-src_ssl__module.c ___________________________________________________________________ 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