SERVER-104338: Define debian package files for mongodb crypt v1 package. (#35841)

Co-authored-by: Zack Winter <3457246+zackwintermdb@users.noreply.github.com>
GitOrigin-RevId: 08ecc502f9249fa4743ca22870761f9789d9f4f6
This commit is contained in:
patricearruda84 2025-05-06 20:07:46 -04:00 committed by MongoDB Bot
parent 9c69faba5c
commit 00945cc502
8 changed files with 179 additions and 0 deletions

3
.github/CODEOWNERS vendored
View File

@ -173,6 +173,9 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot
# The following patterns are parsed from ./buildscripts/tracing_profiler/OWNERS.yml
/buildscripts/tracing_profiler/**/* @10gen/query @svc-auto-approve-bot
# The following patterns are parsed from ./debian/OWNERS.yml
/debian/**/* @10gen/devprod-build @svc-auto-approve-bot
# The following patterns are parsed from ./docs/OWNERS.yml
/docs/**/building.md @10gen/devprod-build @svc-auto-approve-bot
/docs/**/cpp_style.md @10gen/server-programmability @svc-auto-approve-bot

5
debian/OWNERS.yml vendored Normal file
View File

@ -0,0 +1,5 @@
version: 1.0.0
filters:
- "*":
approvers:
- 10gen/devprod-build

View File

@ -0,0 +1,27 @@
Source: mongodb-enterprise-crypt-v1
Section: database
Priority: optional
Maintainer: MongoDB Packaging <packaging@mongodb.com>
Standards-Version: 3.8.0
Homepage: http://www.mongodb.org
Package: mongodb-enterprise-crypt-v1
Conflicts: mongodb-enterprise-unstable-crypt-v1
Architecture: any
Description: MongoDB Enterprise Field Level Encryption Crypto v1 Library
MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDB's native replication and automated failover enable enterprise-grade reliability and operational flexibility.
.
MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of applications. It is an agile database that allows schemas to change quickly as applications evolve, while still providing the functionality developers expect from traditional databases, such as secondary indexes, a full query language and strict consistency.
.
MongoDB has a rich client ecosystem including hadoop integration, officially supported drivers for 10 programming languages and environments, as well as 40 drivers supported by the user community.
.
MongoDB features:
* JSON Data Model with Dynamic Schemas
* Auto-Sharding for Horizontal Scalability
* Built-In Replication for High Availability
* Rich Secondary Indexes, including geospatial
* TTL indexes
* Text Search
* Aggregation Framework & Native MapReduce
.
This package contains MongoDB Enterprise Field Level Encryption Crypto v1 library.

View File

@ -0,0 +1,4 @@
LICENSE-Enterprise.txt
README
THIRD-PARTY-NOTICES
MPL-2

55
debian/mongodb-enterprise-crypt-v1.rules vendored Executable file
View File

@ -0,0 +1,55 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
configure: configure-stamp
configure-stamp:
dh_testdir
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -rf $(CURDIR)/debian/mongodb-enterprise-crypt-v1
dh_clean debian/files
install: build
dh_testdir
dh_testroot
dh_prep
mkdir -p $(CURDIR)/debian/mongodb-enterprise-crypt-v1/usr/include/mongo_crypt/v1/mongo_crypt
install -m 644 $(CURDIR)/include/mongo_crypt/v1/mongo_crypt/mongo_crypt.h $(CURDIR)/debian/mongodb-enterprise-crypt-v1/usr/include/mongo_crypt/v1/mongo_crypt
mkdir -p $(CURDIR)/debian/mongodb-enterprise-crypt-v1/usr/lib
install -m 755 $(CURDIR)/lib/mongo_crypt_v1.so $(CURDIR)/debian/mongodb-enterprise-crypt-v1/usr/lib
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

View File

@ -0,0 +1,27 @@
Source: mongodb-enterprise-unstable-crypt-v1
Section: database
Priority: optional
Maintainer: MongoDB Packaging <packaging@mongodb.com>
Standards-Version: 3.8.0
Homepage: http://www.mongodb.org
Package: mongodb-enterprise-unstable-crypt-v1
Conflicts: mongodb-enterprise-crypt-v1
Architecture: any
Description: MongoDB Enterprise Field Level Encryption Crypto v1 Library
MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDB▒~@~Ys native replication and automated failover enable enterprise-grade reliability and operational flexibility.
.
MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of applications. It is an agile database that allows schemas to change quickly as applications evolve, while still providing the functionality developers expect from traditional databases, such as secondary indexes, a full query language and strict consistency.
.
MongoDB has a rich client ecosystem including hadoop integration, officially supported drivers for 10 programming languages and environments, as well as 40 drivers supported by the user community.
.
MongoDB features:
* JSON Data Model with Dynamic Schemas
* Auto-Sharding for Horizontal Scalability
* Built-In Replication for High Availability
* Rich Secondary Indexes, including geospatial
* TTL indexes
* Text Search
* Aggregation Framework & Native MapReduce
.
This package contains MongoDB Enterprise Field Level Encryption Crypto v1 library.

View File

@ -0,0 +1,4 @@
LICENSE-Enterprise.txt
README
THIRD-PARTY-NOTICES
MPL-2

View File

@ -0,0 +1,54 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
configure: configure-stamp
configure-stamp:
dh_testdir
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -rf $(CURDIR)/debian/mongodb-enterprise-unstable-crypt-v1
dh_clean debian/files
install: build
dh_testdir
dh_testroot
dh_prep
mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-crypt-v1/usr/include/mongo_crypt/v1/mongo_crypt
install -m 644 $(CURDIR)/include/mongo_crypt/v1/mongo_crypt/mongo_crypt.h $(CURDIR)/debian/mongodb-enterprise-unstable-crypt-v1/usr/include/mongo_crypt/v1/mongo_crypt
mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-crypt-v1/usr/lib
install -m 755 $(CURDIR)/lib/mongo_crypt_v1.so $(CURDIR)/debian/mongodb-enterprise-unstable-crypt-v1/usr/lib
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure