control: tag -1 + patch

Hi,

On 2025-05-29 22:43, Aurelien Jarno wrote:
> Package: balboa-backend-common
> Version: 2.0.0+ds-5
> Severity: serious
> Justification: Policy 7.8
> 
> Dear maintainer,
> 
> The balboa package provides /usr/bin/balboa-backend-console which is
> statically linked against glibc.
> 
> glibc is mostly using a LGPL license 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 issue.

Regards,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net
--- balboa-2.0.0+ds/debian/control
+++ balboa-2.0.0+ds/debian/control
@@ -43,6 +43,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: balboa
+Built-Using: ${misc:Built-Using}
 Description: Common files for balboa backends
  balboa is the BAsic Little Book Of Answers. It consumes and indexes
  observations from passive DNS collection, providing a GraphQL interface
--- balboa-2.0.0+ds/debian/rules
+++ balboa-2.0.0+ds/debian/rules
@@ -30,3 +30,6 @@
 	       	backend/balboa-rocksdb/build/balboa-rocksdb > debian/man/balboa-rocksdb.1
 	help2man --no-discard-stderr -N -n 'Backend maintenance console for balboa' \
 		backend/balboa-backend-console/build/balboa-backend-console > debian/man/balboa-backend-console.1
+
+override_dh_gencontrol:
+	dh_gencontrol -- -Vmisc:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version})' -W libc-dev-bin)"

Reply via email to