From owner-dev-commits-ports-main@freebsd.org Tue Jul 27 05:32:56 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 04101658F9F; Tue, 27 Jul 2021 05:32:56 +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 4GYln368GVz4tqK; Tue, 27 Jul 2021 05:32:55 +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 BA89324E43; Tue, 27 Jul 2021 05:32:55 +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 16R5WtoJ073893; Tue, 27 Jul 2021 05:32:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16R5WtVA073892; Tue, 27 Jul 2021 05:32:55 GMT (envelope-from git) Date: Tue, 27 Jul 2021 05:32:55 GMT Message-Id: <202107270532.16R5WtVA073892@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: 6294ed8d0ef9 - main - databases/mongodb50: Update to 5.0.1 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: 6294ed8d0ef9fecae8cda824c1a112d951dc5273 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2021 05:32:56 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6294ed8d0ef9fecae8cda824c1a112d951dc5273 commit 6294ed8d0ef9fecae8cda824c1a112d951dc5273 Author: Ronald Klop AuthorDate: 2021-07-27 05:28:44 +0000 Commit: Guangyuan Yang CommitDate: 2021-07-27 05:28:44 +0000 databases/mongodb50: Update to 5.0.1 - Add a fix for compilation on aarch64 on 14-CURRENT/clang 12. See: https://lists.freebsd.org/archives/freebsd-ports/2021-July/000431.html Changelog: https://docs.mongodb.com/manual/release-notes/5.0-changelog/#5.0.1-changelog PR: 257394 MFH: 2021Q3 (bugfix release) Approved by: lwhsu (mentor, implicit) --- databases/mongodb50/Makefile | 2 +- databases/mongodb50/distinfo | 6 +++--- databases/mongodb50/files/patch-SConstruct | 18 ++++++++++++++---- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/databases/mongodb50/Makefile b/databases/mongodb50/Makefile index 81773174a4a4..a7d843bf4e66 100644 --- a/databases/mongodb50/Makefile +++ b/databases/mongodb50/Makefile @@ -1,6 +1,6 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r -DISTVERSION= 5.0.0-rc1 +DISTVERSION= 5.0.1 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ diff --git a/databases/mongodb50/distinfo b/databases/mongodb50/distinfo index 9c502acdda63..9d5edc8bf07a 100644 --- a/databases/mongodb50/distinfo +++ b/databases/mongodb50/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1623670264 -SHA256 (mongodb-src-r5.0.0-rc1.tar.gz) = 17b4998385e82855bb6a17056ae75e1811c2784c14b6ba89706f0ad17f5279dc -SIZE (mongodb-src-r5.0.0-rc1.tar.gz) = 54409236 +TIMESTAMP = 1626811181 +SHA256 (mongodb-src-r5.0.1.tar.gz) = 141c9a6b538e121b2d69e26b9b3e7308f24dff9c7c238190233204a2ebe39b83 +SIZE (mongodb-src-r5.0.1.tar.gz) = 54468206 diff --git a/databases/mongodb50/files/patch-SConstruct b/databases/mongodb50/files/patch-SConstruct index 3d7a6ad73feb..c798505de87a 100644 --- a/databases/mongodb50/files/patch-SConstruct +++ b/databases/mongodb50/files/patch-SConstruct @@ -1,6 +1,6 @@ ---- SConstruct.orig 2021-04-29 23:06:52 UTC +--- SConstruct.orig 2021-07-15 20:56:31 UTC +++ SConstruct -@@ -1324,9 +1324,9 @@ if has_option('variables-help'): +@@ -1328,9 +1328,9 @@ if has_option('variables-help'): print(env_vars.GenerateHelpText(env)) Exit(0) @@ -13,7 +13,7 @@ if get_option('install-action') != 'default' and get_option('ninja') != "disabled": env.FatalError("Cannot use non-default install actions when generating Ninja.") -@@ -2498,7 +2498,7 @@ if env.TargetOSIs('posix'): +@@ -2507,7 +2507,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'], ) -@@ -2675,8 +2675,12 @@ if not env.TargetOSIs('windows') and (env.ToolchainIs( +@@ -2684,8 +2684,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too # setting it for both C and C++ by setting both of CFLAGS and # CXXFLAGS. @@ -36,3 +36,13 @@ "i386" : { "-march=" : "nocona", "-mtune=" : "generic" }, "ppc64le" : { "-mcpu=" : "power8", "-mtune=" : "power8", "-mcmodel=" : "medium" }, "s390x" : { "-march=" : "z196", "-mtune=" : "zEC12" }, +@@ -4520,7 +4524,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") + + conf = Configure(myenv) + usdt_enabled = get_option('enable-usdt-probes')