Bug#1109580: unblock: pdns-recursor/5.2.2-2
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: pdns-recursor@packages.debian.org
Control: affects -1 + src:pdns-recursor
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package pdns-recursor
[ Reason ]
Built-Using, X-Cargo-Built-Using were not emitted but should have
been.
The only change is to correctly emit these fields (and
Static-Built-Using) for license and security/rebuild reasons during
the trixie lifecycle.
[ Impact ]
Licensing impact (rustc needs to be kept around), and security
rebuild analysis would be harder.
[ Tests ]
I've manually checked the locally built binary.
[ Risks ]
IMO none.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock pdns-recursor/5.2.2-2
diff -Nru pdns-recursor-5.2.2/debian/changelog pdns-recursor-5.2.2/debian/changelog
--- pdns-recursor-5.2.2/debian/changelog 2025-04-09 23:19:32.000000000 +0200
+++ pdns-recursor-5.2.2/debian/changelog 2025-07-20 12:57:46.000000000 +0200
@@ -1,3 +1,9 @@
+pdns-recursor (5.2.2-2) unstable; urgency=medium
+
+ * Really emit (X-Cargo-|Static-)Built-Using fields (Closes: #1109579)
+
+ -- Chris Hofstaedtler <zeha@debian.org> Sun, 20 Jul 2025 12:57:46 +0200
+
pdns-recursor (5.2.2-1) unstable; urgency=medium
* New upstream version 5.2.2
diff -Nru pdns-recursor-5.2.2/debian/control pdns-recursor-5.2.2/debian/control
--- pdns-recursor-5.2.2/debian/control 2025-04-09 23:14:33.000000000 +0200
+++ pdns-recursor-5.2.2/debian/control 2025-07-20 12:51:45.000000000 +0200
@@ -58,6 +58,8 @@
${shlibs:Depends},
Built-Using:
${cargo:Built-Using},
+Static-Built-Using:
+ ${cargo:Static-Built-Using},
X-Cargo-Built-Using: ${cargo:X-Cargo-Built-Using}
Description: PowerDNS Recursor
High-performance resolving name server, utilizing multiple
diff -Nru pdns-recursor-5.2.2/debian/rules pdns-recursor-5.2.2/debian/rules
--- pdns-recursor-5.2.2/debian/rules 2025-04-09 23:14:33.000000000 +0200
+++ pdns-recursor-5.2.2/debian/rules 2025-07-20 12:57:46.000000000 +0200
@@ -66,6 +66,10 @@
install -d debian/pdns-recursor/usr/share/doc/pdns-recursor/examples
mv debian/pdns-recursor/etc/powerdns/recursor.yml-dist debian/pdns-recursor/usr/share/doc/pdns-recursor/examples/
install -m 644 -t debian/pdns-recursor/etc/powerdns debian/recursor.conf
+ # workaround for static libs in non-default dir, see https://salsa.debian.org/rust-team/dh-cargo/-/issues/1
+ ln -s ./settings/rust/target .
+ sed -e '/rustc-link-lib=static=settings/d' -i target/*/release/build/settings*/output
+ /usr/share/cargo/bin/dh-cargo-built-using pdns-recursor
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
Reply to: