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, 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