summaryrefslogtreecommitdiff
path: root/dev-db/mongodb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-26 00:09:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-26 00:09:36 +0100
commitb1c81de4fadbd00897700a7321f03b390d952b2e (patch)
treee6cc812351d4f105c110cfc363ebb497e996f47a /dev-db/mongodb
parent7c59acba5699c9c58090a7a738669669a7307023 (diff)
gentoo resync : 26.08.2021
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r--dev-db/mongodb/Manifest2
-rw-r--r--dev-db/mongodb/mongodb-5.0.2.ebuild10
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 2f0a22fadb8b..c843c765c029 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -31,5 +31,5 @@ EBUILD mongodb-4.2.15.ebuild 4810 BLAKE2B c32040a0155d97f35446402043c3c15654aa17
EBUILD mongodb-4.4.1.ebuild 4856 BLAKE2B 86aa185d44eea9397c191fe48a72d707e5b24bda578080524abc84ade90ebd6cca161f520263cf86b34e39c72ee57a4f96864876d3cf872d7e7c1e94208c7607 SHA512 698c382d279ca85f9d9bd8e1c03af4989967dbb1ca13f4fe90d1f73004b54f07736cafe46dc8bd34a43177131e7d150cde60ffbc6f5f7c36c1b1ed53999eaa90
EBUILD mongodb-4.4.4.ebuild 4818 BLAKE2B 139a4f6c196058bb13ba154fa98ed4a9890be26a9747ba7b14aceaaf58761d36a34a745fe3a5c77fcbb0856c0ff2f55c71d44c8cdd9b08f894906eb0442e2c70 SHA512 8c371b107f92c294d790c6de5222200017c461a098fda3a4cfcc473595e7dfc0527de4d1b4fb02365bc5dc5cb38f52c14df5affc399b2fb7bb7b4b39d8a0fb07
EBUILD mongodb-4.4.8.ebuild 4862 BLAKE2B c5364688ce530b2e919664228fcd95a37db59e1a3a97cc48972bf2ae1d60dc2481f558b81a405df57c7592bd1a7bdf1beb2ff1a94f87128ee6097e4a438d49a7 SHA512 99ff43345917359f9e990b1fa486c65e8da0be463a97be3e615a1dffd94fc8bdba2b682c3d03d61a893fc6ec2ba0189bec38bf925dad211e53aaa2ccf5b2e523
-EBUILD mongodb-5.0.2.ebuild 4646 BLAKE2B 20eb39c2b8b13329efde1ba59a561a0870bca092510743c61d0b8506e1cf5065a5ccdffa892b1beba2efcd095a3a81896261d42f4e173ffce63602e6ff36d3f5 SHA512 57017e246575c6439a8e673b8b2f3b3cdbaedf596d90a55419931ba10e5a8c7b6922e51462974b46d52dfcfc1a31de96d94f905e340bfe6af47685bbfe3b8846
+EBUILD mongodb-5.0.2.ebuild 4908 BLAKE2B fa1e5caa705c1b45c9dcb5310c0d840377ff85da976e087e2743590dd0703082166d6cf9f81c7ebc5a90910dba173260991c1aa014b3d394b29bd8f9aa400353 SHA512 60ac73ed0b375bdf34dc7e4801b6700d0590edaea7c707486dc6530e22514a60b45368574ba446862a809ee164b62dd6a27b4acea0000ab35f44170596cd002e
MISC metadata.xml 918 BLAKE2B f231cb9173bc38f2f8e7902a05681f6d852f4c11ef33c9c64d7bfab58f52b0d79b7e9c4ad62e352d6fae6c214081946afdc1bae173c11f1315cdd0a74ec6c238 SHA512 507c50c7b1bea2ffd54e42181e54077ab2164c4fed081bc78a9aa13273faab1b2175b72ae44e2ae9743a81ac2f5b5013f200a41bc605f39ff3c297913ca0d79f
diff --git a/dev-db/mongodb/mongodb-5.0.2.ebuild b/dev-db/mongodb/mongodb-5.0.2.ebuild
index 03eb379258b4..a2ee4340b7f1 100644
--- a/dev-db/mongodb/mongodb-5.0.2.ebuild
+++ b/dev-db/mongodb/mongodb-5.0.2.ebuild
@@ -21,7 +21,8 @@ SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 -riscv"
-IUSE="debug kerberos lto mongosh ssl +tools"
+CPU_FLAGS="cpu_flags_x86_avx"
+IUSE="debug kerberos lto mongosh ssl +tools ${CPU_FLAGS}"
# https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server
# resmoke needs python packages not yet present in Gentoo
@@ -77,6 +78,13 @@ python_check_deps() {
}
pkg_pretend() {
+ # Bug 809692
+ if ! use cpu_flags_x86_avx; then
+ eerror "MongoDB 5.0 requires use of the AVX instruction set"
+ eerror "https://docs.mongodb.com/v5.0/administration/production-notes/"
+ die "MongoDB requires AVX"
+ fi
+
if [[ -n ${REPLACING_VERSIONS} ]]; then
if ver_test "$REPLACING_VERSIONS" -lt 4.4; then
ewarn "To upgrade from a version earlier than the 4.4-series, you must"