Bug#862676: mp3fs: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon May 15 17:09:42 UTC 2017
Source: mp3fs
Version: 0.91-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 mp3fs could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible_build.patch 2017-05-15 19:06:52.661193324 +0200
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2017-05-15
+
+--- mp3fs-0.91.orig/Makefile.am
++++ mp3fs-0.91/Makefile.am
+@@ -8,7 +8,7 @@ EXTRA_DIST = INSTALL.md README.md mp3fs.
+
+ mp3fs.1: mp3fs.1.txt
+ $(AM_V_GEN)a2x -a revnumber="$(VERSION)" \
+- -a revdate="$(shell date +'%B %Y')" -f manpage $<
++ -a revdate="$(shell LC_ALL=C date --date=@$${SOURCE_DATE_EPOCH:-$(shell date +%s)} +'%B %Y')" -f manpage $<
+
+ # Remove absolutely every generated file
+ .PHONY: squeaky-clean
--- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series 2017-05-15 19:06:51.365189454 +0200
@@ -0,0 +1 @@
+reproducible_build.patch
More information about the pkg-multimedia-maintainers
mailing list