FreeBSD Bugzilla – Attachment 194957 Details for
Bug 229608
databases/mongodb36: Fix build for LibreSSL 2.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for mongodb 3.6 to allow building with LibreSSL 2.7
mongodb-libressl-2.7.diff (text/plain), 2.62 KB, created by
Michael Gmelin
on 2018-07-08 18:15:03 UTC
(
hide
)
Description:
Patch for mongodb 3.6 to allow building with LibreSSL 2.7
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2018-07-08 18:15:03 UTC
Size:
2.62 KB
patch
obsolete
>Index: databases/mongodb36/files/patch-src-mongo-crypto-sha_block_openssl.cpp >=================================================================== >--- databases/mongodb36/files/patch-src-mongo-crypto-sha_block_openssl.cpp (nonexistent) >+++ databases/mongodb36/files/patch-src-mongo-crypto-sha_block_openssl.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/mongo/crypto/sha_block_openssl.cpp.orig 2018-07-08 16:42:41.034894000 +0000 >++++ src/mongo/crypto/sha_block_openssl.cpp 2018-07-08 16:42:58.121846000 +0000 >+@@ -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 || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) >+ namespace { >+ // Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must >+ // polyfill used definitions to interact with older OpenSSL versions. > >Property changes on: databases/mongodb36/files/patch-src-mongo-crypto-sha_block_openssl.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: databases/mongodb36/files/patch-src-mongo-util-net-ssl_manager.cpp >=================================================================== >--- databases/mongodb36/files/patch-src-mongo-util-net-ssl_manager.cpp (nonexistent) >+++ databases/mongodb36/files/patch-src-mongo-util-net-ssl_manager.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/mongo/util/net/ssl_manager.cpp.orig 2018-07-08 16:33:48.347433000 +0000 >++++ src/mongo/util/net/ssl_manager.cpp 2018-07-08 16:34:49.098494000 +0000 >+@@ -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 || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) >+ // 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. > >Property changes on: databases/mongodb36/files/patch-src-mongo-util-net-ssl_manager.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229608
: 194957