control: tag -1 + patch

Hi,

On 2025-05-29 22:53, Aurelien Jarno wrote:
> Package: liblxc-common
> Version: 1:5.0.2-1
> Severity: serious
> Justification: Policy 7.8
> 
> Dear maintainer,
> 
> The liblxc-common package provides /usr/sbin/init.lxc.static which is
> statically linked against glibc.
> 
> glibc is mostly is mostly licensed under the LGPL, which requires that
> the full source code of the incorporating binary package be made
> available. According to Debian Policy ยง7.8 [1] such a binary package
> MUST list the glibc source package (and possibly others) in the
> Built-Using: field.

Please find attached a patch to fix that.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net
--- lxc-6.0.4/debian/control
+++ lxc-6.0.4/debian/control
@@ -120,6 +120,7 @@
 Package: liblxc-common
 Section: libs
 Architecture: linux-any
+Built-Using: ${misc:Built-Using}
 Depends: liblxc1t64 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
 Breaks: lxc (<< 1:4.0.11-1~)
 Replaces: lxc (<< 1:4.0.11-1~)
--- lxc-6.0.4/debian/rules
+++ lxc-6.0.4/debian/rules
@@ -68,3 +68,6 @@
 
 override_dh_missing:
 	dh_missing --fail-missing
+
+override_dh_gencontrol:
+	dh_gencontrol -- -Vmisc:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version})' -W libc-dev-bin)"

Reply via email to