From owner-dev-commits-ports-all@freebsd.org Thu Aug 5 07:58:16 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B8E665EEA8; Thu, 5 Aug 2021 07:58:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GgLZc0y8yz4grh; Thu, 5 Aug 2021 07:58:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 08A8A164D9; Thu, 5 Aug 2021 07:58:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1757wFQV083779; Thu, 5 Aug 2021 07:58:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1757wFdM083778; Thu, 5 Aug 2021 07:58:15 GMT (envelope-from git) Date: Thu, 5 Aug 2021 07:58:15 GMT Message-Id: <202108050758.1757wFdM083778@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: ebd908b18a54 - main - databases/mongodb42: Update to 4.2.15 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ebd908b18a541438ff40eb2357885ea33f0359eb Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2021 07:58:16 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=ebd908b18a541438ff40eb2357885ea33f0359eb commit ebd908b18a541438ff40eb2357885ea33f0359eb Author: Ronald Klop AuthorDate: 2021-08-05 07:54:49 +0000 Commit: Guangyuan Yang CommitDate: 2021-08-05 07:54:49 +0000 databases/mongodb42: Update to 4.2.15 Changelog: https://docs.mongodb.com/manual/release-notes/4.2-changelog/#std-label-4.2.15-changelog PR: 257392 --- databases/mongodb42/Makefile | 6 ++++-- databases/mongodb42/distinfo | 6 +++--- databases/mongodb42/files/patch-SConstruct | 18 ++++++++++++++---- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/databases/mongodb42/Makefile b/databases/mongodb42/Makefile index 7d5c9fe391e4..26f7e9247f89 100644 --- a/databases/mongodb42/Makefile +++ b/databases/mongodb42/Makefile @@ -1,6 +1,6 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r -DISTVERSION= 4.2.14 +DISTVERSION= 4.2.15 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ @@ -29,7 +29,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libcurl.so:ftp/curl \ libsnappy.so:archivers/snappy -USES= compiler:c++17-lang cpe python:3.5+,build scons +USES= compiler:c++17-lang cpe python:3.5+,build scons shebangfix USE_RC_SUBR= mongod CONFLICTS_BUILD= mongo-cxx-driver @@ -38,6 +38,8 @@ CONFLICTS_INSTALL= mongodb36 mongodb4[04] OPTIONS_DEFINE= LTO SASL SSL OPTIONS_DEFAULT=LTO SASL SSL +SHEBANG_FILES= src/mongo/installer/compass/install_compass +python_OLD_CMD= @python_interpreter@ MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --use-system-zlib \ --use-system-pcre \ diff --git a/databases/mongodb42/distinfo b/databases/mongodb42/distinfo index 2586859a4786..565217003185 100644 --- a/databases/mongodb42/distinfo +++ b/databases/mongodb42/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620128994 -SHA256 (mongodb-src-r4.2.14.tar.gz) = f804f0d2eb8d7f19911fbef320719a42d19f8f11a4fb9b85695b7ec39ca00cab -SIZE (mongodb-src-r4.2.14.tar.gz) = 62132935 +TIMESTAMP = 1626038087 +SHA256 (mongodb-src-r4.2.15.tar.gz) = 22f704dd35c0abe182cfd244ce08f43783c1ece6be23e47a6f1872798c312deb +SIZE (mongodb-src-r4.2.15.tar.gz) = 62187847 diff --git a/databases/mongodb42/files/patch-SConstruct b/databases/mongodb42/files/patch-SConstruct index 011674b57ac9..47fc2da88d30 100644 --- a/databases/mongodb42/files/patch-SConstruct +++ b/databases/mongodb42/files/patch-SConstruct @@ -1,6 +1,6 @@ ---- SConstruct.orig 2019-08-08 20:06:23 UTC +--- SConstruct.orig 2021-06-30 17:39:08 UTC +++ SConstruct -@@ -1068,9 +1068,9 @@ if has_option('variables-help'): +@@ -1092,9 +1092,9 @@ if has_option('variables-help'): print((env_vars.GenerateHelpText(env))) Exit(0) @@ -13,7 +13,7 @@ def set_config_header_define(env, varname, varval = 1): env['CONFIG_HEADER_DEFINES'][varname] = varval -@@ -1851,7 +1851,7 @@ if env.TargetOSIs('posix'): +@@ -1884,7 +1884,7 @@ if env.TargetOSIs('posix'): # If runtime hardening is requested, then build anything # destined for an executable with the necessary flags for PIE. env.AppendUnique( @@ -22,7 +22,7 @@ PROGLINKFLAGS=['-pie'], ) -@@ -1865,7 +1865,7 @@ if env.TargetOSIs('posix'): +@@ -1898,7 +1898,7 @@ if env.TargetOSIs('posix'): "-Wno-unknown-pragmas", "-Winvalid-pch"] ) # env.Append( " -Wconversion" ) TODO: this doesn't really work yet @@ -31,3 +31,13 @@ if not has_option("disable-warnings-as-errors"): env.Append( CCFLAGS=["-Werror"] ) +@@ -3627,7 +3627,8 @@ def doConfigure(myenv): + myenv = conf.Finish() + + if env['TARGET_ARCH'] == "aarch64": +- AddToCCFLAGSIfSupported(myenv, "-moutline-atomics") ++ # https://lists.freebsd.org/archives/freebsd-ports/2021-July/000431.html ++ AddToCCFLAGSIfSupported(myenv, "-mno-outline-atomics") + + return myenv +