databases/mongodb50: Update to 5.0.9

ChangeLog: https://github.com/mongodb/mongo/releases/tag/r5.0.9

 * Remove limits on number of LDAP connections per host
 * Detect namespace changes when refreshing Collection after yielding
 * Sharding an empty collection releases the critical section too early
 * Mongos fails to attach RetryableWrite Error Label For Command Interrupted
   In _parseCommand
 * Fix search near returning wrong key/value sometimes when key doesn't exist

PR:	264341
Reported by:	ulassayginim@gmail.com
MFH:	2022Q2 (many bugfixes)

(cherry picked from commit af13f94fea)
This commit is contained in:
Ronald Klop 2022-06-12 18:36:28 +02:00 committed by Fernando Apesteguía
parent 51406dd587
commit c43878c132
2 changed files with 16 additions and 15 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= mongodb
DISTVERSIONPREFIX= r
DISTVERSION= 5.0.6
DISTVERSION= 5.0.9
CATEGORIES= databases net
MASTER_SITES= https://fastdl.mongodb.org/src/ \
http://fastdl.mongodb.org/src/
@ -33,16 +33,6 @@ USE_RC_SUBR= mongod
SHEBANG_FILES= buildscripts/scons.py
python_OLD_CMD= @python_interpreter@
CONFLICTS_INSTALL= mongodb36 mongodb4[024]
USERS= mongodb
GROUPS= mongodb
OPTIONS_DEFINE= LTO SASL SSL
OPTIONS_DEFAULT= LTO SASL SSL
OPTIONS_EXCLUDE_aarch64= ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
OPTIONS_EXCLUDE_aarch64_14= LTO # Does not work with llvm12/llvm13 on aarch64.
MAKE_ARGS= --cxx-std=17 \
--disable-warnings-as-errors \
--libc++ \
@ -54,6 +44,16 @@ MAKE_ARGS= --cxx-std=17 \
AR=${PREFIX}/bin/ar \
VERBOSE=on
CONFLICTS_INSTALL= mongodb36 mongodb4[024]
USERS= mongodb
GROUPS= mongodb
OPTIONS_DEFINE= LTO SASL SSL
OPTIONS_DEFAULT= LTO SASL SSL
OPTIONS_EXCLUDE_aarch64= ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
OPTIONS_EXCLUDE_aarch64_14= LTO # Does not work with llvm12/llvm13 on aarch64.
LTO_MAKE_ARGS= --lto=on
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
@ -87,9 +87,10 @@ do-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
${INSTALL_DATA} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in LICENSE-Community.txt MPL-2 README THIRD-PARTY-NOTICES
${MV} ${STAGEDIR}${PREFIX}/${doc} ${STAGEDIR}${DOCSDIR}/
.endfor
${RM} ${STAGEDIR}${PREFIX}/bin/resmoke.py
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1643321310
SHA256 (mongodb-src-r5.0.6.tar.gz) = 9d514eef9093d383120aebe4469c8118a39f390afcd8cd9af2399076b27abb52
SIZE (mongodb-src-r5.0.6.tar.gz) = 56000348
TIMESTAMP = 1653908071
SHA256 (mongodb-src-r5.0.9.tar.gz) = 7914dc129b45802f0b5820ecdd392f085069d9d082f7cd7fb907fae8ff21bdda
SIZE (mongodb-src-r5.0.9.tar.gz) = 55962652