View | Details | Raw Unified | Return to bug 219924 | Differences between
and this patch

Collapse All | Expand All

(-)net/asio/Makefile (-2 / +3 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	asio
4
PORTNAME=	asio
5
PORTVERSION=	1.10.4
5
PORTVERSION=	1.10.6
6
PORTREVISION=	3
7
CATEGORIES=	net devel
6
CATEGORIES=	net devel
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20(Stable)/
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20(Stable)/
9
8
Lines 10-15 Link Here
10
MAINTAINER=	acm@FreeBSD.org
9
MAINTAINER=	acm@FreeBSD.org
11
COMMENT=	Cross-platform C++ library for network and low-level I/O programming
10
COMMENT=	Cross-platform C++ library for network and low-level I/O programming
12
11
12
LICENSE_FILE=	${WRKSRC}/LICENSE_1_0.txt
13
13
RUN_DEPENDS=	${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs
14
RUN_DEPENDS=	${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs
14
15
15
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
(-)net/asio/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (asio-1.10.4.tar.bz2) = 313b0d69bd5fd528a6748fec2f24c56ab143310302c903efe5f0728232b7b14a
1
TIMESTAMP = 1497173194
2
SIZE (asio-1.10.4.tar.bz2) = 1270594
2
SHA256 (asio-1.10.6.tar.bz2) = e0d71c40a7b1f6c1334008fb279e7361b32a063e020efd21e40d9d8ff037195e
3
SIZE (asio-1.10.6.tar.bz2) = 1266180
(-)net/asio/files/patch-include_asio_ssl_impl_context.ipp (+26 lines)
Line 0 Link Here
1
--- include/asio/ssl/impl/context.ipp.orig	2015-03-23 20:28:30 UTC
2
+++ include/asio/ssl/impl/context.ipp
3
@@ -88,7 +88,15 @@ context::context(context::method m)
4
     handle_ = ::SSL_CTX_new(::SSLv2_server_method());
5
     break;
6
 #endif // defined(OPENSSL_NO_SSL2)
7
+#if defined(OPENSSL_NO_SSL3)
8
   case context::sslv3:
9
+  case context::sslv3_client:
10
+  case context::sslv3_server:
11
+    asio::detail::throw_error(
12
+        asio::error::invalid_argument, "context");
13
+    break;
14
+#else // defined(OPENSSL_NO_SSL3)
15
+  case context::sslv3:
16
     handle_ = ::SSL_CTX_new(::SSLv3_method());
17
     break;
18
   case context::sslv3_client:
19
@@ -97,6 +105,7 @@ context::context(context::method m)
20
   case context::sslv3_server:
21
     handle_ = ::SSL_CTX_new(::SSLv3_server_method());
22
     break;
23
+#endif // defined(OPENSSL_NO_SSL3)
24
   case context::tlsv1:
25
     handle_ = ::SSL_CTX_new(::TLSv1_method());
26
     break;

Return to bug 219924