mongodb: update to 3.2.5.

This commit is contained in:
Enno Boland 2016-04-28 08:44:34 +02:00
parent 545c7fffdb
commit 088c6d033c
2 changed files with 3 additions and 54 deletions

View File

@ -1,51 +0,0 @@
--- ./src/third_party/boost-1.56.0/boost/asio/ssl/impl/context.ipp.orig 2016-03-30 12:59:18.922289572 +0200
+++ ./src/third_party/boost-1.56.0/boost/asio/ssl/impl/context.ipp 2016-03-30 13:01:04.776294357 +0200
@@ -89,6 +89,14 @@
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:
+ boost::asio::detail::throw_error(
+ boost::asio::error::invalid_argument, "context");
+ break;
+#else // defined(OPENSSL_NO_SSL3)
case context::sslv3:
handle_ = ::SSL_CTX_new(::SSLv3_method());
break;
@@ -98,6 +106,7 @@
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;
--- ./src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp.orig 2016-03-31 22:11:13.174064858 +0200
+++ ./src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp 2016-03-31 22:12:35.459058700 +0200
@@ -84,6 +84,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_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;
@@ -93,6 +101,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;

View File

@ -1,7 +1,7 @@
# Template file for 'mongodb'
pkgname=mongodb
version=3.2.4
revision=8
version=3.2.5
revision=1
hostmakedepends="scons"
makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel
gperftools-devel libsasl-devel yaml-cpp-devel valgrind-devel"
@ -13,7 +13,7 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.mongodb.org"
license="AGPL-3"
distfiles="http://downloads.mongodb.org/src/mongodb-src-r${version}.tar.gz"
checksum=b60743cc641de975c38e6e69ebbef60059ee9fe176cdd98bfab8d5c844dab42c
checksum=e99e00ee243945309c1a779bd3bc73d4fdf09ece900b14b5fa429e02142d1385
make_dirs="
/var/lib/mongodb 0700 mongodb mongodb
/var/log/mongodb 0750 mongodb mongodb"