git: 57bf12b49c0b - main - databases/mongodb60: start announcing EOL date of August 2025

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 20 May 2025 11:37:05 UTC
The branch main has been updated by ronald:

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

commit 57bf12b49c0b3b61f3a51fa9e8edb5d0075f5fbb
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-05-20 11:31:15 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-05-20 11:36:56 +0000

    databases/mongodb60: start announcing EOL date of August 2025
    
    added a warning a bit early so it is also in the 2025Q3 branch
    see https://www.mongodb.com/legal/support-policy/lifecycles
    
    - pet portfmt
---
 UPDATING                     | 17 +++++++++++++++++
 databases/mongodb60/Makefile |  6 +++++-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/UPDATING b/UPDATING
index 435c02eb7619..3d4a6146cc43 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,23 @@ 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.
 
+20250520:
+  AFFECTS: users of databases/mongodb60
+  AUTHOR: ronald@FreeBSD.org
+
+  MongoDB version 6.0 is End of Life starting August 2025.
+  Please make sure you are running MongoDB version 7.0 or higher.
+  In-place upgrades are supported from version 6.0 to 7.0.
+  For an in-place upgrade it is important that the
+  'featureCompatibilityVersion' is set to 6.0 before the upgrade.
+  See: https://www.mongodb.com/docs/v7.0/release-notes/7.0-upgrade-standalone/#feature-compatibility-version
+
+  TL;DR, run these commands in mongodb60 before upgrading:
+  (see `pkg info -D mongodb60` how to install mongosh)
+  $ npx mongosh mongodb://127.0.0.1:27017/ # or use non-default port
+  > db.adminCommand( { setFeatureCompatibilityVersion: "6.0" } )
+  > exit
+
 20250519:
   AFFECTS: users of sysutils/screen
   AUTHOR: cy@FreeBSD.org
diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile
index dd2d6b2e3a10..a9e63d9f1d60 100644
--- a/databases/mongodb60/Makefile
+++ b/databases/mongodb60/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	mongodb
 DISTVERSIONPREFIX=	r
 DISTVERSION=	6.0.23
+PORTREVISION=	1
 CATEGORIES=	databases net
 MASTER_SITES=	https://hg.mozilla.org/mozilla-central/raw-rev/:patches
 PKGNAMESUFFIX=	${DISTVERSION:R:S/.//}
@@ -18,6 +19,9 @@ 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 starting August 2025, see https://www.mongodb.com/legal/support-policy/lifecycles, please use databases/mongodb60
+EXPIRATION_DATE=	2025-10-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
 
@@ -121,7 +125,7 @@ MOZJS_ARCH=	${ARCH}
 .endif
 
 post-extract:
-	# Verify we downloaded the proper mozjs git tag.
+# Verify we downloaded the proper mozjs git tag.
 	${SH} -xc "test \"X`grep -E '^LIB_GIT_REVISION=' ${WRKSRC}/src/third_party/mozjs/get-sources.sh`\" = \"XLIB_GIT_REVISION=${MOZJS_TAG}\""
 
 post-patch: