Revert "Revert "gnu: mongodb: Update to 3.4.24 [security fixes].""

This reverts commit feff80cec3.

I was mistaken, there are still branches of mongodb which are still
licensed under the AGPL3
This commit is contained in:
Efraim Flashner 2021-03-11 23:23:00 +02:00
parent 6dda223631
commit 2f9132e2e0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 5 additions and 64 deletions

View file

@ -667,27 +667,24 @@ replacement for the code@{python-memcached} library.")
(define-public mongodb
(package
(name "mongodb")
(version "3.4.10")
(version "3.4.24")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/mongodb/mongo/archive/r"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0676lvkljj7a5hdhv78dbykqnqrj9lbn9799mi84b8vbnzsq961r"))
(base32 "0y1669sqj8wyf0y0njhxs4qhn1qzjhrs2h2qllya5samxrlrjhkg"))
(modules '((guix build utils)))
(snippet
'(begin
(for-each (lambda (dir)
(delete-file-recursively
(string-append "src/third_party/" dir)))
'("pcre-8.41" "scons-2.5.0" "snappy-1.1.3"
'("pcre-8.42" "scons-2.5.0" "snappy-1.1.3"
"valgrind-3.11.0" "wiredtiger"
"yaml-cpp-0.5.3" "zlib-1.2.8"))
#t))
(patches
(list
(search-patch "mongodb-support-unknown-linux-distributions.patch")))))
"yaml-cpp-0.6.2" "zlib-1.2.11"))
#t))))
(build-system scons-build-system)
(inputs
`(("openssl" ,openssl-1.0)