Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2020 16:36:12 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r539367 - in head/databases/mongodb40: . files
Message-ID:  <202006161636.05GGaCbw010071@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Tue Jun 16 16:36:12 2020
New Revision: 539367
URL: https://svnweb.freebsd.org/changeset/ports/539367

Log:
  databases/mongodb40: Update to 4.0.18
  
  PR:		245976
  Submitted by:	Ronald Klop
  Approved by:	Andrew Shevchuk (maintainer)

Added:
  head/databases/mongodb40/files/patch-src_mongo_base_error__codes.tpl.h   (contents, props changed)
Modified:
  head/databases/mongodb40/Makefile
  head/databases/mongodb40/distinfo

Modified: head/databases/mongodb40/Makefile
==============================================================================
--- head/databases/mongodb40/Makefile	Tue Jun 16 16:34:51 2020	(r539366)
+++ head/databases/mongodb40/Makefile	Tue Jun 16 16:36:12 2020	(r539367)
@@ -2,8 +2,7 @@
 
 PORTNAME=	mongodb
 DISTVERSIONPREFIX=	r
-DISTVERSION=	4.0.12
-PORTREVISION=	1
+DISTVERSION=	4.0.18
 CATEGORIES=	databases net
 MASTER_SITES=	https://fastdl.mongodb.org/src/ \
 		http://fastdl.mongodb.org/src/ \
@@ -14,9 +13,10 @@ DISTNAME=	mongodb-src-${DISTVERSIONPREFIX}${DISTVERSIO
 MAINTAINER=	dev.ashevchuk@gmail.com
 COMMENT=	Distributed document-oriented "NoSQL" database
 
-# mongodb is AGPLv3, C++ driver is APACHE20
-LICENSE=	AGPLv3 APACHE20
-LICENSE_COMB=	multi
+LICENSE=	SSPLv1
+LICENSE_NAME=	Server Side Public License Version 1
+LICENSE_FILE=	${WRKSRC}/LICENSE-Community.txt
+LICENSE_PERMS=	auto-accept
 
 ONLY_FOR_ARCHS=	aarch64 amd64
 ONLY_FOR_ARCHS_REASON=	"Only supported on amd64 and aarch64 (i386 deprecated in v3)"

Modified: head/databases/mongodb40/distinfo
==============================================================================
--- head/databases/mongodb40/distinfo	Tue Jun 16 16:34:51 2020	(r539366)
+++ head/databases/mongodb40/distinfo	Tue Jun 16 16:36:12 2020	(r539367)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1570817575
-SHA256 (mongodb-src-r4.0.12.tar.gz) = 2132def2478c7d45b028a9b79db346a19f9c56f456b52c0ff243982c89c20dc9
-SIZE (mongodb-src-r4.0.12.tar.gz) = 49937644
+TIMESTAMP = 1591540345
+SHA256 (mongodb-src-r4.0.18.tar.gz) = c2b1ba40b2f132cce5fd0cdee26b5176aceeac2922b238874241d33f9920b50f
+SIZE (mongodb-src-r4.0.18.tar.gz) = 50124925

Added: head/databases/mongodb40/files/patch-src_mongo_base_error__codes.tpl.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mongodb40/files/patch-src_mongo_base_error__codes.tpl.h	Tue Jun 16 16:36:12 2020	(r539367)
@@ -0,0 +1,14 @@
+# based on: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245976#c12
+# https://jira.mongodb.org/browse/SERVER-44025
+# https://github.com/mongodb/mongo/commit/e484c9af6b4ae4a1d22c905e252ad3ad13f30bfc
+--- src/mongo/base/error_codes.tpl.h.orig	2020-06-07 14:38:05 UTC
++++ src/mongo/base/error_codes.tpl.h
+@@ -127,7 +127,7 @@ template <int32_t code>
+ constexpr bool isNamedCode = false;
+ //#for $ec in $codes
+ template <>
+-constexpr bool isNamedCode<ErrorCodes::$ec.name> = true;
++constexpr inline bool isNamedCode<ErrorCodes::$ec.name> = true;
+ //#end for
+ 
+ MONGO_COMPILER_NORETURN void throwExceptionForStatus(const Status& status);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006161636.05GGaCbw010071>