svn commit: r383166 - in head/security/sslwrap: . files

Bartek Rutkowski robak at FreeBSD.org
Fri Apr 3 18:28:56 UTC 2015


Author: robak
Date: Fri Apr  3 18:28:55 2015
New Revision: 383166
URL: https://svnweb.freebsd.org/changeset/ports/383166

Log:
  security/sslwrap: fix build with OpenSSL libs without SSLv2
  
  PR:		198400
  Submitted by:	Bernard Spil <spil.oss at gmail.com>

Added:
  head/security/sslwrap/files/patch-s_server.c   (contents, props changed)
Modified:
  head/security/sslwrap/Makefile

Modified: head/security/sslwrap/Makefile
==============================================================================
--- head/security/sslwrap/Makefile	Fri Apr  3 18:00:58 2015	(r383165)
+++ head/security/sslwrap/Makefile	Fri Apr  3 18:28:55 2015	(r383166)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sslwrap
 PORTVERSION=	2.0.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://www.rickk.com/sslwrap/
 DISTNAME=	${PORTNAME}

Added: head/security/sslwrap/files/patch-s_server.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/sslwrap/files/patch-s_server.c	Fri Apr  3 18:28:55 2015	(r383166)
@@ -0,0 +1,15 @@
+--- s_server.c.orig	2000-11-11 22:11:18 UTC
++++ s_server.c
+@@ -137,6 +137,12 @@ static RSA MS_CALLBACK *tmp_rsa_cb(SSL *
+ , int keylen
+ #endif
+ );
++#if defined(OPENSSL_NO_SSL2)
++#define NO_SSL2
++#endif
++#if defined(OPENSSL_NO_SSL3)
++#define NO_SSL3
++#endif
+ static int sv_body(char *hostname, int sin, int sout);
+ static void close_accept_socket(void );
+ static void sv_usage(void);


More information about the svn-ports-head mailing list