Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2015 18:28:56 +0000 (UTC)
From:      Bartek Rutkowski <robak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383166 - in head/security/sslwrap: . files
Message-ID:  <201504031828.t33ISuhp009697@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504031828.t33ISuhp009697>