From nobody Tue Aug 4 11:47:10 2026 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hDsGQ71dzz6n6G7 for ; Tue, 04 Aug 2026 11:47:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hDsGQ56Lgz3qgj for ; Tue, 04 Aug 2026 11:47:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785844030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pNpFG7FSLGSPQ4RXX2A0rF/Nas19kgCl5X6IP9bj/Jo=; b=aVmruJjR1lxj0Ooy3QttlzLbLFk1yKyhwl1yl6wWwu6DD4cKM43Mr0oQn8hJhhmBifwudQ 37MMLyxqRrhe4GXAS2a90ii8aj/WN+IQ9dVNGOqn3sT6dUVtHDMNH9F/cwyRhaPVsz0iKT 94yQGlbddsvNwl+SjcEtI1WxsT/mC/+/NXLlL9IdwcmEwzH8mwmTSXk3BdssepnU94YDVG pwsEx/TMuErdiHpnhfTOYo624eXjnthNTLkvHnXZC9gmdgTSYBSG42mY1Qs69IUUK+5o3x S7xDPDYKcBzfGrY+Epx+IuXQawtyKTgd+jAd8TlJYKSZLrl/V+AahV8RpE1Rcw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785844030; a=rsa-sha256; cv=none; b=ciaYEtWYlndSQai/II0MgXw2C94ZWrhb4cSVgOoP7wOe97jd1lybro4kGXBtZ9TLcLnyjm 8N1ViGC9vyZ0NveFZMhwFiZYkcQa5lkXMnf5E6AppqrHufJ9wUghpDSXappz7nvlgWZoJZ WScq69O8fXa7uUwZooin2kkQdMwL7P423B/b879iQDeWbsHt85ih+zaN5llggFuktbPEYs G1mFex24Z47cH0vdHSVGjIgnXzZSGf0dCEelo5pZPJEkVF3O86Ir4NurH4LoPTOMMs/qGy Jy0Q/poJrtYYAhiisdRjX3BE36WByUAeMx9TTytan/EX4UDrto4mH2w1EFNGRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785844030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pNpFG7FSLGSPQ4RXX2A0rF/Nas19kgCl5X6IP9bj/Jo=; b=lM6uzAgEZAPTQ/WTFRe49GJpJhCBug//V8Hng3s0Ulx5kPL1v17ZGQL9w+JLbSViXmwChc 7hsiM1j2foirV32eeLnJj2iIcGczkDMn/iDQpJ1j65syz4T5lYx1ukUj3Rs1xcBQevn9er iTaiAvvfwj28aetzDfourioBmiq43QpAToyz4OqzL7/emduHx61w5p41jN58NjSl2rCCRi QVw3uJcQ1EGeCkZVtc3yY1BbHrb6+DX7gTGjevfZtyIYLQurx3qucPRiFXGj0YGAAVzp7N lu83YAyVGVssG/WGBOi94a9cUFZyCN6NUK+nNqq6c75Tvi4uJQqpv62VwcKmkg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hDsGQ2y8yzlHw for ; Tue, 04 Aug 2026 11:47:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1a2ff by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 04 Aug 2026 11:47:10 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Hiroo Ono From: Yusuf Yaman Subject: git: 688a53eea553 - main - www/freenginx: chase devel/mongo-c-driver update List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nxjoseph X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 688a53eea55357f723928d992ec28861ac0e631b Auto-Submitted: auto-generated Date: Tue, 04 Aug 2026 11:47:10 +0000 Message-Id: <6a71d13e.1a2ff.2ab19d7c@gitrepo.freebsd.org> The branch main has been updated by nxjoseph: URL: https://cgit.FreeBSD.org/ports/commit/?id=688a53eea55357f723928d992ec28861ac0e631b commit 688a53eea55357f723928d992ec28861ac0e631b Author: Hiroo Ono AuthorDate: 2026-07-08 15:19:00 +0000 Commit: Yusuf Yaman CommitDate: 2026-08-04 11:46:48 +0000 www/freenginx: chase devel/mongo-c-driver update PR: 296606 Reported by: Hiroo Ono (author) Approved by: Jochen Neumeister (maintainer timeout, 3+ weeks) Approved by: osa, vvd (Mentors, implicit) --- www/freenginx/Makefile | 5 +++-- www/freenginx/Makefile.extmod | 7 +++++-- www/freenginx/files/extra-patch-nginx-gridfs_config | 14 ++++++++++++++ .../extra-patch-ngnx-gridfs_ngx_http_gridfs_module.c | 20 ++++++++++++++++++++ 4 files changed, 42 insertions(+), 4 deletions(-) diff --git a/www/freenginx/Makefile b/www/freenginx/Makefile index b6b09fe56b8e..32418c79591c 100644 --- a/www/freenginx/Makefile +++ b/www/freenginx/Makefile @@ -1,6 +1,6 @@ PORTNAME= freenginx PORTVERSION= 1.30.1 -PORTREVISION?= 3 +PORTREVISION?= 4 CATEGORIES= www MASTER_SITES= https://freenginx.org/download/ \ LOCAL/joneum @@ -287,7 +287,8 @@ post-patch-FASTDFS-on: ${WRKSRC_fastdfs}/src/config post-patch-GRIDFS-on: - @${REINPLACE_CMD} 's!\/usr!${LOCALBASE}!g' \ + @${REINPLACE_CMD} -e 's!%%LOCALBASE%%!${LOCALBASE}!g' \ + -e 's!%%MONGOC_VERSION%%!${MONGOC_VERSION}!g' \ ${WRKSRC_gridfs}/nginx-gridfs/config post-patch-HTTP_AUTH_KRB5-on: diff --git a/www/freenginx/Makefile.extmod b/www/freenginx/Makefile.extmod index cf9daebec29f..896d941a38a6 100644 --- a/www/freenginx/Makefile.extmod +++ b/www/freenginx/Makefile.extmod @@ -68,9 +68,12 @@ FORMINPUT_GH_TUPLE= calio:form-input-nginx-module:v0.12:forminput FORMINPUT_VARS= DSO_EXTMODS+=forminput GRIDFS_GH_TUPLE= nieoding:nginx-gridfs:059bdc3:gridfs -GRIDFS_LIB_DEPENDS= libbson-1.0.so:devel/libbson \ - libmongoc-1.0.so:devel/mongo-c-driver +GRIDFS_LIB_DEPENDS= libbson2.so:devel/libbson \ + libmongoc2.so:devel/mongo-c-driver GRIDFS_VARS= DSO_EXTMODS+=gridfs GRIDFS_SUBDIR=/nginx-gridfs +MONGOC_VERSION!= cd ${.CURDIR}/../../devel/mongo-c-driver; make -V DISTVERSION +GRIDFS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngnx-gridfs_ngx_http_gridfs_module.c \ + ${PATCHDIR}/extra-patch-nginx-gridfs_config HEADERS_MORE_GH_TUPLE= openresty:headers-more-nginx-module:06dc0be:headers_more HEADERS_MORE_VARS= DSO_EXTMODS+=headers_more diff --git a/www/freenginx/files/extra-patch-nginx-gridfs_config b/www/freenginx/files/extra-patch-nginx-gridfs_config new file mode 100644 index 000000000000..01c37fda60b1 --- /dev/null +++ b/www/freenginx/files/extra-patch-nginx-gridfs_config @@ -0,0 +1,14 @@ +--- ../nginx-gridfs-059bdc3/nginx-gridfs/config.orig 2026-07-07 12:40:20.001344000 +0000 ++++ ../nginx-gridfs-059bdc3/nginx-gridfs/config 2026-07-07 12:41:06.850920000 +0000 +@@ -1,7 +1,7 @@ + ngx_module_type=HTTP + ngx_module_name=ngx_http_gridfs_module +-ngx_module_incs="/usr/include/libmongoc-1.0 /usr/include/libbson-1.0" +-ngx_module_libs="-lmongoc-1.0 -lbson-1.0" ++ngx_module_incs="%%LOCALBASE%%/include/mongoc-%%MONGOC_VERSION%% %%LOCALBASE%%/include/bson-%%MONGOC_VERSION%%" ++ngx_module_libs="-lmongoc2 -lbson2" + ngx_module_srcs="$ngx_addon_dir/ngx_http_gridfs_module.c" + . auto/module +-ngx_addon_name=$ngx_module_name +\ No newline at end of file ++ngx_addon_name=$ngx_module_name diff --git a/www/freenginx/files/extra-patch-ngnx-gridfs_ngx_http_gridfs_module.c b/www/freenginx/files/extra-patch-ngnx-gridfs_ngx_http_gridfs_module.c new file mode 100644 index 000000000000..765dd2b067ff --- /dev/null +++ b/www/freenginx/files/extra-patch-ngnx-gridfs_ngx_http_gridfs_module.c @@ -0,0 +1,20 @@ +--- ../nginx-gridfs-059bdc3/nginx-gridfs/ngx_http_gridfs_module.c.orig 2018-01-20 07:53:32.000000000 +0000 ++++ ../nginx-gridfs-059bdc3/nginx-gridfs/ngx_http_gridfs_module.c 2026-07-07 14:27:08.501699000 +0000 +@@ -1,7 +1,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + +@@ -361,7 +361,7 @@ + bson_init(&filter); + bson_oid_init_from_string(&oid, (const char*)value); + bson_append_oid(&filter, "_id", -1, &oid); +- gfile = mongoc_gridfs_find_one(gridfs, &filter, &error); ++ gfile = mongoc_gridfs_find_one_with_opts(gridfs, &filter, NULL, &error); + + bson_destroy (&filter); +