Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2024 08:39:30 GMT
From:      Ronald Klop <ronald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d68520a06cb2 - main - databases/mongodb44: update to 4.4.27
Message-ID:  <202401090839.4098dU4G037326@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d68520a06cb2d9aa337c13a628228bf0e1a9c845

commit d68520a06cb2d9aa337c13a628228bf0e1a9c845
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2023-12-30 15:45:54 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-01-09 08:38:09 +0000

    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)
---
 databases/mongodb44/Makefile               | 4 +++-
 databases/mongodb44/distinfo               | 6 +++---
 databases/mongodb44/files/patch-SConstruct | 8 ++++----
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401090839.4098dU4G037326>