From 9c88146f956c58f1de17c43e79edbe11564ad2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20C=2E=20S=C3=A1nchez?= Date: Thu, 2 Oct 2025 15:15:42 -0400 Subject: [PATCH 1/2] use lower debhelper compat level on obsolete Debian/Ubuntu releases --- .evergreen/create-packages-and-repos.sh | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.evergreen/create-packages-and-repos.sh b/.evergreen/create-packages-and-repos.sh index 43fbbcb01..51b2294c8 100644 --- a/.evergreen/create-packages-and-repos.sh +++ b/.evergreen/create-packages-and-repos.sh @@ -52,6 +52,39 @@ pushd "$LIBMONGOCRYPT_DIR/" (git remote | grep -q upstream) || git remote add upstream https://github.com/mongodb/libmongocrypt git fetch upstream git checkout $(git rev-parse upstream/debian/unstable) -- debian + # The 1.16.0-1 Debian package bumped the debhelper compatibility level to 13, but this level + # isn't supported on some of the older (now unsupported) versions we still build for; so, + # patch back to a lower level for the versions that don't support the current level + if [[ ! -x /usr/bin/dh_assistant ]]; then + + patch -p1 < + Uploaders: Kevin Albertson , + Roberto C. Sanchez +-Build-Depends: debhelper-compat (= 13), ++Build-Depends: debhelper (>= 10), + cmake, + libssl-dev, + pkgconf, +EOF + + else + # even on the newer versions, we need to specify via debian/compat, owing to the + # barebones debian/control file we use for PPA packaging + echo 13 > debian/compat + fi popd pushd "$LIBMONGOCRYPT_DIR/etc/" # The files from libmongocrypt/debian/ are the official maintainer scripts, From 93987157eedd92b0ada5c5f7cfd2465b141b1b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20C=2E=20S=C3=A1nchez?= Date: Thu, 2 Oct 2025 17:34:16 -0400 Subject: [PATCH 2/2] drop former contributors --- etc/debian/control | 2 -- 1 file changed, 2 deletions(-) diff --git a/etc/debian/control b/etc/debian/control index 25083421c..af0eadf6b 100644 --- a/etc/debian/control +++ b/etc/debian/control @@ -2,8 +2,6 @@ Source: libmongocrypt Priority: optional Maintainer: Mongo C Driver Team Uploaders: Kevin Albertson , - Clyde Bazile , - Samantha Ritter , Roberto C. Sanchez Standards-Version: 4.5.0 Section: libs