From nobody Mon Mar 13 10:03:38 2023 X-Original-To: dev-commits-ports-main@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 4PZsgG2r3Rz3xTvP; Mon, 13 Mar 2023 10:03:38 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PZsgG22vgz3Kyg; Mon, 13 Mar 2023 10:03:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678701818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L2wxv2fGPTtq45IIsa1kFeZSSb8tVNxwzLBGJleponU=; b=EqrZDx4j7EjOyy8k2alKHWKdDs914Gf/lfSDnQ4VI68YR9mkWU0nH1Is5DH1kYeOBrfeFU 67VgZ5n3JBJOR39kBerJNGNwjC5jzIpvOuGJAa8YVeuxi+eYix3jkjo1LozeM3rLYNSITh 212jR7oqMjgOVl+YIPSaMLXdGqeyq7NVSfx12nWedaQXy9Hmg/0GyTdbnnI3FdV+J/Km8h tDPQwat7zGZhRQZIR80DS4b5Rv+sNHd7Eidwn27Qltkn+B1a49GFHdKNNB6LuJydNth3RY Pr2YtGXZ3gCxIqluG6eF8KZmWL5Lxv9P6DEG6cVesUnuSqMdxVN+RM2zTaCXhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678701818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L2wxv2fGPTtq45IIsa1kFeZSSb8tVNxwzLBGJleponU=; b=eBZ1/1zhqKtKIzpacMkSgjfeGzRD8b1sPPqu9UNU9XClN7+tbWtT8RiBF5OcqcV7AnmtHq 0jzbjIbkN/5fLT4bJcfo/Yvl7SF2gzHwmxfui+f27QLUyh50a/SulprkdhU7dW/bSkkJ6H RBYEQbnQF0R66AJclqJlY7NYY8YUnB4XsiSOxHFI2QqIHjYot57B6Qb5EcSDQZ5/I/HyGY wigmE73r07x0swvFZ7GUlM3fkkKA0+T02rmutoScJ7K1I62Ne54DF2kUKqlkbthk/3BGRP IFhsM12tzCi2PzTEPyIZXO3koU5Ogvbpyl34BZXUBbO8/edtRHHJQRzo/RtcGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678701818; a=rsa-sha256; cv=none; b=uOMXpbRxWL/GPqMCjKpfY3x8dlCcYsnCLKfTbCRG2Jqz++CokXmLSH1F7Zvte4BqUsghwa jae+ONCwxAUMnpehCGNvJy1ZCXulR9YxDGwjmCtWj42W0BKuwoS3MFKdn72Qc/aYPLZNm+ 1kEbkJbiWFkkTm8nxTBPsxzn0IYfuHbfXLzl1eouvlw4zq3yWN2xy2eX3I7oAKTGoRqLCi LHcTzLeFbBNs37YezFEDRXXXtDohiuG99Xjc3AlkUJOH2IdBjUuf/riL++aQjRPSr7We7w ZrO8VqGmHkaM/NyhOjuxg1fzLxQilgDg3qZ3ri1uaZII3vNNOyAzF2VUaI1mXg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PZsgG18L9zpf1; Mon, 13 Mar 2023 10:03:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32DA3c0a065037; Mon, 13 Mar 2023 10:03:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32DA3cPs065036; Mon, 13 Mar 2023 10:03:38 GMT (envelope-from git) Date: Mon, 13 Mar 2023 10:03:38 GMT Message-Id: <202303131003.32DA3cPs065036@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: ba881f888760 - main - databases/libmongocrypt: New Port: MongoDB companion C library for client side encryption List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba881f8887605215142fbe417bc15a78c823007b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba881f8887605215142fbe417bc15a78c823007b commit ba881f8887605215142fbe417bc15a78c823007b Author: Hiroo Ono AuthorDate: 2023-03-13 09:34:06 +0000 Commit: Daniel Engberg 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 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