From: Chris Hofstaedtler Date: Mon, 24 Feb 2025 11:46:39 +0000 (+0100) Subject: rec: fix reproducibility issue in debian package build X-Git-Tag: dnsdist-2.0.0-alpha1~34^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3d17cd46a2b98149085af37606bfe616c83b21c;p=thirdparty%2Fpdns.git rec: fix reproducibility issue in debian package build See http://bugs.debian.org/1098691 Apparently there are no guarantees on the shell behaviour. --- diff --git a/builder-support/debian/recursor/debian-buster/recursor.conf b/builder-support/debian/recursor/debian-buster/recursor.conf new file mode 100644 index 0000000000..c01dd0d171 --- /dev/null +++ b/builder-support/debian/recursor/debian-buster/recursor.conf @@ -0,0 +1,12 @@ +dnssec: + # validation: process # default + trustanchorfile: /usr/share/dns/root.key +recursor: + hint_file: /usr/share/dns/root.hints + include_dir: /etc/powerdns/recursor.d +incoming: + # listen: + # - 127.0.0.1 # default +outgoing: + # source_address: + # - 0.0.0.0 # default diff --git a/builder-support/debian/recursor/debian-buster/rules b/builder-support/debian/recursor/debian-buster/rules index 0d9c68cc71..4e9b72d7f6 100755 --- a/builder-support/debian/recursor/debian-buster/rules +++ b/builder-support/debian/recursor/debian-buster/rules @@ -47,20 +47,7 @@ override_dh_auto_install: install -m 644 -t debian/pdns-recursor/usr/share/pdns-recursor/snmp RECURSOR-MIB.txt rm -f debian/pdns-recursor/etc/powerdns/recursor.conf-dist rm -f debian/pdns-recursor/etc/powerdns/recursor.yml-dist - @echo "\ - dnssec:\n\ - # validation: process # default\n\ - trustanchorfile: /usr/share/dns/root.key\n\ - recursor:\n\ - hint_file: /usr/share/dns/root.hints\n\ - include_dir: /etc/powerdns/recursor.d\n\ - incoming:\n\ - # listen:\n\ - # - 127.0.0.1 # default\n\ - outgoing:\n\ - # source_address:\n\ - # - 0.0.0.0 # default\n\ - " > debian/pdns-recursor/etc/powerdns/recursor.conf + install -m 644 -t debian/pdns-recursor/etc/powerdns debian/recursor.conf override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))