Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2024 12:36:34 GMT
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d6df43be56e4 - main - databases/pecl-mongodb: update 1.15.3 -> 1.17.2
Message-ID:  <202403101236.42ACaYG3099519@gitrepo.freebsd.org>

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

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

commit d6df43be56e476349bfe867d024fbcdb147bb81f
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2024-03-10 12:34:27 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-03-10 12:36:13 +0000

    databases/pecl-mongodb: update 1.15.3 -> 1.17.2
    
    Changes:        https://github.com/mongodb/mongo-php-driver/releases/
---
 databases/pecl-mongodb/Makefile                      |  2 +-
 databases/pecl-mongodb/distinfo                      |  6 +++---
 ...h-src_libmongoc_src_libbson_src_bson_bson-error.c | 11 -----------
 .../patch-src_libmongocrypt_src_mongocrypt-util.c    | 20 --------------------
 .../patch-src_libmongocrypt_src_os__posix_os__dll.c  | 16 ++++++++--------
 5 files changed, 12 insertions(+), 43 deletions(-)

diff --git a/databases/pecl-mongodb/Makefile b/databases/pecl-mongodb/Makefile
index 9f3263efcbe4..9721b9c43399 100644
--- a/databases/pecl-mongodb/Makefile
+++ b/databases/pecl-mongodb/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mongodb
-PORTVERSION=	1.15.3
+PORTVERSION=	1.17.2
 CATEGORIES=	databases pear
 
 MAINTAINER=	pi@FreeBSD.org
diff --git a/databases/pecl-mongodb/distinfo b/databases/pecl-mongodb/distinfo
index e0c40b70c021..a0c7fbf7fc99 100644
--- a/databases/pecl-mongodb/distinfo
+++ b/databases/pecl-mongodb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684050672
-SHA256 (PECL/mongodb-1.15.3.tgz) = 4f2c4e417fb606b462e870ec03656f3a97ba0b399dc24a6d9d153e9846134388
-SIZE (PECL/mongodb-1.15.3.tgz) = 1742661
+TIMESTAMP = 1710072420
+SHA256 (PECL/mongodb-1.17.2.tgz) = 84081b780d48af884d47f0339800c3666c664c66f0035c66d43a34a10fb67376
+SIZE (PECL/mongodb-1.17.2.tgz) = 2064433
diff --git a/databases/pecl-mongodb/files/patch-src_libmongoc_src_libbson_src_bson_bson-error.c b/databases/pecl-mongodb/files/patch-src_libmongoc_src_libbson_src_bson_bson-error.c
deleted file mode 100644
index 2512bbb0c4a5..000000000000
--- a/databases/pecl-mongodb/files/patch-src_libmongoc_src_libbson_src_bson_bson-error.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/libmongoc/src/libbson/src/bson/bson-error.c.orig	2023-05-09 08:13:22 UTC
-+++ src/libmongoc/src/libbson/src/bson/bson-error.c
-@@ -109,8 +109,6 @@ bson_strerror_r (int err_code,  /* IN */
-    if (strerror_s (buf, buflen, err_code) != 0) {
-       ret = buf;
-    }
--#elif defined(__GNUC__) && defined(_GNU_SOURCE)
--   ret = strerror_r (err_code, buf, buflen);
- #else /* XSI strerror_r */
-    if (strerror_r (err_code, buf, buflen) == 0) {
-       ret = buf;
diff --git a/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_mongocrypt-util.c b/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_mongocrypt-util.c
deleted file mode 100644
index 0dd47a80bbe5..000000000000
--- a/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_mongocrypt-util.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/libmongocrypt/src/mongocrypt-util.c.orig	2023-02-09 10:59:51 UTC
-+++ src/libmongocrypt/src/mongocrypt-util.c
-@@ -37,6 +37,8 @@
- 
- #include <errno.h>
- 
-+#define FreeBSD 1
-+
- #ifdef _WIN32
- #include <windows.h>
- #else
-@@ -78,7 +80,7 @@ current_module_path ()
-       }
-       free (path);
-    }
--#elif defined(_GNU_SOURCE) || defined(_DARWIN_C_SOURCE)
-+#elif defined(FreeBSD) || defined(_GNU_SOURCE) || defined(_DARWIN_C_SOURCE)
-    // Darwin/BSD/glibc define extensions for finding dynamic library info from
-    // the address of a symbol.
-    Dl_info info;
diff --git a/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_os__posix_os__dll.c b/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_os__posix_os__dll.c
index 9f3537ad51bc..66969fe7aa00 100644
--- a/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_os__posix_os__dll.c
+++ b/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_os__posix_os__dll.c
@@ -1,10 +1,10 @@
---- src/libmongocrypt/src/os_posix/os_dll.c.orig	2023-02-09 10:59:51 UTC
-+++ src/libmongocrypt/src/os_posix/os_dll.c
-@@ -17,6 +17,7 @@
+--- src/libmongocrypt/src/os_posix/os_dll.c.orig	2024-03-10 13:26:23.114373000 +0100
++++ src/libmongocrypt/src/os_posix/os_dll.c	2024-03-10 13:26:34.648726000 +0100
+@@ -98,6 +98,7 @@
+ #elif defined(__linux__) || defined(__FreeBSD__)
  
- #include "../mongocrypt-dll-private.h"
+ #include <link.h>
++#include <dlfcn.h>
  
-+#define _WIN32
- #ifndef _WIN32
- 
- #include <assert.h>
+ mcr_dll_path_result mcr_dll_path(mcr_dll dll) {
+     struct link_map *map;



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