Skip to content

Commit

Permalink
devel/mongo-c-driver: Update version 1.24.2=>1.25.3
Browse files Browse the repository at this point in the history
Changelog: https://github.com/mongodb/mongo-c-driver/releases/tag/1.25.3

PR:		276017
Approved by:	submitter is maintainer
  • Loading branch information
Krzysztof authored and 5u623l20 committed Jan 1, 2024
1 parent 1f2e799 commit eeb9d4a
Show file tree
Hide file tree
Showing 4 changed files with 884 additions and 123 deletions.
16 changes: 9 additions & 7 deletions devel/mongo-c-driver/Makefile
@@ -1,8 +1,7 @@
PORTNAME= mongo-c-driver
DISTVERSION= 1.24.2
PORTREVISION= 1
DISTVERSION= 1.25.3
CATEGORIES= devel
MASTER_SITES= https://github.com/mongodb/${PORTNAME}/releases/download/${DISTVERSION}/
MASTER_SITES= https://codeload.github.com/mongodb/${PORTNAME}/tar.gz/${DISTVERSION}?dummy=/

MAINTAINER= ports@bsdserwis.com
COMMENT= C Driver for MongoDB
Expand Down Expand Up @@ -36,12 +35,14 @@ CRYPTOPROFILE_DESC= Use system crypto profile (requires OpenSSL)
MONGODBAWS_DESC= Enable support for the MONGODB-AWS authentication mechanism
RDTSCP_DESC= Fast performance counters on Intel using the RDTSCP instruction
SRV_DESC= Enable support for mongodb+srv URIs
UTF8PROC_DESC= SCRAM-SHA-256 authentication with non-ASCII passwords
UTF8PROC_DESC= SCRAM-SHA-256 authentication with non-ASCII passwords (Use system utf8proc instead of bundled one)

CRYPTOPROFILE_CMAKE_ON= -DENABLE_CRYPTO_SYSTEM_PROFILE=ON
CRYPTOPROFILE_CMAKE_OFF= -DENABLE_CRYPTO_SYSTEM_PROFILE=OFF

DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx-design>0:textproc/py-sphinx-design@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR}
DOCS_CMAKE_ON= -DENABLE_HTML_DOCS=ON -DENABLE_MAN_PAGES=ON

ICU_LIB_DEPENDS= libicudata.so:devel/icu
Expand All @@ -68,8 +69,9 @@ SRV_CMAKE_OFF= -DENABLE_SRV=OFF
SSL_USES= ssl
SSL_CMAKE_OFF= -DENABLE_SSL=OFF

UTF8PROC_CMAKE_ON= -DUSE_BUNDLED_UTF8PROC=ON
UTF8PROC_CMAKE_OFF= -DUSE_BUNDLED_UTF8PROC=OFF
UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
UTF8PROC_CMAKE_ON= -DUSE_BUNDLED_UTF8PROC=OFF
UTF8PROC_CMAKE_OFF= -DUSE_BUNDLED_UTF8PROC=ON

ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
ZSTD_CMAKE_ON= -DENABLE_ZSTD=ON
Expand Down
6 changes: 3 additions & 3 deletions devel/mongo-c-driver/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1690287039
SHA256 (mongo-c-driver-1.24.2.tar.gz) = 25813a220188d40140ca9c36a4b23abfb68fc7cbb37694187cc9852be470abd2
SIZE (mongo-c-driver-1.24.2.tar.gz) = 8231535
TIMESTAMP = 1703795554
SHA256 (mongo-c-driver-1.25.3.tar.gz) = d7cdedc5164b7b8ca39bb45bee789da44097052c882fa84996e4d90eec6fe8d3
SIZE (mongo-c-driver-1.25.3.tar.gz) = 7306922
11 changes: 11 additions & 0 deletions devel/mongo-c-driver/files/patch-build_sphinx_mongoc__common.py
@@ -0,0 +1,11 @@
--- build/sphinx/mongoc_common.py.orig 2023-12-13 02:45:10 UTC
+++ build/sphinx/mongoc_common.py
@@ -145,7 +145,7 @@ def generate_html_redirs(app: Sphinx, page: str, templ
return
if page == "index" or page.endswith(".index"):
return
- path = app.project.doc2path(page, absolute=True)
+ path = app.project.doc2path(page)
out_index_html = Path(builder.get_outfilename(page))
slug = out_index_html.parent.name
redirect_file = out_index_html.parent.parent / f"{slug}.html"

0 comments on commit eeb9d4a

Please sign in to comment.