--- Begin Message ---
Source: luakit
Version: 2012.09.13-r1-4
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that luakit 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.
Cheers,
akira
[1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru luakit-2012.09.13-r1/debian/changelog luakit-2012.09.13-r1/debian/changelog
--- luakit-2012.09.13-r1/debian/changelog 2015-05-26 03:46:14.000000000 +0200
+++ luakit-2012.09.13-r1/debian/changelog 2015-07-14 21:45:24.000000000 +0200
@@ -1,3 +1,9 @@
+luakit (2012.09.13-r1-5) UNRELEASED; urgency=medium
+
+ * Fix mtimes before building binary packages to produce reproducible output
+
+ -- akira <marivalenm@gmail.com> Tue, 14 Jul 2015 21:45:01 +0200
+
luakit (2012.09.13-r1-4) unstable; urgency=medium
* Patch from Chris Lamb to make the build reproducible.
diff -Nru luakit-2012.09.13-r1/debian/rules luakit-2012.09.13-r1/debian/rules
--- luakit-2012.09.13-r1/debian/rules 2015-05-26 03:45:48.000000000 +0200
+++ luakit-2012.09.13-r1/debian/rules 2015-07-14 21:43:50.000000000 +0200
@@ -13,6 +13,8 @@
DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+
STRIP=strip
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
@@ -81,6 +83,8 @@
chmod a-x debian/$(package)/usr/share/luakit/lib/lousy/*.lua
chown -R root:root debian/$(package)
chmod -R go=rX debian/$(package)
+ find debian/luakit -newermt '$(BUILD_DATE)' -print0 | \
+ xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
dpkg --build debian/$(package) ..
--- End Message ---
--- Begin Message ---
Source: luakit
Source-Version: 2012.09.13-r1-5
We believe that the bug you reported is fixed in the latest version of
luakit, 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 792977@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated luakit 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 27 Aug 2015 19:37:18 +0200
Source: luakit
Binary: luakit
Architecture: source
Version: 2012.09.13-r1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Description:
luakit - fast and small web browser extensible by Lua
Closes: 792977
Changes:
luakit (2012.09.13-r1-5) unstable; urgency=medium
.
* QA upload.
[ Maria Valentina Marin ]
* Fix mtimes before building binary packages. Closes: #792977.
Checksums-Sha1:
b7dc8a0d93436934b7f2f7c6b2e70ae58eb6fbb8 1581 luakit_2012.09.13-r1-5.dsc
b1e708044f25fd62c6ef083d9e14b9c43bc43dac 6660 luakit_2012.09.13-r1-5.debian.tar.xz
Checksums-Sha256:
dea5c3742a5776321975de112827b2e81c91c26f3b87a7d29007cdb600a55342 1581 luakit_2012.09.13-r1-5.dsc
678bbf1e959d7805727edf89e1b2ba1396a0a093a44d2f249fa48c2152c5b4e7 6660 luakit_2012.09.13-r1-5.debian.tar.xz
Files:
8a76ce65701a93b0bc978d458a96a85a 1581 web optional luakit_2012.09.13-r1-5.dsc
5a05ee563b858b0323395f1c22a4e61a 6660 web optional luakit_2012.09.13-r1-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJV301RAAoJEEHOfwufG4sy0HAH/RDuKTrUa58I3zS7OkWNL2q3
MOMlKlO+mBkDkcVVTGe7Z7oFW7A7QTn65tnvV7lSsu9D2QnQ9WHEbzm+cDskXwax
sjJjovXyoW3Cf9B7UmWsXSj84ZotM2r4m4nwYUsKvmw9qCeBRV1KgILvUKFswAt6
Sy6mVl/WiOUlrBMkzPaj4GgZhUkhBT9IOUR6yfH72TSOykhruEdC6qGocYmW7sNU
ljo5DclL3Cdsw7U7TDwEo2K6fcqaeTKw73JtpvNVvbrJQUtQH06baBtNZXowVJnj
1KWWF2FqGb4su5Bzb2GFFpDKY2c8eKeX6td/YAsn9xt9XgfRf5Ay2BkZpwECo7w=
=ON6t
-----END PGP SIGNATURE-----
--- End Message ---