Bug#862179: acct: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue May 9 14:26:59 UTC 2017
Source: acct
Version: 6.6.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that acct could not be built reproducibly due to it updating
the timestamps in the documentation to the current time.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2017-05-09 14:58:18.514480796 +0100
--- b/debian/rules 2017-05-09 15:26:27.069147616 +0100
@@ -1,4 +1,5 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
@@ -13,6 +14,9 @@
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
$(NULL)
+ # Ensure any embedded "updated.." timestamps in documentation match the
+ # latest entry in debian/changelog.
+ touch --date="@$(SOURCE_DATE_EPOCH)" accounting.texi
override_dh_auto_build:
dh_auto_build
More information about the Pkg-security-team
mailing list