[Reproducible-builds] Bug#798558: libapache-authznetldap-perl: please make the build reproducible
Dhole
dhole at openmailbox.org
Thu Sep 10 13:58:01 UTC 2015
Source: libapache-authznetldap-perl
Version: 0.07-5
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that libapache-authznetldap-perl could not be built reproducibly.
The attached patch sets the embedded date in the man pages generated by
podman to the latest debian/changelog entry timestamp instead of local
date. Once applied, libapache-authznetldap-perl can be built
reproducibly in our current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -Nru libapache-authznetldap-perl-0.07/debian/changelog libapache-authznetldap-perl-0.07/debian/changelog
--- libapache-authznetldap-perl-0.07/debian/changelog 2013-08-20 16:46:19.000000000 +0200
+++ libapache-authznetldap-perl-0.07/debian/changelog 2015-09-10 15:49:27.000000000 +0200
@@ -1,3 +1,12 @@
+libapache-authznetldap-perl (0.07-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Replace timestamp in man pages to latest debian/changelog entry timestamp
+ to make the package build reproducibly.
+
+
+ -- Eduard Sanou <dhole at openmailbox.org> Thu, 10 Sep 2015 15:49:08 +0200
+
libapache-authznetldap-perl (0.07-5) unstable; urgency=low
* Team upload.
diff -Nru libapache-authznetldap-perl-0.07/debian/rules libapache-authznetldap-perl-0.07/debian/rules
--- libapache-authznetldap-perl-0.07/debian/rules 2013-08-20 16:46:19.000000000 +0200
+++ libapache-authznetldap-perl-0.07/debian/rules 2015-09-10 15:48:55.000000000 +0200
@@ -1,4 +1,7 @@
#!/usr/bin/make -f
+SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%s)
+export POD_MAN_DATE = $(shell date -u +"%Y-%m-%d" --date="@$(SOURCE_DATE_EPOCH)")
+
%:
dh $@
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150910/2bcec7d0/attachment.sig>
More information about the Reproducible-builds
mailing list