git: d3641f4fa9e4 - main - databases/mongodb60: fix segmentation fault on startup

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Fri, 17 Feb 2023 15:42:37 UTC
The branch main has been updated by ronald:

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

commit d3641f4fa9e451f5944d52b6e05d0b3ad396e2bb
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2023-02-16 11:29:08 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2023-02-17 15:42:20 +0000

    databases/mongodb60: fix segmentation fault on startup
    
    Upstream fixed the issue in the upcoming version. The patch applies cleanly.
    And there was much rejoice...
    
    PR: 267668
    Approved by: rene (mentor)
    Differential Revision: https://reviews.freebsd.org/D38622
---
 databases/mongodb60/Makefile | 5 ++++-
 databases/mongodb60/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile
index 2f58b6b06302..7716024b7802 100644
--- a/databases/mongodb60/Makefile
+++ b/databases/mongodb60/Makefile
@@ -1,9 +1,13 @@
 PORTNAME=	mongodb
 DISTVERSIONPREFIX=	r
 DISTVERSION=	6.0.4
+PORTREVISION=	1
 CATEGORIES=	databases net
 PKGNAMESUFFIX=	${DISTVERSION:R:S/.//}
 
+PATCH_SITES=	https://github.com/mongodb/mongo/commit/
+PATCHFILES=	c419698b577f7924d2d6fc6bd3f7bd922f1d0dd7.patch:-p1
+
 MAINTAINER=	ronald@FreeBSD.org
 COMMENT=	Distributed document-oriented "NoSQL" database (6.0.x Branch)
 WWW=		https://docs.mongodb.com/v6.0/
@@ -14,7 +18,6 @@ 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
 
-IGNORE=		segmentation fault at runtime: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267668
 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
 
diff --git a/databases/mongodb60/distinfo b/databases/mongodb60/distinfo
index d53069e4dd3b..f11d24c22e2a 100644
--- a/databases/mongodb60/distinfo
+++ b/databases/mongodb60/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1674388422
+TIMESTAMP = 1676489889
 SHA256 (mongodb-mongo-r6.0.4_GH0.tar.gz) = 0fd0d08ed62ecaea0f40f0d382202a23f8d782c7b57837f1237f47be07b3b3d2
 SIZE (mongodb-mongo-r6.0.4_GH0.tar.gz) = 90579346
 SHA256 (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = a365bf54ef4e4fd6a136cf6afa9c620ba0c8982402473b9bfac38928a688a9e0
 SIZE (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = 141291901
+SHA256 (c419698b577f7924d2d6fc6bd3f7bd922f1d0dd7.patch) = b3cbdad3ec0cc251810a44da5bc89b055aae90d05075d695b7b3d440b063ade3
+SIZE (c419698b577f7924d2d6fc6bd3f7bd922f1d0dd7.patch) = 1122