File: README.source

package info (click to toggle)
mongo-c-driver 1.23.1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 41,364 kB
  • sloc: ansic: 176,588; javascript: 7,954; python: 4,498; sh: 136; makefile: 32; xml: 10; cpp: 2
file content (29 lines) | stat: -rw-r--r-- 1,954 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
The upstream libmongoc bundles zLib for compression support on systems where it
is not available.  The Debian package does not build using this embedded code.
Instead it depends on zlib1g-dev.  In order to prevent issues with shipping an
embedded copy of source code from another package, the upstream source is
modified to remove the bundled zlib sources.  This is accomplished by using the
--git-prebuild option of git-buildpackage to handle generation of the upstream
tarball without the embedded code.  See debian/gbp.conf for details.

================================================================================

With the introduction of libmongocrypt to Debian (#968995), the mongo-c-driver
package can now build libmongoc with Client-Side Field Level Encryption support.
However, libmongocrypt requires libbson-dev in order to build.  To prevent an
unresolvable Build-Depend cycle, the support for libmongocrypt in the
mongo-c-driver source package can be disabled by building with the
pkg.mongo-c-driver.no-libmongocrypt build profile.  Note that when this build
profile is active that only libbson packages are created, as the build profile
concept requires that "a binary package must contain the exact same content for
all profiles with which it builds including no activated profile at all".
(Consult https://wiki.debian.org/BuildProfileSpec for more information on how
build profiles work in Debian.)

When bootstrapping a new architecture or otherwise starting with a situation
where neither the mongo-c-driver nor the libmongocrypt source packages have been
built yet, first use the pkg.mongo-c-driver.no-libmongocrypt build profile to
build the mongo-c-driver source package.  Once that is done the libmongocrypt
source package can be built and once the libmongocrypt source package has been
built then the mongo-c-driver source package can be built with no build profile
to produce a complete set of libbson and libmongoc packages.