Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2023 10:03:38 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ba881f888760 - main - databases/libmongocrypt: New Port: MongoDB companion C library for client side encryption
Message-ID:  <202303131003.32DA3cPs065036@gitrepo.freebsd.org>

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

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

commit ba881f8887605215142fbe417bc15a78c823007b
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2023-03-13 09:34:06 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-13 10:02:55 +0000

    databases/libmongocrypt: New Port: MongoDB companion C library for client side encryption
    
    MongoDB companion C library for client side encryption
    
    PR:             269506
---
 databases/Makefile                |  1 +
 databases/libmongocrypt/Makefile  | 26 ++++++++++++++++++++++++++
 databases/libmongocrypt/distinfo  |  3 +++
 databases/libmongocrypt/pkg-descr |  1 +
 databases/libmongocrypt/pkg-plist | 39 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 70 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index dcb922323bf1..ac6847bc443f 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -143,6 +143,7 @@
     SUBDIR += libmemcache
     SUBDIR += libmemcached
     SUBDIR += libmongo-client
+    SUBDIR += libmongocrypt
     SUBDIR += libmswstr
     SUBDIR += libnvpair
     SUBDIR += libodbc++
diff --git a/databases/libmongocrypt/Makefile b/databases/libmongocrypt/Makefile
new file mode 100644
index 000000000000..4d39937f6c7e
--- /dev/null
+++ b/databases/libmongocrypt/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	libmongocrypt
+DISTVERSION=	1.7.2
+CATEGORIES=	databases
+
+MAINTAINER=	hiroo.ono+freebsd@gmail.com
+COMMENT=	MongoDB companion C library for client side encryption in drivers
+WWW=		https://github.com/mongodb/libmongocrypt
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libbson-1.0.so:devel/libbson \
+		libmongoc-1.0.so:devel/mongo-c-driver
+
+USES=		cmake python:build ssl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mongodb
+
+CMAKE_OFF=	BUILD_TESTING ENABLE_ONLINE_TESTS \
+		MONGOCRYPT_ENABLE_DECIMAL128
+CMAKE_ON=	USE_SHARED_LIBBSON
+CMAKE_ARGS=	-DBUILD_VERSION=${DISTVERSION} \
+		-DMONGOCRYPT_MONGOC_DIR="USE-SYSTEM"
+
+.include <bsd.port.mk>
diff --git a/databases/libmongocrypt/distinfo b/databases/libmongocrypt/distinfo
new file mode 100644
index 000000000000..60f2c984dcb3
--- /dev/null
+++ b/databases/libmongocrypt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1676913399
+SHA256 (mongodb-libmongocrypt-1.7.2_GH0.tar.gz) = 451d991747a34a06eb0534cb6ec5d486a05c1bd607e66ca5597da170e569cde9
+SIZE (mongodb-libmongocrypt-1.7.2_GH0.tar.gz) = 4083364
diff --git a/databases/libmongocrypt/pkg-descr b/databases/libmongocrypt/pkg-descr
new file mode 100644
index 000000000000..17d54944785a
--- /dev/null
+++ b/databases/libmongocrypt/pkg-descr
@@ -0,0 +1 @@
+MongoDB companion C library for client side encryption in drivers
diff --git a/databases/libmongocrypt/pkg-plist b/databases/libmongocrypt/pkg-plist
new file mode 100644
index 000000000000..85b02ef3866d
--- /dev/null
+++ b/databases/libmongocrypt/pkg-plist
@@ -0,0 +1,39 @@
+include/kms_message/kms_azure_request.h
+include/kms_message/kms_b64.h
+include/kms_message/kms_caller_identity_request.h
+include/kms_message/kms_decrypt_request.h
+include/kms_message/kms_encrypt_request.h
+include/kms_message/kms_gcp_request.h
+include/kms_message/kms_kmip_request.h
+include/kms_message/kms_kmip_response.h
+include/kms_message/kms_kmip_response_parser.h
+include/kms_message/kms_message.h
+include/kms_message/kms_message_defines.h
+include/kms_message/kms_request.h
+include/kms_message/kms_request_opt.h
+include/kms_message/kms_response.h
+include/kms_message/kms_response_parser.h
+include/mongocrypt/mongocrypt-compat.h
+include/mongocrypt/mongocrypt-config.h
+include/mongocrypt/mongocrypt-export.h
+include/mongocrypt/mongocrypt.h
+lib/cmake/kms_message/kms_message-config-version.cmake
+lib/cmake/kms_message/kms_message-config.cmake
+lib/cmake/kms_message/kms_message_targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/kms_message/kms_message_targets.cmake
+lib/cmake/mongocrypt/mongocrypt-config-version.cmake
+lib/cmake/mongocrypt/mongocrypt-config.cmake
+lib/cmake/mongocrypt/mongocrypt_targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/mongocrypt/mongocrypt_targets.cmake
+lib/libbson-static-for-libmongocrypt.a
+lib/libkms_message-static.a
+lib/libkms_message.so
+lib/libkms_message.so.0
+lib/libkms_message.so.0.0.0
+lib/libmongocrypt-static.a
+lib/libmongocrypt.so
+lib/libmongocrypt.so.0
+lib/libmongocrypt.so.0.0.0
+libdata/pkgconfig/libkms_message.pc
+libdata/pkgconfig/libmongocrypt-static.pc
+libdata/pkgconfig/libmongocrypt.pc



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