Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: libc...@packages.debian.org
Control: affects -1 + src:libcap2
Hi,
libcap2 was recently unblocked in unstable (#1107115); this takes one
fix from it, to close an RC bug in stable.
[ Reason ]
Compliance with Policy ยง 7.8.
[ Impact ]
Users might not be able to acquire the full source code that when into
the binaries of this package.
[ Tests ]
None, this just affects the build. If it passes, all is good.
[ Risks ]
As this only changes the package metadata, this is risk-free to the user.
[ 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 (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
The build is modified to add a Built-Using field.
diff -Nru libcap2-2.66/debian/changelog libcap2-2.66/debian/changelog
--- libcap2-2.66/debian/changelog 2025-03-15 13:43:35.000000000 +0100
+++ libcap2-2.66/debian/changelog 2025-05-30 12:13:17.000000000 +0200
@@ -1,3 +1,10 @@
+libcap2 (1:2.66-4+deb12u2) bookworm; urgency=medium
+
+ [ Aurelien Jarno ]
+ * Add missing Built-Using: glibc (Closes: #1106802)
+
+ -- Christian Kastner <c...@debian.org> Fri, 30 May 2025 12:13:17 +0200
+
libcap2 (1:2.66-4+deb12u1) bookworm; urgency=medium
* Cherry-pick patch fixing CVE-2025-1390.
diff -Nru libcap2-2.66/debian/control libcap2-2.66/debian/control
--- libcap2-2.66/debian/control 2025-03-15 13:43:35.000000000 +0100
+++ libcap2-2.66/debian/control 2025-05-30 12:13:17.000000000 +0200
@@ -45,6 +45,7 @@
Section: libdevel
Architecture: linux-any
Multi-Arch: same
+Built-Using: ${misc:Built-Using}
Depends: libcap2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Suggests: manpages-dev
Provides: libcap2-dev
diff -Nru libcap2-2.66/debian/rules libcap2-2.66/debian/rules
--- libcap2-2.66/debian/rules 2025-03-15 13:43:35.000000000 +0100
+++ libcap2-2.66/debian/rules 2025-05-30 12:13:17.000000000 +0200
@@ -111,3 +111,6 @@
dh_makeshlibs -V'libcap2 (>= $(SHLIBS_MINVER))' -plibcap2 \
--add-udeb=libcap2-udeb -- -c4
dh_makeshlibs --remaining-packages -- -c4
+
+override_dh_gencontrol:
+ dh_gencontrol -- -Vmisc:Built-Using="$(shell dpkg-query -f
'$${source:Package} (= $${source:Version})' -W libc-dev- bin)"