Date: Wed, 31 Jan 2018 04:43:28 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460459 - in head/net/asio: . files Message-ID: <201801310443.w0V4hSgo040330@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Wed Jan 31 04:43:28 2018 New Revision: 460459 URL: https://svnweb.freebsd.org/changeset/ports/460459 Log: net/asio: Added NO_ARCH=yes; Removed USES=gmake; Regenerated patches; Sorted the USES section PR: 224578 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13805 Modified: head/net/asio/Makefile head/net/asio/files/patch-configure head/net/asio/files/patch-include_asio_ssl_impl_context.ipp Modified: head/net/asio/Makefile ============================================================================== --- head/net/asio/Makefile Wed Jan 31 04:39:23 2018 (r460458) +++ head/net/asio/Makefile Wed Jan 31 04:43:28 2018 (r460459) @@ -15,9 +15,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt RUN_DEPENDS= ${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs +USES= tar:bz2 GNU_CONFIGURE= yes -USES= gmake tar:bz2 NO_BUILD= yes +NO_ARCH= yes INSTALL_TARGET= install-data .include <bsd.port.mk> Modified: head/net/asio/files/patch-configure ============================================================================== --- head/net/asio/files/patch-configure Wed Jan 31 04:39:23 2018 (r460458) +++ head/net/asio/files/patch-configure Wed Jan 31 04:43:28 2018 (r460459) @@ -1,9 +1,11 @@ Since we aren't compiling anything for the port, don't look for boost: ---- configure 2014-10-01 20:10:53.000000000 -0400 -+++ configure 2014-11-30 12:32:04.000000000 -0500 -@@ -5026,5 +5026,4 @@ +--- configure.orig 2015-03-23 20:37:48 UTC ++++ configure +@@ -5025,7 +5025,6 @@ else + echo "Can't find boost headers. Please check the location of the boost" echo "distribution and rerun configure using the --with-boost=DIR option." - exit 1 fi + Modified: head/net/asio/files/patch-include_asio_ssl_impl_context.ipp ============================================================================== --- head/net/asio/files/patch-include_asio_ssl_impl_context.ipp Wed Jan 31 04:39:23 2018 (r460458) +++ head/net/asio/files/patch-include_asio_ssl_impl_context.ipp Wed Jan 31 04:43:28 2018 (r460459) @@ -1,21 +1,20 @@ --- 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) +@@ -88,6 +88,14 @@ 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: + 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: + 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());
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801310443.w0V4hSgo040330>