From 007a61529b4b2088ac2933fbf23cc87a70b73c23 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Wed, 23 Jul 2003 16:58:28 +0000 Subject: [PATCH] Unbreak: Update s_server.c by the following instruction from the openssl changelog *) New option SSL_OP_CIPHER_SERVER_PREFERENCE allows the server to override the clients preferred ciphersuites and rather use its own preferences. Should help to work around M$ SGC (Server Gated Cryptography) bug in Internet Explorer by ensuring unchanged hash method during stepup. (Also replaces the broken/deactivated SSL_OP_NON_EXPORT_FIRST option.) [Lutz Jaenicke] PR: 54280 Submitted by: Gea-Suan Lin --- security/sslwrap/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/security/sslwrap/Makefile b/security/sslwrap/Makefile index 863a84b9a6b3..dc7ae698189f 100644 --- a/security/sslwrap/Makefile +++ b/security/sslwrap/Makefile @@ -14,12 +14,14 @@ DISTNAME= ${PORTNAME} MAINTAINER= ZGabor@CoDe.HU COMMENT= Another SSL Wrapper application, which uses SSLEay/OpenSSL -BROKEN= "Does not compile" - USE_OPENSSL= YES +USE_REINPLACE= YES WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g} +post-patch: + ${REINPLACE_CMD} -e 's/SSL_OP_NON_EXPORT_FIRST/SSL_OP_CIPHER_SERVER_PREFERENCE/g' ${WRKSRC}/s_server.c + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap .if !defined(NOPORTDOCS)