aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb/libressl.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2018-04-16 06:32:17 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2018-04-16 06:45:42 +0000
commitfec51d2769e184e13be695f53829dbf055091f2c (patch)
treee3f53ee3f16183cfa6d3f3913fbaf9b39b9ce22f /community/mongodb/libressl.patch
parent63aebc56fc52353039a6992bcf3dcef5dd2c6883 (diff)
downloadaports-fec51d2769e184e13be695f53829dbf055091f2c.tar.bz2
aports-fec51d2769e184e13be695f53829dbf055091f2c.tar.xz
community/mongodb: upgrade to 3.6.4
- rebuild against new libressl - remove libressl checks as of https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt this should be converted to a version check and send upstream - disable tests because of 35GB+ disk usage - it seems that tests fail because of missing headers due to test build is build without local libs.
Diffstat (limited to 'community/mongodb/libressl.patch')
-rw-r--r--community/mongodb/libressl.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/mongodb/libressl.patch b/community/mongodb/libressl.patch
new file mode 100644
index 0000000000..e6cecebb45
--- /dev/null
+++ b/community/mongodb/libressl.patch
@@ -0,0 +1,22 @@
+--- ./src/mongo/crypto/sha_block_openssl.cpp.orig
++++ ./src/mongo/crypto/sha_block_openssl.cpp
+@@ -44,7 +44,7 @@
+ #include <openssl/hmac.h>
+ #include <openssl/sha.h>
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ namespace {
+ // Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must
+ // polyfill used definitions to interact with older OpenSSL versions.
+--- ./src/mongo/util/net/ssl_manager.cpp.orig
++++ ./src/mongo/util/net/ssl_manager.cpp
+@@ -237,7 +237,7 @@
+ #endif // MONGO_CONFIG_NEEDS_ASN1_ANY_DEFINITIONS
+ // clang-format on
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ // Copies of OpenSSL after 1.1.0 define new functions for interaction with
+ // X509 structure. We must polyfill used definitions to interact with older
+ // OpenSSL versions.