Subject: [alpine-aports] [PATCH] community/mongodb: upgrade to 4.0.1

From: Marc Vertes <[email-masked]>
Date: Tue, 14 Aug 2018 18:28:59 +0200

---
 community/mongodb/APKBUILD           |  6 ++----
 community/mongodb/fix-libressl.patch | 22 ----------------------
 2 files changed, 2 insertions(+), 26 deletions(-)
 delete mode 100644 community/mongodb/fix-libressl.patch

diff --git a/community/mongodb/APKBUILD b/community/mongodb/APKBUILD
index 8991064513..09ad50d9de 100644
--- a/community/mongodb/APKBUILD
+++ b/community/mongodb/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Marc Vertes <[email-masked]>
 # Contributor: Filipp Andronov <[email-masked]>
 pkgname=mongodb
-pkgver=4.0.0
+pkgver=4.0.1
 pkgrel=0
 pkgdesc='A high-performance, open source, schema-free document-oriented database'
 url='http://www.mongodb.org'
@@ -19,7 +19,6 @@ source="http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz
 	fix-backtrace.patch
 	fix-default-stacksize.patch
 	fix-elf-native-class.patch
-	fix-libressl.patch
 	fix-processinfo_linux.patch
 	fix-resolv.patch
 	fix-strerror_r.patch
@@ -84,11 +83,10 @@ package() {
 	install -Dm644 "$srcdir/mongos.confd" "$pkgdir/etc/conf.d/mongos"
 }
 
-sha512sums="11d00cdde606cfea268471cffccedb6d003e421aeffda2303aff4d4126c386aaec50a1de733d7a1d5fb6605403cf9f2218dae50374c7b5e8625fa80317804589  mongodb-src-r4.0.0.tar.gz
+sha512sums="cfb0ec3227d976999f366ca15ddaa9379f90433dbd02bd16d001f0a7f986e84df697cbbd43674988b5d41a0b85445dcd0c4717cb406e05c1fbcd544088c859ea  mongodb-src-r4.0.1.tar.gz
 05c4331d028eb396e6cf52d96cdaa2af7199a03522e1a8211df2d36cb053ec093a51e9abf83c4dc00c09a0b1fa119a79bcc719fbc81a48f50ca1527c26613cf0  fix-backtrace.patch
 1492137b0e3456d90a79617c1cd5ead5c71b1cfaae9ee41c75d56cd25f404ec73a690f95ce0d8c064c0a14206daca8070aa769b7cdfa904a338a425b52c293fa  fix-default-stacksize.patch
 56db8f43afc94713ac65b174189e2dd903b5e1eff0b65f1bdac159e52ad4de6606c449865d73bd47bffad6a8fc339777e2b11395596e9a476867d94a219c7925  fix-elf-native-class.patch
-9ade791a577a6291ea5031056f9aa1470fafb865e33f988e2d79e1493756a493f0d181f66e410d4b6763ca48909ff837f7b13bf887cc85889b14ce8e553f1d5d  fix-libressl.patch
 4b72d659eb6cf8c5b303bd91fe28d4cebeefda97be5b93df12a3e265283b4057ff299e14763a0b9f4b6eaae8da1725af35038b3aba578c66dd950f1703c28d42  fix-processinfo_linux.patch
 aac12cffc452f1dc365c65944a015476c2011b0975144879d28938c690fe6e77b6bd672e040b4c04c02cb002224e24d6f13adb083324f424ef4cdb79a3a71f6b  fix-resolv.patch
 92cf2c55c68b975408ed2f7fde65da6b238b617dfaa0737a1c51ce19344dba11dd96c0a99f7671c1b7464f5114b3e820a32a25b1600d1c8217262b60fe0364ea  fix-strerror_r.patch
diff --git a/community/mongodb/fix-libressl.patch b/community/mongodb/fix-libressl.patch
deleted file mode 100644
index 983238b856..0000000000
--- a/community/mongodb/fix-libressl.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- mongodb-src-r4.0.0/src/mongo/util/net/ssl_manager_openssl.cpp.orig
-+++ mongodb-src-r4.0.0/src/mongo/util/net/ssl_manager_openssl.cpp
-@@ -169,7 +169,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.
---- mongodb-src-r4.0.0/src/mongo/crypto/sha_block_openssl.cpp.orig
-+++ mongodb-src-r4.0.0/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.
-- 
2.18.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---