Commit b17e7ca8 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Pin cryptography to 36.0.2 to avoid build failures with new OpenSSL

parent ae4539ad
......@@ -34,6 +34,7 @@ all: mongodb-service
tar xf mongodb-src-r4.2.8.tar.gz
patch -Np1 -d mongodb-src-r4.2.8 < mongodb-src-r4.2.8-no_debug.patch
patch -Np1 -d mongodb-src-r4.2.8 < mongodb-src-r4.2.8-cstdlib.patch
patch -Np1 -d mongodb-src-r4.2.8 < mongodb-src-r4.2.8-pin_cryptography.patch
mkdir mongo-home
cd mongodb-src-r4.2.8 && HOME=$(CURDIR)/mongo-home pip3 install -r buildscripts/requirements.txt
cd mongodb-src-r4.2.8 && scons all --release --opt=on --disable-warnings-as-errors MONGO_VERSION=4.2.8 -j 1
......
diff -uNr mongodb-src-r4.2.8/etc/pip/components/external_auth.req mongodb-src-r4.2.8-pin_cryptography/etc/pip/components/external_auth.req
--- mongodb-src-r4.2.8/etc/pip/components/external_auth.req 2020-06-09 11:21:32.000000000 +0930
+++ mongodb-src-r4.2.8-pin_cryptography/etc/pip/components/external_auth.req 2022-11-06 09:59:33.273724687 +1030
@@ -1,6 +1,7 @@
# These are the dependencies of ldaptor
passlib == 1.7.1
pyOpenSSL == 19.0.0
+cryptography == 36.0.2
pyparsing == 2.4.0
service_identity == 18.1.0
twisted == 19.2.1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment