Skip to content

Commit

Permalink
devel/libbson: update to 1.23.2
Browse files Browse the repository at this point in the history
ChangeLog: https://github.com/mongodb/mongo-c-driver/releases/tag/1.23.2

With work by Hiroo Ono.

PR:		269293
Reported by:	ports@bsdserwis.com (maintainer)
  • Loading branch information
Krzysztof authored and fernape committed Feb 4, 2023
1 parent ede3d9b commit cc7113a
Show file tree
Hide file tree
Showing 3 changed files with 575 additions and 34 deletions.
33 changes: 29 additions & 4 deletions devel/libbson/Makefile
@@ -1,17 +1,42 @@
PORTNAME= libbson
PORTVERSION= 1.8.1
PORTVERSION= 1.23.2
CATEGORIES= devel

MAINTAINER= ports@bsdserwis.com
COMMENT= BSON utility library
WWW= https://github.com/mongodb/libbson
WWW= https://github.com/mongodb/mongo-c-driver

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING

USES= cmake cpe pkgconfig
CPE_VENDOR= mongodb
USES= cmake:noninja cpe pkgconfig
USE_GITHUB= yes
CPE_VENDOR= mongodb
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-c-driver
USE_LDCONFIG= yes

DOCS_VARS= BUILD_DEPENDS+=sphinx-build:textproc/py-sphinx

PATCH_STRIP= -p1
CFLAGS+= -D__BSD_VISIBLE=1
LDFLAGS+= -pthread

OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=

CMAKE_ON= ENABLE_EXAMPLES
CMAKE_OFF= ENABLE_TESTS ENABLE_UNINSTALL
DOCS_CMAKE_ON= -DENABLE_HTML_DOCS=ON -DENABLE_MAN_PAGES=ON
CMAKE_ARGS= -DENABLE_MONGOC=OFF -DENABLE_BSON=ON
CMAKE_ARGS+= -DENABLE_ZLIB=ON -DENABLE_ZSTD=ON
CMAKE_ARGS+= -DBSON_HAVE_STRINGS_H=0

post-extract:
${ECHO} "${PORTVERSION}" > ${WRKSRC}/VERSION_CURRENT

post-install:
${MV} ${STAGEDIR}${PREFIX}/share/mongo-c-driver \
${STAGEDIR}${PREFIX}/share/libbson

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/libbson/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1508858982
SHA256 (mongodb-libbson-1.8.1_GH0.tar.gz) = 723e47244751e79dcc80fb8dd6f8cb096433bac8494bcfaf464191b6dcbf2d3e
SIZE (mongodb-libbson-1.8.1_GH0.tar.gz) = 4124283
TIMESTAMP = 1673237141
SHA256 (mongodb-mongo-c-driver-1.23.2_GH0.tar.gz) = a0f944ba659586d3a0751cdb544876ddf1ae2796efabba02a6af75efd8c61b1a
SIZE (mongodb-mongo-c-driver-1.23.2_GH0.tar.gz) = 6498979

0 comments on commit cc7113a

Please sign in to comment.