Source: equivs Version: 2.0.9 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 Debian's “reproducible builds” effort [1], we have noticed that equivs doesn't build reproducibly. The build date is embedded into the manpage. The attached patch fixes this by using the date from the latest changelog entry. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules index 7d54ec4..cb2563f 100755 --- a/debian/rules +++ b/debian/rules @@ -5,9 +5,10 @@ #export DH_VERBOSE=1 PKG := equivs MANPAGES := debian/equivs-control.1 debian/equivs-build.1 +BUILD_DATE = $(shell dpkg-parsechangelog -S Date) %.1: %.pod - pod2man --section=1 --release="$$(date +'%d %b %Y')" \ + pod2man --section=1 --release="$$(LC_ALL=C date -u +'%d %b %Y' -d '$(BUILD_DATE)')" \ --center="Debian/GNU" --date=' ' $< > $@ build-arch:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds