1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

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)
This commit is contained in:
Ronald Klop 2023-12-30 16:45:54 +01:00
parent 5f0647031e
commit d68520a06c
No known key found for this signature in database
GPG Key ID: 551E8E6207A42166
3 changed files with 10 additions and 8 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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