svn commit: r445347 - in head/net/asio: . files

Bernard Spil brnrd at FreeBSD.org
Sat Jul 8 22:25:29 UTC 2017


Author: brnrd
Date: Sat Jul  8 22:25:27 2017
New Revision: 445347
URL: https://svnweb.freebsd.org/changeset/ports/445347

Log:
  net\asio: Update to 1.10.6
  
   - Update to 1.10.6 (~boost 1.58)
   - Add patch fixing no-ssl3 build (OpenSSL 1.1, LibreSSL)
   - Add LICENSE_FILE (and silence warning)
  
  PR: 		219924
  Approved by:	maintainer time-out
  
  Sponsored by:	Essen DevSummit

Added:
  head/net/asio/files/patch-include_asio_ssl_impl_context.ipp   (contents, props changed)
Modified:
  head/net/asio/Makefile
  head/net/asio/distinfo

Modified: head/net/asio/Makefile
==============================================================================
--- head/net/asio/Makefile	Sat Jul  8 22:24:33 2017	(r445346)
+++ head/net/asio/Makefile	Sat Jul  8 22:25:27 2017	(r445347)
@@ -2,13 +2,14 @@
 # $FreeBSD$
 
 PORTNAME=	asio
-PORTVERSION=	1.10.4
-PORTREVISION=	3
+PORTVERSION=	1.10.6
 CATEGORIES=	net devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20(Stable)/
 
 MAINTAINER=	acm at FreeBSD.org
 COMMENT=	Cross-platform C++ library for network and low-level I/O programming
+
+LICENSE_FILE=	${WRKSRC}/LICENSE_1_0.txt
 
 RUN_DEPENDS=	${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs
 

Modified: head/net/asio/distinfo
==============================================================================
--- head/net/asio/distinfo	Sat Jul  8 22:24:33 2017	(r445346)
+++ head/net/asio/distinfo	Sat Jul  8 22:25:27 2017	(r445347)
@@ -1,2 +1,3 @@
-SHA256 (asio-1.10.4.tar.bz2) = 313b0d69bd5fd528a6748fec2f24c56ab143310302c903efe5f0728232b7b14a
-SIZE (asio-1.10.4.tar.bz2) = 1270594
+TIMESTAMP = 1497173194
+SHA256 (asio-1.10.6.tar.bz2) = e0d71c40a7b1f6c1334008fb279e7361b32a063e020efd21e40d9d8ff037195e
+SIZE (asio-1.10.6.tar.bz2) = 1266180

Added: head/net/asio/files/patch-include_asio_ssl_impl_context.ipp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/asio/files/patch-include_asio_ssl_impl_context.ipp	Sat Jul  8 22:25:27 2017	(r445347)
@@ -0,0 +1,26 @@
+--- include/asio/ssl/impl/context.ipp.orig	2015-03-23 20:28:30 UTC
++++ include/asio/ssl/impl/context.ipp
+@@ -88,7 +88,15 @@ context::context(context::method m)
+     handle_ = ::SSL_CTX_new(::SSLv2_server_method());
+     break;
+ #endif // defined(OPENSSL_NO_SSL2)
++#if defined(OPENSSL_NO_SSL3)
+   case context::sslv3:
++  case context::sslv3_client:
++  case context::sslv3_server:
++    asio::detail::throw_error(
++        asio::error::invalid_argument, "context");
++    break;
++#else // defined(OPENSSL_NO_SSL3)
++  case context::sslv3:
+     handle_ = ::SSL_CTX_new(::SSLv3_method());
+     break;
+   case context::sslv3_client:
+@@ -97,6 +105,7 @@ context::context(context::method m)
+   case context::sslv3_server:
+     handle_ = ::SSL_CTX_new(::SSLv3_server_method());
+     break;
++#endif // defined(OPENSSL_NO_SSL3)
+   case context::tlsv1:
+     handle_ = ::SSL_CTX_new(::TLSv1_method());
+     break;


More information about the svn-ports-all mailing list