[debhelper-devel] 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

Hi!

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`
process.

 [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/debhelper-devel/attachments/20140830/f7b32f94/attachment-0001.sig>


More information about the debhelper-devel mailing list