aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald Klop <ronald@FreeBSD.org>2023-04-16 22:17:45 +0000
committerRonald Klop <ronald@FreeBSD.org>2023-04-16 22:17:45 +0000
commitcb83106ca20b3365b91c1d08589a24ba68938ed9 (patch)
treeb5d8e085646e4f3f8990f5177e76c8fb9758e93d
parent6ffeab7ede9450a397417f4ba6b878a793a47804 (diff)
downloadports-cb83106ca20b3365b91c1d08589a24ba68938ed9.tar.gz
ports-cb83106ca20b3365b91c1d08589a24ba68938ed9.zip
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.
-rw-r--r--UPDATING9
-rw-r--r--databases/mongodb50/Makefile3
-rw-r--r--databases/mongodb50/distinfo6
-rw-r--r--databases/mongodb50/files/patch-rpm_mongod.conf9
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