git: 3f41069bec5c - main - databases/mongodb50: deprecate, EOL from October 2024

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Fri, 27 Sep 2024 13:04:50 UTC
The branch main has been updated by ronald:

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

commit 3f41069bec5c3d55c89dadcd53e7cfe2299970c8
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-09-16 13:52:22 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-09-27 13:04:30 +0000

    databases/mongodb50: deprecate, EOL from October 2024
    
    See https://www.mongodb.com/legal/support-policy/lifecycles.
    Please use databases/mongodb60.
    
    There are no ports dependent upon this port.
    
    See UPDATING for instructions on upgrading.
---
 UPDATING                     | 16 ++++++++++++++++
 databases/mongodb50/Makefile |  3 +++
 2 files changed, 19 insertions(+)

diff --git a/UPDATING b/UPDATING
index 1680f96e85b8..bdf738ea691c 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,22 @@ 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.
 
+20240927:
+  AFFECTS: users of databases/mongodb50
+  AUTHOR: ronald@FreeBSD.org
+
+  MongoDB version 5.0 is End of Life starting October 2024.
+  Please make sure you are running MongoDB version 6.0 or higher.
+  In-place upgrades are supported from version 5.0 to 6.0.
+  For an in-place upgrade it is important that the
+  'featureCompatibilityVersion' is set to 5.0.
+  See: https://www.mongodb.com/docs/v6.0/release-notes/6.0-upgrade-standalone/#feature-compatibility-version
+
+  TL;DR, run these commands in mongodb50 before upgrading:
+  $ mongo --port <portnr>
+  > db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )
+  > exit
+
 20240912:
   AFFECTS: security/clamav, security/clamav-lts
   AUTHOR: netchildFreeBSD.org
diff --git a/databases/mongodb50/Makefile b/databases/mongodb50/Makefile
index 18a6ac7fe6b1..9ce5cdbb3007 100644
--- a/databases/mongodb50/Makefile
+++ b/databases/mongodb50/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	mongodb
 DISTVERSIONPREFIX=	r
 DISTVERSION=	5.0.28
+PORTREVISION=	1
 CATEGORIES=	databases net
 PKGNAMESUFFIX=	${DISTVERSION:R:S/.//}
 
@@ -14,6 +15,8 @@ LICENSE_NAME_SSPLv1=	Server Side Public License Version 1
 LICENSE_FILE_SSPLv1=	${WRKSRC}/LICENSE-Community.txt
 LICENSE_PERMS_SSPLv1=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
+DEPRECATED=	EOL from October 2024, see https://www.mongodb.com/legal/support-policy/lifecycles, please use databases/mongodb60
+EXPIRATION_DATE=	2025-04-30
 ONLY_FOR_ARCHS=	aarch64 amd64 powerpc64le
 ONLY_FOR_ARCHS_REASON=	only ported to amd64, aarch64, and powerpc64le on FreeBSD; upstream supports arm64, ppc64le, s390x, and x86-64