From f5a24acea31248f98db51d7a2fd1d7b2198bb177 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 20 Dec 2024 12:03:26 +0100 Subject: debian: Plug sqv into the package build Our goal is for each platform to have one blessed OpenPGP verification system: Platforms that support sqv get sqv, platforms that don't get gpgv. To do so we hardcode the architecture list at build time. At build time we check if /usr/bin/sqv exists, which is the condition that apt uses to see if it should build with sqv support. We use a slight hack here to build with sqv on the official Debian buildds but use gpgv on Ubuntu by abusing the fact that Ubuntu resolves alternative build dependencies, and gpgv is installed in the buildd image. --- debian/tests/control | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/tests/control') diff --git a/debian/tests/control b/debian/tests/control index 428bed456..67cbe25b4 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -8,6 +8,7 @@ Depends: @, @builddeps@, dpkg (>= 1.20.8), expect, fakeroot, wget, stunnel4, lso gpgv, gpgv-sq, sq (>= 0.40), + sqv, moreutils, jq, libfile-fcntllock-perl, python3-apt, aptitude, -- cgit v1.2.3-70-g09d2