]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
recursor: restore explicit gzip compression for Ubuntu 12735/head
authorChris H <chris@hofstaedtler.name>
Tue, 11 Apr 2023 12:05:00 +0000 (14:05 +0200)
committerChris H <chris@hofstaedtler.name>
Tue, 11 Apr 2023 12:05:02 +0000 (14:05 +0200)
reprepro for builder.powerdns.com cannot handle xz compression yet, but
newer Debian and Ubuntu dh_builddeb turn it on by default.

Was accidentally removed in #10072.

builder-support/debian/recursor/debian-buster/rules

index f8340c43393cf44a0c7ed990ca626477e5af800a..bcfd5f65a17ed2a074ca39dabc3da1d2e354d10c 100755 (executable)
@@ -58,3 +58,9 @@ endif
 
 override_dh_gencontrol:
        dh_gencontrol -- $(SUBSTVARS)
+
+# Explicitly set a compression method, as Debian and Ubuntu defaults vary widely,
+# and xz support is not available in all tools yet. Removing this override can
+# make reprepro fail.
+override_dh_builddeb:
+       dh_builddeb -- -Zgzip