Your message dated Thu, 06 Aug 2015 12:19:20 +0000
with message-id <[email protected]>
and subject line Bug#793730: fixed in trscripts 1.17
has caused the Debian Bug report #793730,
regarding trscripts: please make the mtimes reproducible
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 [email protected]
immediately.)


-- 
793730: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793730
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: trscripts
Version: 1.16
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that trscripts could not be built reproducibly.

The attached patch sets the mtimes of all files which are modified
during the built to the date of the last changelog entry in order to
produce files with reproducible metadata. Please also consider this
other bug from the reproducible builds team:
https://bugs.debian.org/776927

Cheers,
akira

[1]: https://wiki.debian.org/ReproducibleBuilds

diff -Nru trscripts-1.16/debian/changelog trscripts-1.16+nmu1/debian/changelog
--- trscripts-1.16/debian/changelog     2009-05-02 12:56:35.000000000 +0200
+++ trscripts-1.16+nmu1/debian/changelog        2015-07-26 19:19:58.000000000 
+0200
@@ -1,3 +1,10 @@
+trscripts (1.16+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix mtimes before building binary packages to produce reproducible output
+
+ -- akira <[email protected]>  Sun, 26 Jul 2015 19:19:40 +0200
+
 trscripts (1.16) unstable; urgency=low
 
   * Use question mark as DEFAULT_CHAR
diff -Nru trscripts-1.16/debian/rules trscripts-1.16+nmu1/debian/rules
--- trscripts-1.16/debian/rules 2009-05-02 12:51:28.000000000 +0200
+++ trscripts-1.16+nmu1/debian/rules    2015-07-26 19:19:38.000000000 +0200
@@ -22,6 +22,8 @@
 
 package=trscripts
 
+export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog --count 1 
-SDate)" +%s)
+
 build:
        $(checkdir)
        $(MAKE)
@@ -57,6 +59,8 @@
        dpkg-gencontrol -isp
        chown -R root.root debian/tmp
        chmod -R go=rX,u=rwX debian/tmp
+       find debian/tmp -newermt "@$$SOURCE_DATE_EPOCH" -print0 | \
+               xargs -0r touch --no-dereference --date="@$$SOURCE_DATE_EPOCH"
        dpkg --build debian/tmp ..
 
 define checkdir

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: trscripts
Source-Version: 1.17

We believe that the bug you reported is fixed in the latest version of
trscripts, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Zinoviev <[email protected]> (supplier of updated trscripts 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 06 Aug 2015 15:01:27 +0300
Source: trscripts
Binary: trscripts
Architecture: source all
Version: 1.17
Distribution: unstable
Urgency: medium
Maintainer: Anton Zinoviev <[email protected]>
Changed-By: Anton Zinoviev <[email protected]>
Description:
 trscripts  - Scripts for reencoding text files and BDF-fonts
Closes: 793730
Changes:
 trscripts (1.17) unstable; urgency=medium
 .
   * Fix mtimes before building binary packages to produce reproducible
     output.  Thanks to akira <[email protected]> for the patch,
     closes: 793730.
Checksums-Sha1:
 67e58d1dcdfbe94b7fa08216181a96b974312c8a 1346 trscripts_1.17.dsc
 31a8f714584f7d508c3496d775e61f204bc50a38 290813 trscripts_1.17.tar.gz
 9fdb9efd26b5d46be4d570b0442ea34f55c1ebe4 80756 trscripts_1.17_all.deb
Checksums-Sha256:
 cae8b110ca8705c9d8251ce87e195b9199caeda1ba6577efacfb2ce65d097789 1346 
trscripts_1.17.dsc
 df1750011fef926980f3ae55da6bf184629bcc3f100b5ed2f9ae909b5d3bff6e 290813 
trscripts_1.17.tar.gz
 6eda3fa962de1fbac4bdb5842b8b3a33c092488b60f32c51f6317e90b7eb7858 80756 
trscripts_1.17_all.deb
Files:
 40041d0d8fe268089169cecd2725a5c5 1346 utils optional trscripts_1.17.dsc
 24d04791242e42baef597fb60e8772cf 290813 utils optional trscripts_1.17.tar.gz
 644d6c1a01717aa336616c8c85346bf8 80756 utils optional trscripts_1.17_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVw0zgAAoJEJO3FuOT+ximHN8P/0x5xEVmGSm6xsxOikbaVqDX
8tJn7qZHYlSEzWWce3jYjhbCkoGM81tIDEpOmz8SgiQjdv3ajvjXcDU/4JegsKZD
muLwOGr9qXC6e2DT7n7RKBwxUXsrKl5nQ+SdkyvA+TDKY4qYWhpvYR3b10BQyK8/
fne7mMtl8gPgF4s4IMT3k3sb9eN6AdJE3QclLWUnNPstvGCFCjjY7BYBijFJmEMm
0yJ91Zwu4b0mpyXfJl/hwtwh4Yzhih3pB24kMO2hbrgVaio/9TbtfqH5Qb2X4Hjp
rAQoIS9SzVJzIJVQcD1gvA4rktcTdeboLWollMwpL5elInwWovfQN3TQ8QjQloH2
9+PTtnI34zg56vopwt8HHGjqBIWKvh5xxO/tHN6SDUrAkoq1tnQ6LH7zYqfy1kD7
TCmsJncqWC6anUm6i5XYgNrGG3lFKCML6K3LQDKHkdKmbeR8vdnpH2j0MJj1wBK9
AhU7VgnrJFGebsLxFyDwO3+tjfmn26syQhpgBW5RkXArOmoniBD4QqD6lCqncTIn
JNcfGeVUlbVmVLJTYZDJ/qskbGT6ge74+949jQn3QE1j8aRPYAWRXQ+EWPgKLUo1
b3gXOfKjK2erAio7P8JRxRink1ZmPeAut6ybPGprWyoSf2zoaea+6le3y1Qrd3VE
CPs3QDJL56UhUXR1ESCP
=keki
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to