aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-06 09:00:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:15 +0000
commit97e653e3e3b23887c3713c939173dda287924e39 (patch)
treeda725eb821c13494c240c28a95425d7d2920647c
parent6b09c7ad258b3d004d6255f5b0c9070ebbf25c8c (diff)
downloadaports-97e653e3e3b23887c3713c939173dda287924e39.tar.bz2
aports-97e653e3e3b23887c3713c939173dda287924e39.tar.xz
community/mongodb: rebuild against openssl 1.1
-rw-r--r--community/mongodb/APKBUILD6
-rw-r--r--community/mongodb/openssl-1.1.patch13
2 files changed, 17 insertions, 2 deletions
diff --git a/community/mongodb/APKBUILD b/community/mongodb/APKBUILD
index 49460901c9..da5081b327 100644
--- a/community/mongodb/APKBUILD
+++ b/community/mongodb/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Filipp Andronov <filipp.andronov@gmail.com>
pkgname=mongodb
pkgver=4.0.3
-pkgrel=0
+pkgrel=1
pkgdesc='A high-performance, open source, schema-free document-oriented database'
url='http://www.mongodb.org'
arch='x86_64 ppc64le'
@@ -11,7 +11,7 @@ license='AGPL3'
pkgusers="mongodb"
pkggroups="mongodb"
makedepends="scons py-setuptools py2-cheetah py2-typing py2-yaml paxmark
- libressl-dev pcre-dev snappy-dev boost-dev asio-dev libpcap-dev
+ openssl-dev pcre-dev snappy-dev boost-dev asio-dev libpcap-dev
snowball-dev zlib-dev cyrus-sasl-dev yaml-cpp-dev curl-dev"
install="$pkgname.pre-install"
source="http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz
@@ -22,6 +22,7 @@ source="http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz
fix-resolv.patch
fix-strerror_r.patch
wiredtiger.patch
+ openssl-1.1.patch
mongodb.confd
mongodb.initd
@@ -90,6 +91,7 @@ sha512sums="c77a01d8d16322514f42030c46a0aa9cedb90f186375222eeb31648060265006b5e9
aac12cffc452f1dc365c65944a015476c2011b0975144879d28938c690fe6e77b6bd672e040b4c04c02cb002224e24d6f13adb083324f424ef4cdb79a3a71f6b fix-resolv.patch
92cf2c55c68b975408ed2f7fde65da6b238b617dfaa0737a1c51ce19344dba11dd96c0a99f7671c1b7464f5114b3e820a32a25b1600d1c8217262b60fe0364ea fix-strerror_r.patch
ecbe6cb579b33dd4888096712f150772db06fd38219ca2a7679b1dc1ee73b0c3f5ee498af12ecd0265b5231a9fe6b7c12b2c1d606ed04caa6aa00c3ad3fe925a wiredtiger.patch
+687190608feecd28b3ff7ac349bfb8a99dfbb7370cda7218ed42754eef19d5375b4442d45a3d560e8d7f59bdcf5735e0b7295dd2266111d6beb187876e8a46e0 openssl-1.1.patch
9bcd870742c31bf25f34188ddc3c414de1103e9860dea9f54eee276b89bc2cf1226abab1749c5cda6a6fb0880e541373754e5e83d63cc7189d4b9c274fd555c3 mongodb.confd
74009794d566dd9d70ec93ffd95c830ee4696165574ecf87398165637fb40799b38d182ef54c50fd0772d589be94ade7f7a49247f3d31c1f012cb4e44cc9f5df mongodb.initd
8c089b1a11f494e4148fb4646265964c925bf937633a65e395ee1361d42facf837871dd493a9a2e0f480ae0e0829dbd3ed60794c5334e2716332e131fc5c2c51 mongodb.logrotate
diff --git a/community/mongodb/openssl-1.1.patch b/community/mongodb/openssl-1.1.patch
new file mode 100644
index 0000000000..d75fe8c8a2
--- /dev/null
+++ b/community/mongodb/openssl-1.1.patch
@@ -0,0 +1,13 @@
+diff --git a/src/mongo/util/net/ssl_manager_openssl.cpp b/src/mongo/util/net/ssl_manager_openssl.cpp
+index 333b149..78be552 100644
+--- a/src/mongo/util/net/ssl_manager_openssl.cpp
++++ b/src/mongo/util/net/ssl_manager_openssl.cpp
+@@ -1263,7 +1263,7 @@ void recordTLSVersion(const SSL* conn) {
+ break;
+ #ifdef TLS1_3_VERSION
+ case TLS1_3_VERSION:
+- counts.tls13.addAndFetch(1);
++// counts.tls13.addAndFetch(1);
+ break;
+ #endif
+ default: