aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-07-24 00:58:28 +0800
committerarved <arved@FreeBSD.org>2003-07-24 00:58:28 +0800
commit05f230a40c9f8540a4304641b1f6e2183da7a044 (patch)
tree008280d79c7d3fb2014d7fd3ac28e89a867a4837
parentec80b4f0184e1dd1994311d84713da3b08754c58 (diff)
downloadfreebsd-ports-gnome-05f230a40c9f8540a4304641b1f6e2183da7a044.tar.gz
freebsd-ports-gnome-05f230a40c9f8540a4304641b1f6e2183da7a044.tar.zst
freebsd-ports-gnome-05f230a40c9f8540a4304641b1f6e2183da7a044.zip
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 <gslin@netnews.NCTU.edu.tw>
-rw-r--r--security/sslwrap/Makefile6
1 files 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)