git: d95f05681d38 - main - databases/mongodb*: document replacement of mongo CLI shell

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 25 Jun 2024 09:41:42 UTC
The branch main has been updated by ronald:

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

commit d95f05681d38da7b24b32d81448a27f6f91c0fcd
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-06-25 09:36:00 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-06-25 09:41:01 +0000

    databases/mongodb*: document replacement of mongo CLI shell
    
    MongoDB 6.0 and up do not include the 'mongo' CLI shell anymore.
    Point users to a replacement.
    
    + use canonical WWW
---
 databases/mongodb60/Makefile    |  2 +-
 databases/mongodb60/pkg-message | 10 +++++++++-
 databases/mongodb70/pkg-message |  7 +++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile
index 04c76dc6d706..d6c6a8b77805 100644
--- a/databases/mongodb60/Makefile
+++ b/databases/mongodb60/Makefile
@@ -7,7 +7,7 @@ PKGNAMESUFFIX=	${DISTVERSION:R:S/.//}
 
 MAINTAINER=	ronald@FreeBSD.org
 COMMENT=	MongoDB Community Edition (6.0.x Branch)
-WWW=		https://docs.mongodb.com/v6.0/
+WWW=		https://www.mongodb.com/docs/v6.0/
 
 LICENSE=	APACHE20 SSPLv1 # mongodb is SSPLv1, C++ driver is APACHE20
 LICENSE_COMB=	multi
diff --git a/databases/mongodb60/pkg-message b/databases/mongodb60/pkg-message
index 43e45ca6a35a..047b46f2ccb1 100644
--- a/databases/mongodb60/pkg-message
+++ b/databases/mongodb60/pkg-message
@@ -2,7 +2,15 @@
 { type: install
   message: <<EOM
 MongoDB on Rasperry Pi can work but is unsupported upstream.
-Please read https://jira.mongodb.org/browse/SERVER-71772 if you run this on a non-LSE ARM cpu.
+Please read https://jira.mongodb.org/browse/SERVER-71772 if you run this
+on a non-LSE ARM cpu.
+
+MongoDB 6.0 and up do not include the 'mongo' CLI shell anymore. You can
+use the MongoDB Shell (https://github.com/mongodb-js/mongosh).
+# pkg install npm
+$ npm install mongosh
+$ npx mongosh mongodb://127.0.0.1:27117/
+
 EOM
 }
 ]
diff --git a/databases/mongodb70/pkg-message b/databases/mongodb70/pkg-message
index 53d27f877b5a..9587fa26b3f3 100644
--- a/databases/mongodb70/pkg-message
+++ b/databases/mongodb70/pkg-message
@@ -4,6 +4,13 @@
 MongoDB on Raspberry Pi can work but is unsupported upstream.
 Please read https://jira.mongodb.org/browse/SERVER-71772 and enable option 
 ARMV80A if you run this on a non-LSE ARM cpu like Raspberry Pi 4.
+
+MongoDB 6.0 and up do not include the 'mongo' CLI shell anymore. You can
+use the MongoDB Shell (https://github.com/mongodb-js/mongosh).
+# pkg install npm
+$ npm install mongosh
+$ npx mongosh mongodb://127.0.0.1:27117/
+
 EOM
 }
 ]