git: cb83106ca20b - main - databases/mongodb50: update to 5.0.16

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Sun, 16 Apr 2023 22:20:53 UTC
The branch main has been updated by ronald:

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

commit cb83106ca20b3365b91c1d08589a24ba68938ed9
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2023-04-16 22:17:45 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2023-04-16 22:17:45 +0000

    databases/mongodb50: update to 5.0.16
    
    changelog:
    https://www.mongodb.com/docs/manual/release-notes/5.0/
    
    Please read the release notes: Some past releases have critical issues.
    
    Followed an upstream chagne in mongod.conf about removal of 2 settings. See UPDATING.
---
 UPDATING                                        | 9 +++++++++
 databases/mongodb50/Makefile                    | 3 +--
 databases/mongodb50/distinfo                    | 6 +++---
 databases/mongodb50/files/patch-rpm_mongod.conf | 9 ---------
 4 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/UPDATING b/UPDATING
index b6b15766101e..a7b253d0e086 100644
--- a/UPDATING
+++ b/UPDATING
@@ -4,6 +4,15 @@ they are unavoidable.
 
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
+ 
+20230416:
+  AFFECTS: users of databases/mongodb50
+  AUTHOR: ronald@FreeBSD.org
+
+  MongoDB removed the settings 'fork' and 'pidFilePath' from the default
+  etc/mongodb.conf file.
+  This does not affect mongod started by etc/rc.d/mongod as the settings are
+  passed as arguments. Please verify custom uses of mongod.
 
 20230414:
   AFFECTS: users of www/gitea
diff --git a/databases/mongodb50/Makefile b/databases/mongodb50/Makefile
index 59b37c568bfc..f0d7c404e64f 100644
--- a/databases/mongodb50/Makefile
+++ b/databases/mongodb50/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	mongodb
 DISTVERSIONPREFIX=	r
-DISTVERSION=	5.0.14
-PORTREVISION=	2
+DISTVERSION=	5.0.16
 CATEGORIES=	databases net
 MASTER_SITES=	https://fastdl.mongodb.org/src/ \
 		http://fastdl.mongodb.org/src/
diff --git a/databases/mongodb50/distinfo b/databases/mongodb50/distinfo
index b4a746639509..fe387e358221 100644
--- a/databases/mongodb50/distinfo
+++ b/databases/mongodb50/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669237786
-SHA256 (mongodb-src-r5.0.14.tar.gz) = 097152eb18f28aae04e523eb1e1421c391032f3d213ff674657dc610b13c38ae
-SIZE (mongodb-src-r5.0.14.tar.gz) = 56087961
+TIMESTAMP = 1681675026
+SHA256 (mongodb-src-r5.0.16.tar.gz) = 2d677c9dd9090e129964a20020701b45bac38e48f3214aaf88a421459b855e40
+SIZE (mongodb-src-r5.0.16.tar.gz) = 56217257
diff --git a/databases/mongodb50/files/patch-rpm_mongod.conf b/databases/mongodb50/files/patch-rpm_mongod.conf
index 1a21e4250707..d2ab7fb69c08 100644
--- a/databases/mongodb50/files/patch-rpm_mongod.conf
+++ b/databases/mongodb50/files/patch-rpm_mongod.conf
@@ -14,12 +14,3 @@
    journal:
      enabled: true
  #  engine:
-@@ -20,7 +20,7 @@ storage:
- # how the process runs
- processManagement:
-   fork: true  # fork and run in background
--  pidFilePath: /var/run/mongodb/mongod.pid  # location of pidfile
-+  pidFilePath: /var/db/mongodb/mongod.lock  # location of pidfile
-   timeZoneInfo: /usr/share/zoneinfo
- 
- # network interfaces