Your message dated Sun, 17 Jan 2016 12:55:31 +0100
with message-id <20160117115531.GA24814@loar>
and subject line Re: Bug#787122: xtrlock: please make the build reproducible
has caused the Debian Bug report #787122,
regarding xtrlock: please make the build 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.)
--
787122: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787122
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xtrlock
Version: 2.7
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that xtrlock could not be built reproducibly.
The attached patch fixes the files mtime before building the binary
packages. Once applied, xtrlockcan be built reproducibly in our current
experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
--
Dhole
diff --git a/xtrlock-2.7/debian/rules b/xtrlock-2.7/debian/rules
index 91b1572..8cb574e 100755
--- a/xtrlock-2.7/debian/rules
+++ b/xtrlock-2.7/debian/rules
@@ -8,6 +8,7 @@ arch=$(shell dpkg --print-architecture)
STRIP=strip
DPKG_EXPORT_BUILDFLAGS = 1
+BUILD_DATE=$(shell dpkg-parsechangelog --show-field Date)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/buildflags.mk
@@ -60,6 +61,8 @@ binary-arch: checkroot build
chown root.shadow debian/tmp/usr/bin/xtrlock
chmod -R g-w debian/tmp
chmod 2755 debian/tmp/usr/bin/xtrlock
+ find debian/tmp -depth -newermt '$(BUILD_DATE)' -print0 | \
+ xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
dpkg --build debian/tmp ..
binary: binary-indep binary-arch
--- End Message ---
--- Begin Message ---
Dhole:
> The attached patch fixes the files mtime before building the binary
> packages.
We are now solving this directly in dpkg-deb. This change is not
required anymore.
--
Lunar .''`.
[email protected] : :Ⓐ : # apt-get install anarchism
`. `'`
`-
signature.asc
Description: Digital signature
--- End Message ---