summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald Klop <ronald@FreeBSD.org>2023-12-30 16:45:54 +0100
committerRonald Klop <ronald@FreeBSD.org>2024-01-09 09:38:09 +0100
commitd68520a06cb2d9aa337c13a628228bf0e1a9c845 (patch)
treee79f081e9beb928e6f46bff14c6d72857ef45b2f
parentwww/tdom: the file formerly known as README is now README.md (diff)
databases/mongodb44: update to 4.4.27
changes: https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.27---jan-3--2023 https://www.mongodb.com/docs/manual/release-notes/4.4-changelog/#4.4.27-changelog Remove enterprise modules from the build. Just build the community edition. This is something new in this version. This is not mentioned in the release notes but the build failed with unhandled dependencies. [00:02:07] configuring module: enterprise [00:02:07] Checking for C++ header file net-snmp/net-snmp-config.h... no [00:02:08] Could not find <net-snmp/net-snmp-config.h>, required for enterprise build. [00:02:08] See /wrkdirs/usr/ports/databases/mongodb44/work/mongodb-src-r4.4.27/build/scons/config.log for details [00:02:09] ===> Compilation failed unexpectedly. Enterprise modules consist of: > ls /usr/ports/databases/mongodb44/work/mongodb-src-r4.4.27/src/mongo/db/modules/enterprise/src/ audit fle inmemory ldap queryable scripts snmp encryptdb hot_backups kerberos mongohouse sasl search util Bump version. Poudriere stage-qa: ok (aarch64)
-rw-r--r--databases/mongodb44/Makefile4
-rw-r--r--databases/mongodb44/distinfo6
-rw-r--r--databases/mongodb44/files/patch-SConstruct8
3 files changed, 10 insertions, 8 deletions
diff --git a/databases/mongodb44/Makefile b/databases/mongodb44/Makefile
index 70a766f99cf4..62dd74a89cf4 100644
--- a/databases/mongodb44/Makefile
+++ b/databases/mongodb44/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mongodb
DISTVERSIONPREFIX= r
-DISTVERSION= 4.4.26
+DISTVERSION= 4.4.27
CATEGORIES= databases net
MASTER_SITES= https://fastdl.mongodb.org/src/ \
http://fastdl.mongodb.org/src/
@@ -30,11 +30,13 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
USES= compiler:c++17-lang cpe python:build scons
USE_RC_SUBR= mongod
+# --module= disables "enterprise" module from src/mongo/db/modules/
MAKE_ARGS= --use-system-zlib \
--use-system-pcre \
--use-system-snappy \
--libc++ \
--cxx-std=17 \
+ --modules= \
--runtime-hardening=on \
-j ${MAKE_JOBS_NUMBER} \
--disable-warnings-as-errors \
diff --git a/databases/mongodb44/distinfo b/databases/mongodb44/distinfo
index bdba4e903dec..e2fc03e54580 100644
--- a/databases/mongodb44/distinfo
+++ b/databases/mongodb44/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1700131003
-SHA256 (mongodb-src-r4.4.26.tar.gz) = d39e95a18741fedc32f01d7b9da68317cd6d1c0a581fbd524004c549c34d7b24
-SIZE (mongodb-src-r4.4.26.tar.gz) = 50900645
+TIMESTAMP = 1702632169
+SHA256 (mongodb-src-r4.4.27.tar.gz) = 1dc4c8ff48a0cc247983c59a8b9cca12e2b706316ba513fff46c19879c2a9ad7
+SIZE (mongodb-src-r4.4.27.tar.gz) = 51452977
diff --git a/databases/mongodb44/files/patch-SConstruct b/databases/mongodb44/files/patch-SConstruct
index eab9454199b0..c5f7a951c670 100644
--- a/databases/mongodb44/files/patch-SConstruct
+++ b/databases/mongodb44/files/patch-SConstruct
@@ -1,6 +1,6 @@
---- SConstruct.orig 2023-05-10 02:21:42 UTC
+--- SConstruct.orig 2023-12-17 21:00:26 UTC
+++ SConstruct
-@@ -1269,9 +1269,9 @@ if has_option('variables-help'):
+@@ -1262,9 +1262,9 @@ if has_option('variables-help'):
print(env_vars.GenerateHelpText(env))
Exit(0)
@@ -13,7 +13,7 @@
install_actions.setup(env, get_option('install-action'))
-@@ -2196,7 +2196,7 @@ if env.TargetOSIs('posix'):
+@@ -2189,7 +2189,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'],
)
-@@ -2211,7 +2211,7 @@ if env.TargetOSIs('posix'):
+@@ -2204,7 +2204,7 @@ if env.TargetOSIs('posix'):
"-Wno-unknown-pragmas",
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet