Your message dated Fri, 12 Feb 2016 04:19:38 +0000
with message-id <e1au5ck-0005nv...@franck.debian.org>
and subject line Bug#774554: fixed in devscripts 2.16.1
has caused the Debian Bug report #774554,
regarding dcmd: please support .buildinfo files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
774554: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774554
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: devscripts
Version: 2.14.11
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: toolchain
Hi,
the attached patch enables dcmd to parse .buildinfo files as well. They
are generated as part of the ReproducibleBuilds effort:
https://wiki.debian.org/ReproducibleBuilds/BuildinfoSpecification
They will also be part of .changes files once they get generated by
dpkg.
Thanks!
cheers, josch
>From f9fa592a805136acd55b3f0b174003f199a07295 Mon Sep 17 00:00:00 2001
From: josch <j.scha...@email.de>
Date: Sun, 4 Jan 2015 11:14:48 +0100
Subject: [PATCH] dcmd: add support for .buildinfo files
---
scripts/dcmd.sh | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/scripts/dcmd.sh b/scripts/dcmd.sh
index 525123f..2c6406c 100755
--- a/scripts/dcmd.sh
+++ b/scripts/dcmd.sh
@@ -66,7 +66,7 @@ maybe_expand()
{
local dir
local sedre
- if [ -e "$1" ] && (endswith "$1" .changes || endswith "$1" .dsc); then
+ if [ -e "$1" ] && (endswith "$1" .changes || endswith "$1" .dsc || endswith "$1" .buildinfo); then
# Need to escape whatever separator is being used in sed expression so
# it doesn't prematurely end the s command
dir=$(dirname "$1" | sed 's/,/\\,/g')
@@ -78,7 +78,7 @@ maybe_expand()
}
DSC=1; BCHANGES=1; SCHANGES=1; ARCHDEB=1; INDEPDEB=1; TARBALL=1; DIFF=1
-CHANGES=1; DEB=1; ARCHUDEB=1; INDEPUDEB=1; UDEB=1;
+CHANGES=1; DEB=1; ARCHUDEB=1; INDEPUDEB=1; UDEB=1; BUILDINFO=1;
FILTERED=0; FAIL_MISSING=1
EXTRACT_PACKAGE_NAME=0
SORT=0
@@ -109,7 +109,7 @@ while [ $# -gt 0 ]; do
exit 1;;
0) FILTERED=1; DSC=0; BCHANGES=0; SCHANGES=0; CHANGES=0
ARCHDEB=0; INDEPDEB=0; DEB=0; ARCHUDEB=0; INDEPUDEB=0
- UDEB=0; TARBALL=0; DIFF=0;;
+ UDEB=0; TARBALL=0; DIFF=0; BUILDINFO=0;;
esac;;
*) break;;
esac
@@ -117,6 +117,7 @@ while [ $# -gt 0 ]; do
case "$TYPE" in
"") ;;
dsc) [ "$FILTERED" = "1" ] && DSC=1 || DSC=0;;
+ buildinfo) [ "$FILTERED" = "1" ] && BUILDINFO=1 || BUILDINFO=0;;
changes) [ "$FILTERED" = "1" ] &&
{ BCHANGES=1; SCHANGES=1; CHANGES=1; } ||
{ BCHANGES=0; SCHANGES=0; CHANGES=0; } ;;
@@ -156,7 +157,7 @@ $arg"
else
SEEN_INDEPDEB=0; SEEN_ARCHDEB=0; SEEN_SCHANGES=0; SEEN_BCHANGES=0
SEEN_INDEPUDEB=0; SEEN_ARCHUDEB=0; SEEN_UDEB=0;
- SEEN_TARBALL=0; SEEN_DIFF=0; SEEN_DSC=0
+ SEEN_TARBALL=0; SEEN_DIFF=0; SEEN_DSC=0; SEEN_BUILDINFO=0;
MISSING=0
newarg=""
# Output those items from the expanded list which were
@@ -206,6 +207,9 @@ $THISARG\";"
[ "$DSC" = "0" ] || echo "newarg=\"\$newarg
$THISARG\";"
echo "SEEN_DSC=1;"
+ [ "$BUILDINFO" = "0" ] || echo "newarg=\"\$newarg
+$THISARG\";"
+ echo "SEEN_BUILDINFO=1;"
elif endswith "$THISARG" .diff.gz; then
[ "$DIFF" = "0" ] || echo "newarg=\"\$newarg
$THISARG\";"
@@ -227,6 +231,9 @@ $THISARG\";"
elif endswith "$arg" .dsc; then
[ "$DSC" = "1" ] || INCLUDEARG=0
SEEN_DSC=1
+ elif endswith "$arg" .buildinfo; then
+ [ "$BUILDINFO" = "1" ] || INCLUDEARG=0
+ SEEN_BUILDINFO=1
fi
if [ "$FAIL_MISSING" = "1" ] && [ "$FILTERED" = "1" ]; then
@@ -270,6 +277,9 @@ $THISARG\";"
fi
+ if [ "$BUILDINFO" = "1" ] && [ "$SEEN_BUILDINFO" = "0" ]; then
+ MISSING=1; echo "$arg: .buildinfo file not found" >&2
+ fi
if [ "$DSC" = "1" ] && [ "$SEEN_DSC" = "0" ]; then
MISSING=1; echo "$arg: .dsc file not found" >&2
fi
--
2.0.1
--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.16.1
We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 774...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James McCoy <james...@debian.org> (supplier of updated devscripts package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 11 Feb 2016 21:07:17 -0500
Source: devscripts
Binary: devscripts
Architecture: source
Version: 2.16.1
Distribution: unstable
Urgency: medium
Maintainer: Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>
Changed-By: James McCoy <james...@debian.org>
Closes: 750024 774554 783497 803315 804735 809541 809554 809604 809662 809806
812119 812417 812661 812860 814447
Description:
devscripts - scripts to make the life of a Debian Package maintainer easier
Changes:
devscripts (2.16.1) unstable; urgency=medium
.
[ Antonio Terceiro ]
* uscan:
- fix regression in uscan when --destdir is set (Closes: #809662)
Patch by Alex Mestiashvili <mailatgo...@gmail.com>
- fix crash when --rename is passed (Closes: #812417)
- when scanning for directories called 'debian', ignore the ones that
don't have a file called 'watch'. This removes several annoying warnings
when uscan is run on a package that has several directories called
'debian' in its upstream source.
- fix English phrases when logging download-related actions
* mk-build-deps:
- When installing, pass `-o Debug::pkgProblemResolver=yes` to `apt-get
install` so that when build dependencies can't be satisfied, you know
why.
Otherwise it would just tell you that the *-build-deps package needs to
be removed and you will never know why.
* debian/control:
- change Vcs-Git: to a https:// URL
.
[ James McCoy ]
* checkbashisms:
+ Recognize dash as a valid shell.
+ Check scripts which use “#!/path/to/env $interpreter”
+ Allow %b as a printf conversion specifier. Thanks to Mike Frysinger for
the patch. (Closes: #804735)
* debian/tests/control: Add gcc as a dependency for dpkg-architecture.
* chdist:
+ Symlink, rather than copy, the archive keyrings into the chdist tree so
they don't get stale. (Closes: #783497)
* test_package_lifecycle: Ignore listing of dh_* commands in debuild output.
The specific commands aren't interesting, so much as the steps that the
build goes through. Fixes FTBFS due to new dh_update_autotools_config
command. (Closes: #812661)
* dd-list:
+ Use apt interfaces to find sources files and extract their contents,
instead of globbing and directly reading files.
* dcmd:
+ Support .buildinfo files. Thanks to Johannes Schauer for the patch.
(Closes: #774554)
* debsnap:
+ Remove use of JSON module in favor of the core Perl JSON::PP module.
Thanks to RjY and Jakub Wilk. (Closes: #803315)
* dep3changelog:
+ Recognize https URLs for Bug-Debian. (Closes: #750024)
.
[ Christoph Berg ]
* debcheckout: Add auth mapping for https://github.com.
.
[ Osamu Aoki ]
* uscan:
+ Fix regressions and glitches in the prioritizing mechanism of packages.
(Closes: #809604)
+ Fix regressions of the verbosety. (Closes: #809541, #809554)
+ Keep the original compressed file when decompressing it for the
signature verification. (Closes: #812860)
+ Write *.uscan.log only when requested by --log. (Closes: #809806)
+ Fix syntax of GitHub watch file example. (Closes: #814447)
* uscan, mk-origtargz:
+ Document Files-Excluded better. (Closes: #812119)
.
[ Dominique Dumont ]
* licensecheck:
+ detect LGPL license in Perl files handled by Dist::Zilla
Checksums-Sha1:
0472c93b894d8fb89a9fe4e25491f3fc80aa69a8 2368 devscripts_2.16.1.dsc
68e5391819589ba06f0ac68d33fb61e84ed29eb5 681124 devscripts_2.16.1.tar.xz
Checksums-Sha256:
fe4b40d1c8f92e6a27fa0c8cbff4244ecd36aa7863c12a031b645531fe567720 2368
devscripts_2.16.1.dsc
3f938d51c82c32171fc7db024bc4ad88310ec8542f258f0fd97c9a0f9611ce24 681124
devscripts_2.16.1.tar.xz
Files:
6c053bd8fcd6fda15c2b415a6f27479a 2368 devel optional devscripts_2.16.1.dsc
310a0e0a7fcf21a86f3ad860124b0b60 681124 devel optional devscripts_2.16.1.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJ8BAEBCgBmBQJWvT94XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MUJGQkY0RDY5NTZCRDVERjdCNzJEMjNE
RkU2OTFBRTMzMUJBM0RCAAoJEN/mka4zG6Pbr+UP/0YSMSlprqykpM4NYBq3Ibsn
uxZ/etASFt/nqcGcpSw1INwK/5nf1ZU7j9WNF4V1ceF5FYorWwDvYrZmnk6n205r
AHPnWy2Ev3P8Y6ddC71dr9RXUYgR/yykoptKQG0cMnlm293ICQODXkzA7CXIeIOd
da/1VpBfXI9ZJeSgFn2Riu0p7h0BR7BE+9+SHeX09lnM25XoaMuuvu/elK+45+vC
1VuxToeGKNEzhqtqQtfp3CvnN7EtAGZQLYff3tkGf5IX3dAMtfFkK+cwr5CVWGMm
rtr3+mfaTm7J8zWvYe61BG8gzLoGkYuQxVR+LrqHbTmEVI7am1/vgDaqh2yZwbTd
afXkkMPqEAd/dCPnQraMaxac/u2WcpMc1Tz6wofYQ9KtdR/30uXGoP1Koo/hzhJD
MS93NpNoFuLP+qMNEkiVOHPhhVGUqCRteysB03S+9k8dUjr1sfcJThvoUNjUpiQO
rlzx1kLWIZdfxZq9ypHzINmA1rlN2BrrdvyiJXTToVnVF24lo8dNWI2/fkSCDEFP
VOHMwniwT1NUOG9LTQd8MIT3vxsWPwSD50omUafDKxgAKSDXo83IF/3zkb0YFF7P
F6U4n53XjVMFBxUv+PL1kmsGZtvDJVgPnxRTL7nYMWD32QM9py1mDXQuOc4memhO
F4KrbDXKrsFJBx9hlZ6z
=DxQe
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel