git: adb336114717 - 2021Q3 - databases/mongodb44: Update to 4.4.8
Guangyuan Yang
ygy at FreeBSD.org
Mon Aug 9 05:08:12 UTC 2021
The branch 2021Q3 has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=adb336114717c1dd89318e1378d521694a35a919
commit adb336114717c1dd89318e1378d521694a35a919
Author: Ronald Klop <ronald-lists at klop.ws>
AuthorDate: 2021-07-26 07:26:39 +0000
Commit: Guangyuan Yang <ygy at FreeBSD.org>
CommitDate: 2021-08-09 05:07:15 +0000
databases/mongodb44: Update to 4.4.8
Changelog: https://docs.mongodb.com/manual/release-notes/4.4/#4.4.8---aug-4--2021
PR: 257688
(cherry picked from commit 962be10550ee4a2be37ca5fd8e10a8a210a73289)
---
databases/mongodb44/Makefile | 5 ++---
databases/mongodb44/distinfo | 6 +++---
databases/mongodb44/files/patch-SConstruct | 24 +++++++++++++++++-------
3 files changed, 22 insertions(+), 13 deletions(-)
diff --git a/databases/mongodb44/Makefile b/databases/mongodb44/Makefile
index 4de61908fd13..28dd80c099cd 100644
--- a/databases/mongodb44/Makefile
+++ b/databases/mongodb44/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mongodb
DISTVERSIONPREFIX= r
-DISTVERSION= 4.4.6
+DISTVERSION= 4.4.8
CATEGORIES= databases net
MASTER_SITES= https://fastdl.mongodb.org/src/ \
http://fastdl.mongodb.org/src/
@@ -28,7 +28,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libcurl.so:ftp/curl \
libsnappy.so:archivers/snappy
-USES= compiler:c++17-lang cpe python:3.5+,build scons shebangfix
+USES= compiler:c++17-lang cpe python:3.5+,build scons
USE_RC_SUBR= mongod
CONFLICTS_INSTALL= mongodb36 mongodb4[02]
@@ -36,7 +36,6 @@ CONFLICTS_INSTALL= mongodb36 mongodb4[02]
OPTIONS_DEFINE= LTO SASL SSL
OPTIONS_DEFAULT=LTO SASL SSL
-python_OLD_CMD= @python_interpreter@
MAKE_ARGS= --use-system-zlib \
--use-system-pcre \
--use-system-snappy \
diff --git a/databases/mongodb44/distinfo b/databases/mongodb44/distinfo
index 0d9b18c20f8e..3d2b2bc2f004 100644
--- a/databases/mongodb44/distinfo
+++ b/databases/mongodb44/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620589981
-SHA256 (mongodb-src-r4.4.6.tar.gz) = b5189aa87977137574cd75432dac9bb91699d322358f857b7b6d1e191fbd2f32
-SIZE (mongodb-src-r4.4.6.tar.gz) = 50069717
+TIMESTAMP = 1628281136
+SHA256 (mongodb-src-r4.4.8.tar.gz) = 6f9bd6626ef61ec3cd9051ff8576bf499936de99c4fc3551f8bde4e9ba504a97
+SIZE (mongodb-src-r4.4.8.tar.gz) = 50492854
diff --git a/databases/mongodb44/files/patch-SConstruct b/databases/mongodb44/files/patch-SConstruct
index 011674b57ac9..de57cb103810 100644
--- a/databases/mongodb44/files/patch-SConstruct
+++ b/databases/mongodb44/files/patch-SConstruct
@@ -1,7 +1,7 @@
---- SConstruct.orig 2019-08-08 20:06:23 UTC
+--- SConstruct.orig 2021-07-07 09:17:06 UTC
+++ SConstruct
-@@ -1068,9 +1068,9 @@ if has_option('variables-help'):
- print((env_vars.GenerateHelpText(env)))
+@@ -1213,9 +1213,9 @@ if has_option('variables-help'):
+ print(env_vars.GenerateHelpText(env))
Exit(0)
-unknown_vars = env_vars.UnknownVariables()
@@ -11,9 +11,9 @@
+#if unknown_vars:
+# env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
- def set_config_header_define(env, varname, varval = 1):
- env['CONFIG_HEADER_DEFINES'][varname] = varval
-@@ -1851,7 +1851,7 @@ if env.TargetOSIs('posix'):
+ if get_option('install-action') != 'default' and get_option('ninja') != "disabled":
+ env.FatalError("Cannot use non-default install actions when generating Ninja.")
+@@ -2091,7 +2091,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'):
+@@ -2106,7 +2106,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"] )
+@@ -3926,7 +3926,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')
More information about the dev-commits-ports-all
mailing list