On 2016-02-27 22:53, Andreas Beckmann wrote: > Source: tsocks > Version: 1.8beta5-9.3 > Severity: important > Control: clone -1 -2 > Control: reassign -2 dpkg > Control: retitle -2 dpkg: should fail to create packages with invalid package > relationships, e.g. Built-Using: libc6 (= ) > > Hi, > > @tsocks: > tsocks builds packages on !linux architectures that are not accepted > into the archive since they contain invalid Built-Using entries like > > Built-Using: libc6 (= )
I have just done a non maintainer upload to fix this issue. Please find the corresponding diff attached. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B [email protected] http://www.aurel32.net
diff -Nru tsocks-1.8beta5/debian/changelog tsocks-1.8beta5/debian/changelog --- tsocks-1.8beta5/debian/changelog 2016-01-17 01:59:07.000000000 +0100 +++ tsocks-1.8beta5/debian/changelog 2016-02-29 18:40:38.000000000 +0100 @@ -1,3 +1,11 @@ +tsocks (1.8beta5-9.4) unstable; urgency=medium + + * Non-maintainer upload. + * Generate a correct Built-Using entry when libc is not name libc6 + (Closes: #816136). + + -- Aurelien Jarno <[email protected]> Mon, 29 Feb 2016 18:40:25 +0100 + tsocks (1.8beta5-9.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru tsocks-1.8beta5/debian/rules tsocks-1.8beta5/debian/rules --- tsocks-1.8beta5/debian/rules 2016-01-17 01:52:59.000000000 +0100 +++ tsocks-1.8beta5/debian/rules 2016-02-29 15:08:47.000000000 +0100 @@ -96,14 +96,12 @@ dh_fixperms dh_makeshlibs - ./debian/util/write-built-using - #create conffiles automagically: #find $(CURDIR)/debian/$(package)/etc -type f|sed s:$(CURDIR)/debian/$(package):: >$(CURDIR)/debian/conffiles dh_installdeb dh_shlibdeps - dh_gencontrol + dh_gencontrol -- -Vextra:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libc-dev-bin)" dh_md5sums dh_builddeb diff -Nru tsocks-1.8beta5/debian/util/write-built-using tsocks-1.8beta5/debian/util/write-built-using --- tsocks-1.8beta5/debian/util/write-built-using 2016-01-17 01:52:59.000000000 +0100 +++ tsocks-1.8beta5/debian/util/write-built-using 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -#!/bin/sh - -EXTRA_PACKAGES="libc6" -echo -n "extra:Built-Using=" >> debian/tsocks.substvars -for package in $EXTRA_PACKAGES; do - dpkg-query -f '${source:Package} (= ${source:Version}), ' -W $package 2>/dev/null -done >> debian/tsocks.substvars -echo >> debian/tsocks.substvars
signature.asc
Description: PGP signature

