[Reproducible-builds] Bug#759886: debhelper: please make mtimes of packaged files deterministic

Jérémy Bobbio lunar at debian.org
Sat Aug 30 20:15:49 UTC 2014

Package: debhelper
Version: 9.20140817
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain, timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org


As part of the “reproducible builds” project [1], it would be great to
get the files shipped in the Debian package have deterministic mtimes.

The attached patch will add a new helper `dh_fixmtimes`, largely
inspired by `dh_fixperms`, that will change the modification time of any
file that has been created later than the time of the latest
debian/changelog entry to the time of the latest debian/changelog entry.

This helper is set to run right before `dh_builddeb` in the `dh`

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

Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20140830/f7b32f94/attachment.sig>

More information about the Reproducible-builds mailing list