Source: libtest-log4perl-perl Version: 0.1001-3.1 Severity: wishlist Tags: patch User: [email protected] Usertags: timestamps
Hi! While working on the “reproducible builds” effort [1], we have noticed that libtest-log4perl-perl could not be built reproducibly. The attached patch removes extra timestamps from the build system and ensure a stable file order when creating the source archive. Once applied, libtest-log4perl-perl can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -ur libtest-log4perl-perl-0.1001/debian/changelog libtest-log4perl-perl-0.1001-new/debian/changelog --- libtest-log4perl-perl-0.1001/debian/changelog 2011-11-16 18:08:28.000000000 +0000 +++ libtest-log4perl-perl-0.1001-new/debian/changelog 2015-04-19 11:04:39.452038603 +0000 @@ -1,3 +1,11 @@ +libtest-log4perl-perl (0.1001-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Set timestamp in manual page to last package change time from + changelog, to make builds reproducible. + + -- Jelmer Vernooij <[email protected]> Sun, 19 Apr 2015 11:04:39 +0000 + libtest-log4perl-perl (0.1001-3) unstable; urgency=medium [ Tim Retout ] diff -ur libtest-log4perl-perl-0.1001/debian/rules libtest-log4perl-perl-0.1001-new/debian/rules --- libtest-log4perl-perl-0.1001/debian/rules 2011-11-16 18:08:28.000000000 +0000 +++ libtest-log4perl-perl-0.1001-new/debian/rules 2015-04-19 11:04:14.003327699 +0000 @@ -1,4 +1,9 @@ #!/usr/bin/make -f +# Set man page timestamp to last package change time. +BUILD_DATE = $(shell dpkg-parsechangelog -S Date) +POD_MAN_DATE = $(shell date -u +"%Y-%m-%d" --date="$(BUILD_DATE)") +export POD_MAN_DATE + %: dh $@
signature.asc
Description: Digital signature

