git: c43878c1321f - 2022Q2 - databases/mongodb50: Update to 5.0.9

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 05:38:19 UTC
The branch 2022Q2 has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c43878c1321f71b704e590347408ac1b749994c8

commit c43878c1321f71b704e590347408ac1b749994c8
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2022-06-12 16:36:28 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-06-17 05:35:19 +0000

    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 af13f94fea8c1df77c5a6451375c6f1afb91a6e5)
---
 databases/mongodb50/Makefile | 25 +++++++++++++------------
 databases/mongodb50/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/databases/mongodb50/Makefile b/databases/mongodb50/Makefile
index 7ae3f2b9fe79..349b57e1864f 100644
--- a/databases/mongodb50/Makefile
+++ b/databases/mongodb50/Makefile
@@ -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>
diff --git a/databases/mongodb50/distinfo b/databases/mongodb50/distinfo
index d5254a5af227..c6c7210f2a18 100644
--- a/databases/mongodb50/distinfo
+++ b/databases/mongodb50/distinfo
@@ -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